Skip to main content
Fires when a visitor starts a new chat from the widget on your website.

Payload

string
required
The new conversation. Always present.
string
The visitor who started the chat.
string
The widget channel the chat came in on. A workspace with more than one widget tells them apart with this.
string
The conversation’s title when it was created. Usually Chat with and the visitor’s name when they had given one, and Widget Chat otherwise.
string
Always open.

Worth knowing

  • Messages arrive separately. Each message the visitor sends is a widget.keyword.matched delivery of its own, and this payload carries no message text.
  • Routing comes after. When routing gives the chat to a teammate, conversation.assigned follows. With the answer bot on, that waits until the bot hands the chat to a person, and a chat offered to several people sends it only once somebody takes it.
  • The title is a snapshot. Renaming the conversation later sends no event.

Example