TwentyDEV icon

TwentyDEV

Consume the Twenty API

Actions252

Overview

This node allows you to delete a single task by specifying its unique identifier. It is useful in workflows where you need to programmatically remove tasks from a system, such as cleaning up completed or obsolete tasks, automating task management, or integrating with external task tracking services.

For example, you might use this node to delete a task after it has been marked as done in another system, ensuring your task list stays current without manual intervention.

Properties

Name Meaning
Id The unique identifier of the task to be deleted. This is a required string value.

Output

The output will typically contain JSON data reflecting the result of the deletion operation. This may include confirmation of successful deletion or details about the deleted task. The exact structure depends on the API response but generally confirms that the specified task was removed.

No binary data output is expected from this operation.

Dependencies

  • Requires an API key credential for authentication to the external service.
  • Needs proper configuration of the API base URL and authentication credentials within n8n.
  • Depends on the external Twenty API (or similar) to perform the delete operation.

Troubleshooting

  • Missing or invalid Id: Ensure the "Id" property is provided and correctly references an existing task. An invalid or missing Id will cause the deletion to fail.
  • Authentication errors: Verify that the API key or authentication token is correctly configured and has sufficient permissions to delete tasks.
  • Network or API errors: Check connectivity and API availability. Rate limits or server errors from the external service can cause failures.
  • Error messages: Common error responses might indicate "Not Found" if the task does not exist, or "Unauthorized" if credentials are invalid. Address these by verifying input values and credentials.

Links and References

  • Refer to the official API documentation of the external task management service for detailed information on the delete task endpoint.
  • n8n documentation on managing credentials and HTTP request nodes for further customization.

Discussion