Trigger a workflow
Endpoints
Trigger a workflow
Start a workflow run with the POST /runs endpoint
POST
Trigger a workflow
Overview
Use thePOST /runs endpoint to trigger a workflow run. This endpoint accepts inputs that match your workflow’s Start Node configuration and returns a run object with status and tracking information.
Request
The UUID of your workflow. Found in your workflow’s URL.
Input data for your workflow. Must exactly match the parameters defined in your Start Node.Important: The keys and types must match your Start Node configuration exactly, or the request will fail.
Example Request
Response
Unique identifier for this workflow run
Version of the workflow that was executed
Current status of the run. Possible values:
PENDING, RUNNING, FINISHED,
FAILEDTimestamp when the run was created
Total number of steps in the workflow
Number of steps completed so far
The workflow’s output data (only available when status is
FINISHED)Input requirements
Theinputs object must exactly match your Start Node configuration.
Example
If your Start Node expects:customerName(string)invoicePdf(document)
Sending documents
Files must be base64-encoded with the appropriate data URI prefix.JavaScript helper
Next steps
Get run status
Learn how to check the status and retrieve results of a workflow run