TwentyDEV icon

TwentyDEV

Consume the Twenty API

Actions252

Overview

This node operation deletes a single message folder identified by its unique ID. It is useful in scenarios where you want to programmatically remove a specific message folder from a messaging or email system integrated via the Twenty API. For example, you might use this node to clean up unused or obsolete folders automatically as part of a workflow.

Properties

Name Meaning
Id The unique identifier of the message folder 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 specified message folder. This may include status information or confirmation details. The node does not output binary data.

Dependencies

  • Requires an API key credential for authenticating with the Twenty API.
  • The node uses the Twenty API base URL configured via credentials.
  • The node depends on the @devlikeapro/n8n-openapi-node package and the bundled OpenAPI specification (twenty-v1.0.3-openapi.json) for request building.

Troubleshooting

  • Invalid or missing Id: If the provided folder ID is incorrect or missing, the API will likely return an error indicating that the resource was not found. Ensure the ID is correct and exists.
  • Authentication errors: If the API key or domain credentials are invalid or missing, authentication will fail. Verify that the credentials are correctly set up in n8n.
  • API rate limits or connectivity issues: Network problems or hitting API rate limits can cause failures. Check network connectivity and API usage quotas.
  • Permission issues: The authenticated user must have permission to delete message folders. Lack of permissions will result in authorization errors.

Links and References

Discussion