Skip to main content

Upload File and Run Workflow

POST 

/api/automation/workflows/:workflow/upload-and-run

Upload a file to a published workflow that has a File Upload trigger as its entry node, and run the workflow against it. The request is a multipart/form-data upload with a single file field.

Authorization

Any valid API token can call this endpoint — no specific scope required. Manage tokens.

The run is queued asynchronously and the response returns 202 with an idempotencyKey that identifies the resulting execution - filter List Workflow Executions by filter[search] on that key to track it.

Returns 422 when the workflow is not published, has no File Upload trigger, or the file fails the trigger's format validation.

Path param: workflow = workflow id.

Request

Responses

Accepted

Response Headers
    Content-Type