Trigger a workflow via webhook
Executes a workflow using a webhook URL with the API key embedded in the path. Designed for third-party services that cannot set custom headers (Slack, Discord, Linear, Zoom, etc.).
Supports the same two execution modes as the API trigger:
-
Asynchronous (default): Returns immediately with an empty (
null) response body. UseX-Pf-Run-IdandX-Pf-Automation-Idresponse headers to poll for results. -
Synchronous: Set
x-api-wait: true. Waits up to 60 seconds for results.
Note: Webhook triggers support JSON and form-encoded data only. File attachments are not supported.
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.
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 API key for authentication (embedded in URL)
The unique identifier of 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.

