Actions26
- Project Actions
- Project Task Actions
- User Actions
- Company Actions
Overview
The "Add Task to Task List" operation for the Project Task resource in this n8n node allows you to move or add an existing task to a specific task list within a project in Awork. This is useful for organizing tasks, restructuring workflows, or automating the process of categorizing tasks as projects evolve.
Common scenarios:
- Automatically moving tasks to different lists based on status changes.
- Organizing new tasks into appropriate lists upon creation.
- Batch-updating task organization as part of workflow automation.
Example:
When a task's priority is updated, you can use this operation to move it to a "High Priority" task list automatically.
Properties
| Display Name | Type | Meaning |
|---|---|---|
| Project ID | String | The unique identifier of the project containing the task and task list. |
| Task ID | String | The unique identifier of the task you want to add or move. |
| Task List ID | String | The identifier of the target task list where the task will be added. |
Output
The output will typically include a json field containing information about the result of the operation. While the exact structure depends on the Awork API response, you can expect confirmation that the task has been added to the specified task list, possibly including:
- Task ID
- Task List ID
- Status or success message
Example output:
{
"taskId": "12345",
"taskListId": "67890",
"status": "success"
}
If binary data is returned (unlikely for this operation), it would represent file attachments or similar content related to the task.
Dependencies
- External Service: Requires access to the Awork API.
- API Key: You must configure valid Awork API credentials in n8n under the name
aworkApi. - n8n Configuration: Ensure the node is properly authenticated and the base URL (
https://api.awork.com) is accessible from your n8n instance.
Troubleshooting
Common issues:
- Invalid IDs: If you provide incorrect or non-existent Project ID, Task ID, or Task List ID, the operation will fail.
- Missing Credentials: If the
aworkApicredential is not set up or is invalid, authentication errors will occur. - Permissions: The API key used must have sufficient permissions to modify tasks and task lists.
Possible error messages:
"Project not found": Check the Project ID."Task not found": Verify the Task ID."Task list not found": Confirm the Task List ID."Unauthorized": Ensure your API credentials are correct and have the necessary permissions.
How to resolve:
- Double-check all input IDs.
- Make sure your Awork API credentials are correctly configured in n8n.
- Ensure your user account has the required permissions in Awork.