Create a new interval-based schedule that executes a webhook or workflow at regular intervals
| Field | Type | Required | Description |
|---|---|---|---|
interval_value | integer | Yes | Number of time units between executions (must be > 0) |
is_one_off_task | boolean | Yes | Set to true if the schedule should run only once, false for recurring execution |
interval_period | string | Yes | Unit of time: "second", "minute", or "hour" |
schedule_to | string | Yes | Target type: "webhook" or "workflow" |
model_to_schedule_uuid | string | Yes | UUID of the webhook or workflow template to schedule (as per schedule_to) |
initial_context_template | object | No | Key-value pairs passed as {{ initial.key }} variables to the webhook/workflow |
| Field | Type | Description |
|---|---|---|
success | boolean | Indicates if the schedule was created successfully |
details | string | Success message |
"second": Execute every N seconds (e.g., every 5 seconds)"minute": Execute every N minutes (e.g., every 15 minutes)"hour": Execute every N hours (e.g., every 2 hours)initial_context_template object allows you to pass variables to your webhook or workflow that can be accessed using {{ initial.key }} syntax:
{{ initial.key }} will be replaced with the value{{ initial.key }} can be used in header values{{ initial.key }} can be used in query parameters{{ initial.key }} can be used in URL paths{{ #secret_key }} for vault secrets{{ step.response.variable }} in workflowsAPI key for authentication. Get this from your dashboard by selecting a brand and going to API Keys section.
Brand UUID for authentication. Get this from your dashboard after adding a brand - it will be displayed in the UI.
Interval schedule configuration
Number of time units between executions (must be > 0)
x >= 1Unit of time: 'second', 'minute', or 'hour'
second, minute, hour Target type: 'webhook' or 'workflow'
webhook, workflow UUID of the webhook or workflow template to schedule
Key-value pairs passed as {{ initial.key }} variables to the webhook/workflow