Skip to content

ChatFlow User Guide

ChatFlow — Embed AI-powered live chat into your product and manage every conversation in real time.

Table of Contents


What Is ChatFlow?

ChatFlow is a multi-tenant B2B live-chat SaaS platform. It lets your business:

  • Embed a fully customisable chat widget into any web page or mobile app
  • Route visitor conversations to human agents or an AI assistant
  • Manage all conversations in a single admin portal
  • Integrate with existing workflows via webhooks and SDKs

ChatFlow is designed for workspace owners (businesses that install the widget) and their end users (visitors who chat through the widget). Both have dedicated portals.


Core Concepts

ConceptDescription
WorkspaceYour business's isolated tenant inside ChatFlow
WidgetAn embeddable chat component configured per site or context
ConversationA single chat session between a visitor and your team or AI
MessageAn individual message within a conversation
AgentA human support representative assigned to conversations
VisitorAn anonymous or identified end user who starts a chat

Getting Started — Admin

1. Sign Up and Create Your Workspace

  1. Navigate to the ChatFlow Admin Portal
  2. Click Sign Up
  3. Provide your business email and set a password
  4. Your workspace is provisioned automatically

2. Create Your First Widget

  1. Log in to the Admin Portal
  2. Go to Widgets → Create Widget
  3. Configure:
    • Name — internal label (e.g., "Homepage Widget")
    • Welcome message — shown to visitors on open
    • AI mode — whether the AI assistant responds automatically
    • Theme colour — matches your brand
  4. Click Save

The widget generates a unique widgetId you'll use to embed it.

3. Embed the Widget

Copy the embed snippet from the widget settings and paste it into your website's HTML before </body>:

html
<script>
  window.ChatFlowConfig = { widgetId: "your-widget-id" };
</script>
<script src="https://cdn.chatflow.io/widget.js" async></script>

Visitors will now see the chat bubble on your site.

4. Invite Agents

  1. Go to Users → Invite User
  2. Enter the agent's email and assign the Agent role
  3. They receive an invitation email to join your workspace

Admin Portal Reference

Dashboard

The admin dashboard shows workspace-wide statistics:

MetricDescription
Total ConversationsAll conversations since account creation
Active ConversationsConversations currently open
Total MessagesAll messages sent across the workspace
Today's MessagesMessages sent in the last 24 hours
Avg Response TimeAverage agent/AI first-response time in minutes
Conversation TrendPercentage change vs. prior period
Message TrendPercentage change vs. prior period

Managing Users

Go to Users to manage all agents in your workspace.

Actions available:

  • View all workspace users with their roles and status
  • Invite new users (Agents or Admins)
  • Revoke access

Roles:

RoleCapabilities
AdminFull access: manage widgets, users, billing, conversations
AgentHandle and close conversations; read-only dashboard

Managing Widgets

Go to Widgets to view and manage all chat widgets for your workspace.

Per-widget settings:

SettingDescription
NameInternal label
Welcome MessageShown when the chat opens
AI EnabledToggle AI assistant responses on/off
Theme ColourHex colour for the widget button and header
Auto-AssignAutomatically assign incoming chats to available agents
Offline MessageShown when no agents are online

Conversations View

Go to Conversations to monitor all incoming and historical conversations.

Filtering and search:

  • Filter by status: open, closed, pending
  • Search by visitor identifier

Conversation actions:

  • Assign — Assign an open conversation to a specific agent
  • Close — Mark the conversation as resolved
  • View messages — Read the full transcript

Admin Billing

Go to Billing to manage your ChatFlow subscription.

See Billing & Plans for full details.


Getting Started — End Users

End users access ChatFlow through either:

  1. The embedded widget on your website (no sign-in required)
  2. The ChatFlow User Portal (for registered users with accounts in your workspace)

Using the Embedded Widget

  1. Click the chat bubble on the host website
  2. Type a message and press Enter
  3. An AI assistant or live agent responds
  4. Continue the conversation; close the window at any time

