[Beta] Create a workflow. Use when managing deterministic workflow definitions and triggering or inspecting their runs.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Workflow name
1What starts the workflow. Use "manual-trigger" for on-demand execution, "ai-trigger" for AI-initiated, "webhook" for external HTTP triggers, "cron-trigger" for scheduled runs, or event-based triggers like "ticket-created", "contact-created", etc.
manual-trigger, ai-trigger, cron-trigger, form-trigger, webhook, contact-created, phone-call-started, phone-call-finished, ticket-created, ticket-reassigned, ticket-resolved, ticket-handoff, pre-ticket-handoff, ticket-tag-added, ticket-inactive, sequence-completed, csat-score-submit, prohibited-topic-detected, sla-first-reply-breached, sla-next-reply-breached, sla-resolution-breached, voice-call-transferred, pre-voice-call-transfer, pre-phone-call-finished, manual-ticket-trigger Array of workflow steps and control-flow blocks. Each step is an object with { "$kind": "Action", "id": "
Workflow description
Trigger-specific configuration (e.g. cron expression for cron-trigger)
JSON Logic constraints that must be satisfied for the trigger to fire
React Flow editor state (nodes, edges, viewport) for the dashboard visual editor
Default Response
Version serial ID
Workflow UUID (groups all versions of the same workflow)
Workflow name
Workflow description
Whether this version is currently active
Trigger type: "manual-trigger", "ai-trigger", "cron-trigger", "webhook", "form-trigger", or event-based triggers
Version number (increments with each edit)
Workflow step/block definitions
Trigger-specific configuration
Trigger constraint rules (JSON Logic)
Trigger URL for webhook-type workflows. Call this URL (POST) to trigger the workflow. Null for non-webhook workflows.