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
This node allows updating a single automated trigger associated with a workflow in the TwentyDEV platform. Automated triggers enable workflows to start automatically based on specific events or schedules, such as database changes or cron schedules. This node is useful when you want to modify the configuration of an existing automated trigger, for example, changing its type, adjusting settings, or linking it to a different workflow.
Practical examples:
- Changing a database event trigger to a cron trigger to run a workflow periodically.
- Updating the settings of a cron trigger to change its schedule.
- Modifying which workflow an automated trigger activates.
Properties
| Name | Meaning |
|---|---|
| Id | The unique identifier of the automated trigger to update. |
| Depth | Level of nested related objects to include in the response: 0 (only primary object), 1 (primary + directly related), 2 (primary + related + related of related). |
| Type | The type of the automated trigger. Options: DATABASE EVENT, CRON. |
| Settings | JSON object defining the settings for the automated trigger. |
| Workflow Id | The ID of the workflow that this automated trigger will activate. |
Output
The node outputs the updated automated trigger object in JSON format. The structure includes the primary trigger's details and, depending on the Depth property, may include nested related objects up to two levels deep. This output can be used downstream in the workflow for further processing or logging.
No binary data output is involved.
Dependencies
- Requires an API key credential to authenticate requests to the TwentyDEV API.
- The node uses the base URL provided by the credential's domain configuration.
- No additional external dependencies are required beyond the TwentyDEV API access.
Troubleshooting
- Invalid Id: If the provided Id does not correspond to an existing automated trigger, the API will likely return an error indicating the resource was not found. Verify the Id is correct.
- Malformed JSON in Settings: The
Settingsproperty expects valid JSON. Invalid JSON syntax will cause parsing errors. Ensure the JSON is well-formed. - Unauthorized Access: Missing or invalid API credentials will result in authentication errors. Confirm that the API key credential is correctly configured.
- Unsupported Type: Providing a
Typevalue other than "DATABASE_EVENT" or "CRON" will cause the request to fail. Use only the supported options. - Workflow Id Issues: If the specified workflow ID does not exist or the user lacks permission, the update will fail. Verify the workflow ID and permissions.
Links and References
- TwentyDEV API Documentation (for detailed info on automated triggers)
- n8n Documentation (general guidance on using custom nodes and credentials)