TwentyDEV icon

TwentyDEV

Consume the Twenty API

Actions252

Overview

This node allows you to delete a specific version of a workflow by its unique identifier. It is useful in scenarios where you need to manage and clean up old or unwanted workflow versions programmatically, ensuring that only relevant versions remain active or stored. For example, if you have multiple iterations of a workflow and want to remove outdated versions to maintain clarity or reduce clutter, this node can automate that process.

Properties

Name Meaning
Id The unique identifier (object id) of the workflow version to be deleted. This is a required string input.

Output

The node outputs JSON data representing the result of the deletion operation. Typically, this will include confirmation of the deletion or any relevant status information returned by the API. There is no indication that binary data is output by this node.

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 bundled 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 call to delete the workflow version will fail. Ensure the correct object id is supplied.
  • Authentication errors: If the API key credential is missing or invalid, the node will not be able to authenticate with the Twenty API. Verify that the credential is correctly set up.
  • API errors: If the specified workflow version does not exist or has already been deleted, the API may return an error. Check the id value and confirm the version's existence before attempting deletion.
  • Network issues: Connectivity problems with the Twenty API endpoint can cause request failures. Confirm network access and API availability.

Links and References

Discussion