Actions252
- Api Keys Actions
- Attachments Actions
- Blocklists Actions
- Calendar Channel Event Associations Actions
- Find Many Calendar Channel Event Associations
- Create One Calendar Channel Event Association
- Create Many Calendar Channel Event Associations
- Find One Calendar Channel Event Association
- Delete One Calendar Channel Event Association
- Update One Calendar Channel Event Association
- Find Calendar Channel Event Association Duplicates
- Companies Actions
- Calendar Channels Actions
- Calendar Event Participants Actions
- Calendar Events Actions
- Connected Accounts Actions
- Favorite Folders Actions
- Favorites Actions
- Message Channel Message Associations Actions
- Find Many Message Channel Message Associations
- Create One Message Channel Message Association
- Create Many Message Channel Message Associations
- Find One Message Channel Message Association
- Delete One Message Channel Message Association
- Update One Message Channel Message Association
- Find Message Channel Message Association Duplicates
- Message Channels Actions
- Message Folders Actions
- View Fields Actions
- Message Participants Actions
- Messages Actions
- Message Threads Actions
- Notes Actions
- Note Targets Actions
- Opportunities Actions
- People Actions
- Tasks Actions
- Task Targets Actions
- Timeline Activities Actions
- View Filter Groups Actions
- View Filters Actions
- View Groups Actions
- Views Actions
- View Sorts Actions
- Webhooks Actions
- Workflow Automated Triggers Actions
- Workflow Runs Actions
- Workflows Actions
- Workflow Versions Actions
- Workspace Members Actions
Overview
This node operation updates a single task in the connected system via the Twenty API. It allows users to modify various attributes of an existing task by specifying its unique identifier and providing new values for one or more fields. This is useful in workflows where task details need to be programmatically changed, such as updating status after completion, changing assignees, adjusting due dates, or modifying task descriptions.
Practical examples include:
- Automatically marking a task as "DONE" when a related process finishes.
- Changing the assignee of a task based on workload distribution.
- Updating the task's position or priority dynamically.
- Modifying the task title or body content based on external inputs.
Properties
| Name | Meaning |
|---|---|
| Id | The unique identifier of the task to update. This is required to specify which task record will be modified. |
| Depth | Determines how much nested related object data to include in the response: 0 returns only the primary task info; 1 includes directly related objects; 2 includes related objects of those related objects. |
| Body | The main textual content or description of the task. |
| Title | The title or name of the task. |
| Position | Numeric value indicating the task's position or order among other tasks. |
| Assignee Id | Identifier of the user assigned to the task. |
| Created By | JSON object describing the creator of the task record. |
| Status | Current status of the task. Options are: "TODO", "IN PROGRESS", or "DONE". |
| Due At | Due date/time string indicating when the task should be completed. |
| Body V 2 | Alternative JSON-formatted body content for the task, allowing richer or structured data than the plain text "Body" field. |
Output
The node outputs the updated task object in JSON format. The structure reflects the task's properties including any nested related objects depending on the Depth parameter. This output can be used downstream in the workflow for further processing or logging.
If binary data were involved (not indicated here), it would typically represent attachments or files related to the task, but this node focuses on JSON data.
Dependencies
- Requires an active connection to the Twenty API with appropriate authentication credentials (e.g., an API key or token).
- The node expects the base URL and authentication details to be configured in n8n credentials.
- No additional external dependencies beyond the Twenty API and n8n environment are needed.
Troubleshooting
- Missing or invalid Id: The update operation requires a valid task ID. Ensure the "Id" property is correctly set and corresponds to an existing task.
- Invalid JSON in Created By or Body V 2: These fields expect valid JSON strings. Malformed JSON will cause parsing errors. Validate JSON syntax before input.
- Status value errors: Only "TODO", "IN PROGRESS", or "DONE" are accepted. Using unsupported status values will result in errors.
- API authentication failures: Check that the API credentials are correctly configured and have sufficient permissions to update tasks.
- Network or connectivity issues: Ensure the n8n instance can reach the Twenty API endpoint.
Links and References
- Twenty API Documentation (general reference for the API endpoints and data models)
- n8n documentation on creating and using custom nodes