Connect

1
Agent detail → Connect → copy Closebot Webhook URL.
2
Generate a bearer token (consumer name: closebot-prod).
3
In Closebot → add custom tool → paste URL → Authorization header = Bearer <token>. Schema: { "message": "string" }.

Closebot will POST to your agent every time the tool fires. Use the response in the Closebot reply.