multiple-amethyst
multiple-amethyst15mo ago

write to customers

Good morning Is there a possibility to write directly to the people who wrote to the chatbot?
6 Replies
Tico | Voiceflow Assistant
Good morning! Yes, it is possible to write directly to the people who wrote to the chatbot. Here’s how you can do it: 1. Identify the User Session: Each user interaction is identified by a unique userID. For example, if customer A is interacting with the chatbot, their session might be identified by /state/user/customerA/interact. 2. Send a Message: You can send a message to a specific user by using their session ID. For instance, if you want to send a message to customer A, you would use their session ID to direct the message appropriately. 3. Proactive Messages: You can also render proactive message bubbles when a user reaches a particular page on your website. For example, using the Voiceflow chat API, you can push a proactive message like:
window.voiceflow.chat.proactive.push({
type: 'text',
payload: { message: 'Are you interested in some sneakers?' }
});

window.voiceflow.chat.proactive.push({
type: 'text',
payload: { message: 'Are you interested in some sneakers?' }
});

4. Web Chat Customization: If you are using the Voiceflow Web Chat widget, you can customize it to send messages directly to users. You can leverage the open-source Web Chat project called react-chat to further customize the chat experience. For more detailed instructions, you can refer to the following resources: - Voiceflow Developer Overview - Embed and Customize Web Chat These steps should help you communicate directly with users who have interacted with your chatbot.
multiple-amethyst
multiple-amethystOP15mo ago
Thanks you don't have tutorial please ? I don't know code Thanks you don't have tutorial please ? I don't know code
W. Williams (SFT)
You mean like a live chat?
multiple-amethyst
multiple-amethystOP14mo ago
Yes i'ts possible ?
W. Williams (SFT)
Of course. Are you a dev?
multiple-amethyst
multiple-amethystOP14mo ago
No Béginner

Did you find this page helpful?