No account is required for widget conversations.

Using the User Portal

  1. Navigate to the ChatFlow User Portal URL provided by your workspace admin
  2. Log in with your credentials
  3. The Chat page shows your conversation history and lets you start a new chat

User Portal Reference

Chat Interface

The chat screen provides:

FeatureDescription
Message threadChronological conversation history
Message inputType and send messages
Typing indicatorShows when the agent or AI is composing a reply
TimestampsEach message shows its sent time
Read receiptsMessages are marked as read once seen

Embedding the Chat Widget

HTML Snippet (any website)

html
<script>
  window.ChatFlowConfig = {
    widgetId: "your-widget-id",
    // optional overrides:
    primaryColor: "#6366f1",
    welcomeMessage: "How can we help?"
  };
</script>
<script src="https://cdn.chatflow.io/widget.js" async></script>

Angular

Install the SDK:

bash
npm install @chatflow/angular

Add to your AppModule or standalone app:

typescript
import { ChatFlowModule } from '@chatflow/angular';

@NgModule({
  imports: [
    ChatFlowModule.forRoot({ widgetId: 'your-widget-id' })
  ]
})
export class AppModule {}

JavaScript / TypeScript

bash
npm install @chatflow/js
typescript
import { ChatFlow } from '@chatflow/js';

const chatflow = new ChatFlow({ widgetId: 'your-widget-id' });
chatflow.init();

React (see chatflow-sdks/react for full details)

bash
npm install @chatflow/react
tsx
import { ChatFlowProvider, ChatWidget } from '@chatflow/react';

function App() {
  return (
    <ChatFlowProvider widgetId="your-widget-id">
      <ChatWidget />
    </ChatFlowProvider>
  );
}

Other SDKs

Full SDK documentation is available for:

  • Flutterchatflow-sdks/flutter/
  • Pythonchatflow-sdks/python/
  • .NETchatflow-sdks/dotnet/
  • Swift / iOSchatflow-sdks/swift/

Billing & Plans

Available Plans

PlanPrice/moAgentsConversations/moAI Responses
Free$011000
Starter$2931,000500
Growth$79105,0002,000
Scale$199UnlimitedUnlimited10,000

Adding Agent Seats

  1. Go to Billing → Manage Plan
  2. Click Add Agent Seat
  3. Confirm the prorated charge

Payment Methods

ChatFlow accepts:

  • Credit/debit card (Stripe)
  • Paymob — Egypt & MENA
  • Fawry — Egypt

Viewing Invoices

Go to Billing → Invoices for a downloadable history of all charges.


SDK Quick-Start

All ChatFlow SDKs share the same interface. See chatflow-sdks/ for language-specific installation instructions and full API documentation.

Core capabilities exposed by every SDK:

MethodDescription
init(widgetId)Initialize the widget
open()Programmatically open the chat window
close()Programmatically close the chat window
on(event, handler)Subscribe to chat events (message, open, close, assign)
setUser(id, email, name)Associate an authenticated user with the conversation
identify(attributes)Pass custom attributes for routing and AI context

FAQ

Can I have multiple widgets for different parts of my site? Yes. Create a widget per context (e.g., homepage, pricing, support) and embed each with its own widgetId.

Does ChatFlow support file attachments? Attachment support depends on your plan. Starter and above allow image uploads in conversations.

Can the AI respond in languages other than English? Yes. The AI model auto-detects the visitor's language and responds accordingly.

How do I connect my own AI model? Enterprise plans support custom LLM connections via the ChatFlow AI service configuration. Contact support for setup assistance.

What happens when no agents are online? The widget shows your configured offline message and queues the conversation for the next available agent. Visitors can also leave their email for an asynchronous follow-up.

Is end-to-end encryption supported? All traffic is encrypted in transit via TLS. Message content is stored encrypted at rest. Contact support for compliance-specific requirements.

Embed AI-powered live chat into any product.