Bidirectional Website & Chatbot Communication

Samuel Su
on October 1, 2024We're excited to introduce a powerful new feature that enables seamless two-way data exchange between your website and AI chatbot. This update allows your chatbot to provide personalized interactions based on user information, creating a more engaging and tailored experience for every visitor.
🔄 How It Works
📡 Send User Information from Website to Chatbot
- If your website uses user authentication, you can now transmit user details to the chatbot via the postMessage API.
- This eliminates redundant data collection and enhances personalization.
- Example: If your website provides diagnostic tools, the chatbot can access user-specific metrics to answer follow-up queries.
🚀 Try it Live: Visit our Demo Website to see this feature in action!
- Enter your user information.
- The chatbot will recognize details like your lucky number and respond accordingly.
- Ask "What is my name?" or "Double my lucky number" to see real-time personalization in effect.
This demonstrates how syncing user data enhances chatbot interactions and creates a customized user experience.
📩 Receive PostMessage Events from Chatbot to Website
When embedding our chatbot as a widget bubble or iframe, your website can now listen for these chatbot events:
- ✅ Chat events – Track user interactions.
- ✅ Live chat escalation – Detect when a user requests human support.
- ✅ Minimize widget – Monitor when the chatbot is hidden.
- ✅ Lead submission – Capture user contact details.
🚀 Try it Live: Visit our Demo Website to see real-time postMessage events in action!
- Click "Clear Lead Info" to reset.
- Start a conversation with the chatbot.
- When submitting a lead form, the website will instantly display the captured user details.
This feature enables real-time website responses based on chatbot interactions, allowing you to:
✨ Display personalized pop-ups featuring the user's name and email.
Check the PostMessage Events page for more details.