Empfio Docs

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

  1. Visitor arrives on your website and sees a chat bubble
  2. Session created — clicking the bubble creates an anonymous session (no cookies, no login)
  3. AI agent greets the visitor and starts the intake flow
  4. Contact collection — when the visitor provides their name and email, a lead is created in your CRM
  5. Booking flow — the agent checks availability and books appointments, just like WhatsApp or Telegram
  6. 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

ProblemFix
Widget doesn't appearCheck 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 respondCheck that the agent service is running
Chat bubble covers important contentAdjust the widget position in your embed code configuration

On this page