1. Advanced Configuration
  2. Heimdall Routing

Advanced Configuration

Heimdall Routing

Setting up the webchat notification system

  • Using heimdall you can listen to events from all webchat clients.
  • Webchat data received from heimdall is placed in stub.data.heimdall.webchat.
  • There are multiple events you can listen to on heimdall but the most important event is firstmessage.
  • The firstmessage event fires when a user sends a webchat message.
  • Create the heimdall registration stubber.systems.notifications.webchat.org.{{stub.orguuid}}.name.new_webchat_profile.webchatmessagetype.firstmessage

Emit Types

Event Trigger Description
Initialize Chat window opens Fires when a user opens the webchat window. Use this to capture the session UUID and optionally send a welcome message.
First Message User's first message Fires when a user sends their very first message in a session.

| Configuration | User submits a form field | Fires when a user submits configuration data such as a phone number or platform selection. |