triage-agent in support-assistant.
1. Create the webhook
Create the definition withPOST /projects/{project_reference}/webhooks:
create-webhook.sh
webhook.id as WEBHOOK_DEFINITION_ID. The response also returns webhook_secret once; retain it for sender configuration.
2. Test the webhook
Invoke the definition withPOST /projects/{project_reference}/webhooks/{webhook_definition_id}/run:
test-webhook.sh
Verify the result
Inspect the returned status. Whencanonical_run_id is present, read that run through GET /runs/{run_id} and check the agent’s result.
A payload that does not match the filter is stored without starting a run. Check the event type and filter before treating an ignored delivery as a runtime failure.
Conversation behavior
conversation_mode: "none" runs the agent without a conversation. Use create_new for a new conversation, including agents that delegate with invoke_agent.
To continue a conversation, use existing and supply conversation_id. Other target kinds and their requirements are listed in the webhook reference.