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)
Open the workflow
Navigate to Workflow Studio at
/workflow/{workflow_id} for the graph you want to trigger.Open the Inbound tab
In the workflow configuration panel, select Inbound. This tab lists subscriptions for this workflow only.
Name the subscription
Enter a label (for example
shopify-fulfillment or weekly-cron). Names appear in Settings → Inbound webhooks too.Select automation API key
Choose an existing key from the dropdown. Create one first under Settings → API keys if the list is empty.
PAT paste fallback
If the BFF cannot read the PAT secret from Vault (legacy key, Vault unavailable, orpat_secret_not_in_vault), 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 optional automation_bearer field.
Path B — Settings (workspace-wide)
Open Settings → Inbound webhooks
Go to
/settings?tab=inboundWebhooks for a workspace-wide list of all subscriptions.Path C — Autopilot Chat wizard
When you ask Autopilot to trigger a workflow from external events, Chat may render an Inbound webhook card: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.”After creation
| Item | Notes |
|---|---|
| Signing secret | Shown once. Store in your secrets manager. Used for X-Agentruntime-Signature. |
| Ingress URL | Public POST target. Body becomes workflow input. |
| Automation PAT | Must be sent on every ingress request. Tied to the subscription at create time. |
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