create_conditional_trigger
Create a conditional trigger that periodically evaluates a plain-language condition and activates a workflow when the condition is met.
Instructions
Create a conditional trigger on a workflow: an agent checks conditionText every repeatIntervalMinutes and fires the workflow when it is met.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agentId | Yes | The agent that evaluates the condition. | |
| enabled | No | Defaults to true. | |
| triggerId | Yes | The id of the trigger node in the workflow document. | |
| workflowId | Yes | The workflow's id. | |
| conditionText | Yes | The condition, in plain language. | |
| repeatIntervalMinutes | Yes | How often to re-check, in minutes (5 to 10080). |