Executes a workflow using its associated trigger. Supports two execution modes:
Asynchronous (default): Set x-api-wait: false or omit the header. Returns immediately with an empty (null) response body. The workflow run ID is returned in the X-Pf-Run-Id response header — use it to poll for results.
Synchronous: Set x-api-wait: true. Waits up to 60 seconds for the workflow to complete. If it finishes in time, the response body contains the full results. If it times out, returns a timeout message with the run ID.
Documentation Index
Fetch the complete documentation index at: https://docs.pinkfish.ai/llms.txt
Use this file to discover all available pages before exploring further.
Set to true for synchronous execution (waits up to 60 seconds for results). Set to false or omit for asynchronous (fire-and-forget) execution.
true, false The unique identifier of the trigger
Optional query parameter for the trigger
The body is of type object.
Workflow triggered successfully.
Async mode (x-api-wait: false): Response body is null. Use the X-Pf-Run-Id and X-Pf-Automation-Id headers to poll for results.
Sync mode (x-api-wait: true): Response body contains the full workflow results if completed within 60 seconds, or a timeout message with the run ID.