Steps
- Create a webhook for the project.
- Choose one target: agent, job, or workflow.
- Configure the source system with the webhook URL and secret.
- Add a filter when only some events should run.
- Test the webhook and inspect the target run.
Try it with REST
Create a webhook that runs an agent for opened pull requests:POST /projects/{project_reference}/webhooks
Terminal
API surfaces
Verify
Send a test event from the source system. Open the webhook delivery and confirm it created a target run.How webhooks work
Ignored events are stored without creating a run. Webhooks do not create conversations.
Target kinds
Each webhook has one target.Prompt template
The prompt template tells the target what to do with the event.Filter
A filter decides whether an incoming event starts a run.Operate webhooks
- Confirm the source system uses the current webhook URL and secret.
- Check accepted, ignored, and failed deliveries.
- Open the target run from an accepted event.
- Replay failed events after fixing the webhook, target, or source configuration.