Skip to main content
Fronteer
Aug 3, 2026 11:13 PM UTC
FRONT AI

Listen for conversation events in the Autopilot Resolve SDK

You can now subscribe to conversation lifecycle events in Autopilot Resolve, so your app can react in real time as end users move through a conversation, from starting a new one to escalating to a human teammate.
 

Available event types:

  • created: end user starts a new conversation
  • viewed: end user opens or navigates to a conversation
  • escalation_offered: Autopilot Resolve offers to hand off to a human
  • escalated: the conversation is handed off
  • escalation_declined: end user dismisses the offer
  • status_changed: the conversation moves between open, in_progress, and resolved


Three ways to subscribe, depending on your setup:

  • FrontCompanion.on(handler) for a synchronous listener that returns an unsubscribe function
  • onConversationEvent as an option on init() to register in the same call
  • A companion-conversation-event CustomEvent on window, which works even before the boot script has loaded


Common patterns include firing your own analytics when a conversation escalates, updating your UI when a new conversation starts, or syncing status changes to another system.


For full details, event shape reference, and code samples, refer to the Developer Portal.


Happy coding!