Trigger runs via Webhook
You can now trigger RWX runs from third party webhooks. When a critical alert fires in PagerDuty or Datadog, kick off an RWX run to analyze the incident, roll back a deployment, or run any custom automation you need.
First class automation
Getting started is easy.
Webhook triggers are defined as infrastructure as code in the on section of your run definition. The incoming webhook data is captured in initialization parameters that your tasks can access.
Here's an example PagerDuty webhook trigger with signature verification:
on:webhook:key: test-webhookinit:headers: ${{ event.webhook.headers }}body: ${{ event.webhook.body }}tasks:# continued below...
Most webhook providers offer signature verification to ensure requests are authentic. Here we use the pagerduty/verify-signature RWX package. Consult your provider's documentation for their specific verification method.
- key: verify-signaturecall: pagerduty/verify-signature 1.0.0with:body: ${{ init.body }}headers: ${{ init.headers }}secret: ${{ vaults.your-vault.secrets.pagerduty-webhook-secret }}
After the payload is verified, we can perform our automation:
- key: automationafter: verify-signaturecache: falserun: |MESSAGE=$(echo "$BODY" | jq -r '.event.data.message')echo "$MESSAGE"env:BODY: ${{ init.body }}
Once you've pushed your webhook trigger definition, navigate to the RWX runs page and choose "Manage webhooks" from the "Managed Triggers" dropdown. Select your webhook definition to view its URL and token.
Finally, configure your third party webhook provider to POST to the webhook URL with your token in an HTTP header named x-rwx-webhook-token.
To learn more, check out the webhook triggers documentation.
Demo
RWX makes it easy to build, test, and deploy automation workflows. Engineering teams already run automation on RWX via crons and manual dispatches — now you can trigger runs via webhooks, too.
Never miss an update
Get the latest releases and news about RWX with our newsletter.
Never miss an update
Get the latest releases and news about RWX with our newsletter.
Related posts

November 5, 2026
Entire and RWX: rethinking source control and CI together
Entire now supports running CI through RWX, pairing Trails with RWX's DAG-based execution model and automatic caching.

October 28, 2026
Better UX for managing changes via Terraform
How the RWX Terraform provider flags resources it manages and catches permission errors at plan time instead of apply.
