Actions252
- Api Keys Actions
- Attachments Actions
- Blocklists Actions
- Calendar Channel Event Associations Actions
- Find Many Calendar Channel Event Associations
- Create One Calendar Channel Event Association
- Create Many Calendar Channel Event Associations
- Find One Calendar Channel Event Association
- Delete One Calendar Channel Event Association
- Update One Calendar Channel Event Association
- Find Calendar Channel Event Association Duplicates
- Companies Actions
- Calendar Channels Actions
- Calendar Event Participants Actions
- Calendar Events Actions
- Connected Accounts Actions
- Favorite Folders Actions
- Favorites Actions
- Message Channel Message Associations Actions
- Find Many Message Channel Message Associations
- Create One Message Channel Message Association
- Create Many Message Channel Message Associations
- Find One Message Channel Message Association
- Delete One Message Channel Message Association
- Update One Message Channel Message Association
- Find Message Channel Message Association Duplicates
- Message Channels Actions
- Message Folders Actions
- View Fields Actions
- Message Participants Actions
- Messages Actions
- Message Threads Actions
- Notes Actions
- Note Targets Actions
- Opportunities Actions
- People Actions
- Tasks Actions
- Task Targets Actions
- Timeline Activities Actions
- View Filter Groups Actions
- View Filters Actions
- View Groups Actions
- Views Actions
- View Sorts Actions
- Webhooks Actions
- Workflow Automated Triggers Actions
- Workflow Runs Actions
- Workflows Actions
- Workflow Versions Actions
- Workspace Members Actions
Overview
The node interacts with the "Workflow Versions" resource to find duplicate workflow versions based on specified criteria. It allows users to specify filters and parameters to identify duplicates among workflow versions, which is useful for managing and cleaning up multiple versions of workflows in an automation environment.
Common scenarios include:
- Identifying redundant or duplicate workflow versions to maintain a clean and efficient workflow repository.
- Auditing workflow versions by status or name to ensure consistency.
- Automating cleanup processes by detecting duplicates programmatically.
For example, a user might want to find all draft workflow versions that share the same name to decide which ones to archive or delete.
Properties
| Name | Meaning |
|---|---|
| Depth | Determines how much related nested data to include in the response: - 0: Only primary workflow version information. - 1: Primary object plus directly related objects. - 2: Includes related objects of related objects as well. |
| Data | JSON array specifying filter criteria for workflow versions, e.g., status and name. Example:json<br>[{"status": "DRAFT", "name": "Workflow Version name"}]<br> |
| Ids | JSON array of workflow version IDs to limit the search scope. Example:json<br>[null]<br> (can be replaced with specific IDs) |
Output
The node outputs JSON data containing the found duplicate workflow versions according to the specified filters and depth level. The structure includes the primary workflow version objects and their related nested objects depending on the depth parameter.
If binary data were involved, it would typically represent attachments or files related to workflow versions, but this node focuses on JSON data only.
Dependencies
- Requires an API key credential to authenticate requests to the external Twenty API service.
- The node uses the Twenty API base URL configured via credentials.
- No additional environment variables are explicitly required beyond standard API authentication.
Troubleshooting
- Invalid JSON in Data or Ids properties: Since these fields expect JSON input, malformed JSON will cause errors. Ensure valid JSON syntax.
- Authentication errors: If the API key or domain is misconfigured, the node will fail to connect. Verify credentials and endpoint settings.
- No duplicates found: This may indicate that the filter criteria are too restrictive or incorrect. Try broadening the filters or checking the input data.
- Depth parameter misuse: Setting depth too high may result in large responses or slow performance. Use appropriate depth levels based on needs.
Links and References
- Twenty API Documentation (for understanding the underlying API endpoints)
- n8n Documentation on Creating Custom Nodes