Trigger Workflows from webhooks

POST/v1/metronomes/webhook/inbound

Provider-aware webhook endpoint for published Workflows. GitHub, GitLab, Slack, and generic JSON requests are normalized into one event contract and matched against the Webhook node's provider, event, source, branch, actor, action, and payload filters. The workflowId and nodeId query parameters scope delivery to the URL copied from the workflow editor. When METRONOME_WEBHOOK_SECRET is configured, callers must provide the matching Computer Agents secret or a valid provider-native signature.

How to call this endpoint

Every ACP API request uses bearer authentication. The examples here show the actual request path, auth header, and body shape that the platform expects.

Path, query, and header parameters

These parameters control which ACP object the endpoint acts on and how the request is processed.

Path parameters
None.
Query parameters
NameLocationTypeRequiredDescription
workflowIdquerystringYesTarget one published Workflow. Included in URLs copied from the workflow editor.
nodeIdquerystringYesTarget one Webhook trigger node. Included in URLs copied from the workflow editor.
Header parameters
NameLocationTypeRequiredDescription
x-computer-agents-webhook-providerheaderwebhook | github | gitlab | slackNoProvider hint for generic clients. Inferred for GitHub, GitLab, and Slack.
x-computer-agents-webhook-eventheaderstringNoEvent name for generic webhook clients.
x-computer-agents-webhook-idheaderstringNoStable delivery ID used for idempotency.
x-computer-agents-webhook-secretheaderstringNo

Body schema

Content type: application/json · Required

None.

What the API returns

Each response code below includes the documented payload shape for the ACP API.

200Inbound webhook processedapplication/json
FieldTypeRequiredDescription
successbooleanNoWhether the request succeeded.
objectstringNo
providerwebhook | github | gitlab | slackNo
matched_countintegerNo
dataobject[]No
400Invalid inbound webhook payload
None.
401Invalid webhook secret or provider signature
None.
Trigger Workflows from webhooks
Loading...
Response 200
Loading...
See the ACP quickstart and SDK flow