Before you start
- A saved workflow in Workflow Studio (draft-only graphs cannot subscribe)
- project_contributor role
- At least one API key (PAT) under Settings → API keys — webhooks use this for
Authorization: Bearer pat_…on ingress inbound_webhooksenabled on your deployment (default on)
Path A — Workflow Studio (recommended)
1
Open the workflow
Navigate to Workflow Studio at
/workflow/{workflow_id} for the graph you want to trigger.2
Open the Inbound tab
In the workflow configuration panel, select Inbound. This tab lists subscriptions for this workflow only.
3
Name the subscription
Enter a label (for example
shopify-fulfillment or weekly-cron). Names appear in Settings → Inbound webhooks too.4
Select automation API key
Choose an existing key from the dropdown. Create one first under Settings → API keys if the list is empty.
5
Create
Click create. A dialog shows the signing secret and ingress URL — copy both immediately.
6
Copy curl template
Use the generated curl example to verify HMAC signing and PAT auth before wiring your external system.
PAT paste fallback
If AgentRuntime cannot read the PAT secret automatically (for example, an older key created before secret storage changed), the UI prompts you to paste the PAT secret once. The plaintext is used only for subscription setup and is not shown again. This same fallback appears in Autopilot’s wizard and matches the API’s optionalautomation_bearer field.
Path B — Settings (workspace-wide)
1
Open Settings → Inbound webhooks
Go to
/settings?tab=inboundWebhooks for a workspace-wide list of all subscriptions.2
Review and delete
Use this view to audit subscriptions across workflows or remove unused hooks. Creation still requires a workflow context — use Workflow Studio or Autopilot for new subscriptions.
Path C — Autopilot Chat wizard
When you ask Autopilot to trigger a workflow from external events, Chat may render an Inbound webhook card:1
Open a saved workflow
The wizard requires
workflow_id from the workflow open in Studio. If missing, Autopilot shows: “Open a saved workflow in Workflow Studio first.”2
Fill the card
Set Label, pick Automation API key, and click Create webhook.
3
Copy secrets from success state
After creation, the card shows signing secret, ingress URL, and example curl — same as the Studio dialog.
After creation
Test with the curl template, then map your provider’s webhook fields to workflow
input (for example map pull_request.number → pr_number).
Example ingress request
Related
- Inbound webhooks — security model and payload mapping
- API authentication — create PATs
- Guides — recipes that start with webhooks
- Workflow patterns