TwentyDEV icon

TwentyDEV

Consume the Twenty API

Actions252

Overview

This node allows you to delete a single message by its unique identifier. It is useful in scenarios where you need to programmatically remove specific messages from a system or service, such as cleaning up outdated notifications, retracting sent messages, or managing message lifecycles automatically.

For example, if you have a workflow that processes incoming messages and determines some should be deleted based on certain criteria, this node can be used to delete those messages by specifying their IDs.

Properties

Name Meaning
Id The unique identifier of the message to delete. This is a required string value representing the object ID of the message.

Output

The output will typically contain JSON data indicating the result of the delete operation. This may include confirmation of deletion or status information returned by the API. No binary data output is expected.

Dependencies

  • Requires an API key credential for authentication with the external Twenty API service.
  • The node uses the Twenty API base URL configured via credentials.
  • The node depends on the @devlikeapro/n8n-openapi-node package and a local OpenAPI specification file for request building.

Troubleshooting

  • Missing or invalid Id: Ensure the "Id" property is provided and correctly references an existing message.
  • Authentication errors: Verify that the API key credential is correctly set up and has sufficient permissions to delete messages.
  • Network or API errors: Check connectivity to the Twenty API endpoint and confirm the API service is operational.
  • Permission denied: The authenticated user might not have rights to delete the specified message; verify user permissions.

Links and References

Discussion