Execution created
agent.execution.created
Fired when a new agent execution starts.Execution updated
agent.execution.updated
Fired whenever an execution advances (node transition, tool result, etc.).Execution completed
agent.execution.completed
Fired when an agent finishes successfully.Execution failed
agent.execution.failed
Fired when an execution fails (timeout, tool failure, runtime error).Headers
Agent webhooks include the same headers as WhatsApp webhooks:Sample payload
Best practices
- Store
X-Idempotency-Key
to avoid processing duplicate events. - Verify the HMAC signature before trusting the payload.
- Return a
2xx
HTTP status quickly; heavy processing should be done asynchronously. - Use separate endpoints for agent vs WhatsApp webhooks for observability.