Create a one-time scheduled task that executes a webhook or workflow at a specific date and time
| Field | Type | Required | Description |
|---|---|---|---|
clocked_run_at | string | Yes | ISO 8601 datetime string for when to execute (e.g., "2024-12-25T00:00:00Z") |
clocked_timezone | string | Yes | IANA timezone identifier (use Get Timezone Options to get valid values) |
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 |
clocked_run_at field accepts ISO 8601 datetime strings:
YYYY-MM-DDTHH:mm:ssZ or YYYY-MM-DDTHH:mm:ss+HH:mm"2024-12-25T00:00:00Z" - UTC timezone"2024-12-25T00:00:00+05:30" - With timezone offset"2024-12-25T09:30:00Z" - Specific timeclocked_timezone is used to interpret the datetime if no timezone is specified in the string.
"completed". The is_one_off_task field is not required for clocked schedules as they are always one-time executions.
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.
Clocked schedule configuration
ISO 8601 datetime string for when to execute
IANA timezone identifier
Whether this is a one-time task
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