Web chat: pass a known visitor's identity to the widget
T
Thomas Mueller
User story
As a hotel with a guest app, I want to hand the guest's name and room to the chat widget, so that the AI knows who it talks to and links the conversation to the right contact. Today, using the Actions, we post "I am {Name} from Room {RoomNumber}" into the chat. This should be handled like a lead capture, so that a capability tool can match it with the CRM (e.g. a custom object).
Problem / context
Every widget conversation starts anonymous, even when our app already knows the guest. Support called it a new requirement.
Acceptance criteria
- JS API to set identity and custom attributes before or during a chat.
- Optional signed identity token to prevent spoofing.
- Conversation linked to the existing contact or a new one created.
Log In