Skip to main content

Overview

Chat triggers let your widget chatbot drive concrete actions in your product instead of just answering questions. When a user message matches a trigger you’ve defined, the chatbot proposes a call-to-action button in the conversation. If the user confirms, Hacktionbase fires a signed webhook to your backend and a real-time event to the originating session so your app can react instantly — redirect the user, prefill a form, create a resource, anything you wire up.

How a trigger flows

Confirmation is mandatory in v1 — nothing executes without the user clicking the CTA. This protects against accidental side effects from a misread intent.

Anatomy of a trigger

Audience scope

  • Authenticated — the trigger only matches when the user has called Hacktionbase.identify(...). Use this when the action depends on knowing who the user is (create a record under their account, redirect to their dashboard, etc.).
  • Anonymous — allowed for visitors who haven’t been identified. The WS event is routed by anonymousId. Use for low-stakes navigation or generic prefill.

Plan gating

Chat triggers are available on the growth, scale, and galaxy plans. The free plan can read trigger configuration but cannot activate any.

Limits

Webhook delivery

Webhooks are dispatched asynchronously via SQS so your endpoint’s latency never blocks the chat reply. Each request is signed with an HMAC header your backend can verify to ensure authenticity. Failed deliveries are retried with backoff and end up in a dead-letter queue you can inspect from the dashboard.

What’s next