Run a workflow
Runs a workflow asynchronously and returns a job OId to track execution.
The workflow’s starting node (the node with no incoming edges) determines which agent runs first. Any additional fields in the request body beyond workflowOId and callbackUrl are forwarded as input to that starting node’s agent.
The required input fields depend on the agent type configured on the workflow’s starting node. Refer to the Run Agent (/async/agent/run) endpoint documentation for the input schema of each agent type.
How Workflow Input Works
Unlike the Run Agent endpoint where you explicitly choose which agent type to run, a workflow’s agent type is determined by its graph definition. The entry node of the workflow dictates what input fields are expected. Any fields you include in the request body beyondworkflowOId and callbackUrl are forwarded as agentInputData to the workflow’s starting agent node.
Determining Required Fields
- Open your workflow in the Octave dashboard
- Identify the entry node and its agent type
- Refer to the corresponding agent documentation for the expected input fields
Example: Workflow Starting with Enrich Person
If your workflow’s entry node is an Enrich Person agent, include person identification fields:Example: Workflow Starting with Content Agent
If your workflow’s entry node is a Content agent, include person/company context and optional output configuration:Agent Input Reference
See the individual agent endpoints for the full list of fields each agent type accepts:- Enrich Person Agent
- Enrich Company Agent
- Content Agent
- Sequence Agent
- Prospector Agent
- Qualify Person Agent
- Qualify Company Agent
- Call Prep Agent
Authorizations
Body
Workflow execution input. Additional properties beyond workflowOId and callbackUrl are passed as input to the starting node's agent. See /async/agent/run for agent-specific input schemas.
The OId of the workflow to run
1"caw_3rgkoHhR00cEdE9DjKeIK"
Optional callback URL. If provided, results are POSTed to this URL on completion. If omitted, poll GET /workflows/run/status with the returned jobOId instead.
"https://example.com/callback"