Webhooks

External events can trigger your AI agent via webhooks.

Setting up a webhook:

  • Go to Automations > Webhooks tab.
  • Click "New webhook."
  • Enter a name, event pattern (e.g., "stripe.payment_intent.succeeded"), and a prompt describing what the AI should do.
  • Copy the webhook URL and secret key.
  • Configure your external service to POST to that URL with the secret as a Bearer token in the Authorization header.

Example use cases:

  • Stripe payment received: create onboarding tasks for the new customer.
  • GitHub PR merged: update the release notes document.
  • HubSpot deal closed: trigger follow-up email sequence.

The secret key is shown once at creation. Copy it immediately. It cannot be retrieved later.

Back to Help Center