Execution created
agent.execution.createdFired when a new agent execution starts.Execution updated
agent.execution.updatedFired whenever an execution advances (node transition, tool result, etc.).Execution completed
agent.execution.completedFired when an agent finishes successfully.Execution failed
agent.execution.failedFired 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-Keyto avoid processing duplicate events. - Verify the HMAC signature before trusting the payload.
- Return a
2xxHTTP status quickly; heavy processing should be done asynchronously. - Use separate endpoints for agent vs WhatsApp webhooks for observability.

