TwentyDEV icon

TwentyDEV

Consume the Twenty API

Actions252

Overview

This node allows you to delete a specific workflow by its unique identifier. It is useful in automation scenarios where you need to programmatically remove workflows that are no longer needed or to clean up outdated or test workflows. For example, if you have a list of workflows and want to delete one based on user input or an external trigger, this node can perform that deletion efficiently.

Properties

Name Meaning
Id The unique identifier (object id) of the workflow to delete

Output

The output JSON will typically contain the response from the API confirming the deletion of the specified workflow. This may include status information or details about the deleted workflow. There is no binary data output for this operation.

Dependencies

  • Requires an API key credential to authenticate with the Twenty API.
  • The node uses the Twenty API base URL configured via credentials.
  • Proper permissions to delete workflows must be granted by the API token used.

Troubleshooting

  • Invalid or missing Id: If the provided workflow Id is incorrect or not found, the API will likely return an error indicating the workflow does not exist. Verify the Id before running the node.
  • Authentication errors: Ensure the API key credential is valid and has permission to delete workflows.
  • Network issues: Connectivity problems with the API endpoint can cause failures; check network access and API availability.
  • Permission denied: The API token might lack sufficient rights to delete workflows; verify the token scopes.

Links and References

Discussion