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 users to create a new automated trigger for a workflow. Automated triggers enable workflows to start automatically based on specific events or schedules without manual intervention. This is particularly useful for automating repetitive tasks, integrating with external systems, or responding to database changes or scheduled times.
For example:
- Creating a trigger that starts a workflow whenever a database event occurs (e.g., a new record is added).
- Setting up a cron-based trigger to run a workflow at specified intervals (e.g., daily data synchronization).
Properties
| Name | Meaning |
|---|---|
| Depth | Determines how much related object information to include in the response: - 0: Only primary object's info. - 1: Primary object + directly related objects. - 2: Primary + related objects + their related objects. |
| Type | The type of automated trigger to create. Options are: - DATABASE EVENT - CRON |
| Settings | JSON object containing the settings specific to the chosen trigger type. For example, cron schedule details or database event filters. |
| Workflow Id | The identifier of the workflow to which this automated trigger will be attached. |
Output
The node outputs a JSON object representing the newly created workflow automated trigger. This includes all relevant details such as its ID, type, settings, and any related nested objects depending on the Depth parameter.
No binary data output is involved.
Dependencies
- Requires an API key credential to authenticate requests to the external service managing workflow triggers.
- The base URL for the API is configured via credentials.
- The node uses HTTP requests with JSON payloads to interact with the API.
Troubleshooting
- Invalid JSON in Settings: Since the
Settingsproperty expects a JSON string parsed into an object, invalid JSON syntax will cause errors. Ensure the JSON is well-formed. - Missing Required Fields: The
TypeandSettingsfields are mandatory. Omitting them will result in request failures. - Incorrect Workflow Id: Providing an invalid or non-existent workflow ID may cause the API to reject the creation request.
- API Authentication Errors: Ensure the API key credential is correctly set up and has sufficient permissions.
- Depth Parameter Misuse: Using a higher depth level may increase response size and latency; use appropriately.
Links and References
- Cron Expression Tutorial — Useful for configuring cron trigger settings.
- API documentation for the external service managing workflow triggers (not provided here).