Actions27
- Project Actions
- Project Task Actions
- User Actions
- Company Actions
Overview
The node integrates with the awork API to automate workflows related to project tasks. Specifically, for the "Project Task" resource and the "Set Task Assignee" operation, it allows users to assign a specific user to a given task by specifying the task ID and the user ID. This is useful in project management scenarios where tasks need to be dynamically reassigned or assigned during automation processes, such as when a task is created or its status changes.
Practical examples include:
- Automatically assigning a newly created task to a team member based on workload.
- Reassigning tasks when a user leaves a project or company.
- Setting task assignees as part of a larger workflow that manages project progress.
Properties
| Name | Meaning |
|---|---|
| Task ID | The unique identifier of the task to which the assignee will be set. This is required. |
| User ID | The unique identifier of the user who will be assigned to the task. |
Output
The node outputs JSON data representing the updated task after setting the assignee. This typically includes details about the task such as its ID, current assignee information, status, and other metadata returned by the awork API. There is no indication that binary data is output by this node.
Dependencies
- Requires an API key credential for authenticating with the awork API.
- The node makes HTTP requests to
https://api.awork.com. - Proper configuration of the API key credential within n8n is necessary for successful execution.
Troubleshooting
Common issues:
- Invalid or missing Task ID or User ID will cause the API call to fail.
- Authentication errors if the API key credential is not configured correctly.
- Network connectivity issues preventing access to the awork API endpoint.
Error messages and resolutions:
- "Unauthorized" or "Authentication failed": Verify that the API key credential is valid and properly set up.
- "Task not found": Check that the provided Task ID exists and is correct.
- "User not found": Ensure the User ID corresponds to a valid user in the awork system.
- "Bad Request": Confirm that all required parameters are provided and correctly formatted.