Creating a trigger
Create a trigger insrc/triggers/:
webchat:conversationStarted event.
Naming a Trigger
Trigger names can contain only alphanumeric characters and underscores.Event structure
The handler receives anevent object with:
event.type- The event type string (one of the subscribed events)event.payload- The event payload data (varies by event type)
For reference information about the payload from integration events, check out the Integrations documentation.