TwentyDEV icon

TwentyDEV

Consume the Twenty API

Actions252

Overview

This node operation deletes a single timeline activity by its unique identifier. It is useful in scenarios where you need to remove specific activities from a timeline, such as cleaning up outdated or incorrect entries in a project management or social feed context.

For example, if you have an automated workflow that tracks user actions or events and you want to retract or delete one of those recorded activities based on certain conditions, this operation allows you to do so by specifying the activity's ID.

Properties

Name Meaning
Id The unique identifier of the timeline activity to delete. This is a required string value representing the object id.

Output

The output JSON will typically contain the response from the API confirming the deletion of the timeline activity. This may include status information or details about the deleted object. No binary data output is expected for this operation.

Dependencies

  • Requires an API key credential to authenticate requests to the external service.
  • The node uses a base URL configured via credentials to connect to the Twenty API.
  • The node depends on the @devlikeapro/n8n-openapi-node package and a local OpenAPI specification file (twenty-v1.0.3-openapi.json) to build its properties and handle requests.

Troubleshooting

  • Missing or invalid Id: If the "Id" property is not provided or is incorrect, the API will likely return an error indicating that the resource could not be found or the request is malformed. Ensure the Id is correct and corresponds to an existing timeline activity.
  • Authentication errors: If the API key or authentication token is missing or invalid, the node will fail to connect. Verify that the credentials are correctly set up in n8n.
  • Network or API errors: Issues like timeouts or server errors can occur. Check network connectivity and API service status.
  • Permission issues: The authenticated user must have permission to delete timeline activities; otherwise, the API will reject the request.

Links and References

Discussion