Web Chat
Embed an AI chat widget on your website to capture leads 24/7.
Overview
The Empfio web chat widget drops onto any website with a single script tag. Visitors start a conversation; the AI agent handles it like any other channel — collecting contact info and booking appointments. No login or signup is required from the visitor.
For initial setup steps, see Add Web Chat.
How it works
- Visitor arrives on your website and sees a chat bubble
- Session created — clicking the bubble creates an anonymous session (no cookies, no login)
- AI agent greets the visitor and starts the intake flow
- Contact collection — when the visitor provides their name and email, a lead is created in your CRM
- Booking flow — the agent checks availability and books appointments, just like WhatsApp or Telegram
- Real-time dashboard — the conversation appears in Dashboard → Conversations immediately
Session management
Each chat widget interaction creates a new session with a unique session ID. Sessions are:
- Anonymous by default — no login, no cookies, no tracking
- Linked to a lead once the visitor provides contact information
- Persistent within the browser tab — refreshing the page starts a new session
Interactive elements
The web chat widget supports the same interactive elements as other channels:
- Clickable buttons — for service selection and confirmations
- Selectable lists — for time slot pickers and service menus
These render as native web UI elements inside the chat widget.
Privacy
- No cookies are set before the visitor opens the chat
- No third-party tracking scripts are loaded
- Conversations are stored server-side, linked to an anonymous session ID
- Once the visitor provides their name or email, a lead record is created
- Visitor IP addresses are not stored in conversation data
Troubleshooting
| Problem | Fix |
|---|---|
| Widget doesn't appear | Check browser console for JavaScript errors. Verify the Organization ID |
| "Could not connect" | Ensure the Empfio backend URL is accessible from the visitor's browser |
| Agent doesn't respond | Check that the agent service is running |
| Chat bubble covers important content | Adjust the widget position in your embed code configuration |