Trigger a workflow
Executes a workflow using its associated trigger. Supports two execution modes:
-
Asynchronous (default): Set
x-api-wait: falseor omit the header. Returns immediately with an empty (null) response body. The workflow run ID is returned in theX-Pf-Run-Idresponse 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.
Authorizations
Headers
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 Path Parameters
The unique identifier of the trigger
Query Parameters
Optional query parameter for the trigger
Body
The body is of type object.
Response
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.

