ChatDirect Documentation

Complete guide to understanding and getting the most out of ChatDirect's AI chatbot and built-in mini-CRM.

Getting Started

Quick Start

Welcome to ChatDirect

ChatDirect is a custom AI chatbot platform with a built-in mini-CRM. The client portal is the command center for the chatbot: bot configuration, CRM management, lead pipeline tracking and conversation history.

Setup Checklist

  1. Identity — Name the bot, choose an avatar, write an engaging welcome message
  2. Appearance — Adjust colors to match the brand
  3. System Prompt — Define the bot's personality, tone and boundaries
  4. Knowledge Base — Add FAQs, hours, pricing and key information
  5. Quick Replies — Create 3-4 buttons to guide visitors
  6. Test — Use the live preview to validate bot behavior
  7. Install Widget — Copy the embed code and paste it on the website
  8. Activate CRM — Explore the CRM dashboard and configure follow-ups
Tip Start by testing the bot with the live preview before installing it on the website. Also discover the key benefits of a chatbot on your website.

Recommended Daily Routine

WhenActionWhere
MorningCheck hot leads and overdue remindersCRM → Dashboard
MorningRespond to pending transfers and ticketsSupport / Conversations
AfternoonProcess pipeline: contact new leadsCRM → Pipeline
WeeklyGenerate PDF report and check duplicatesCRM → Report

Chatbot Configuration

The 7 Configuration Tabs

All chatbot settings are organized into 7 clear tabs:

TabKey SettingsImpact
IdentityBot name, welcome message, avatar, language, AI providerVisitor's first impression
AppearanceColors (primary, secondary, bubble, header), theme (light/dark/auto/blue)Brand consistency
ScheduleMode (bot/hybrid/human), business hours, offline messageAvailability and visitor experience
ConversationsQuick replies, pre-chat form, lead capture, bookingEngagement and conversion
AISystem prompt, knowledge base, industry templates, A/B testingResponse quality
IntegrationsGoogle Analytics, Slack, CRM webhooks (HubSpot/Pipedrive/Monday)Automation and tracking
GDPRConsent, privacy policy, data deletionLegal compliance
Tip After each change, the widget updates automatically with no delay. Use the live preview to verify changes instantly.

Widget Installation

Option 1: Direct HTML Code

Paste the following code just before the </body> tag:

<script src="https://chatdirect.ca/widget.js?client=YOUR-ID&v=29"></script>

Option 2: Google Tag Manager

  1. Open Google Tag Manager and create a new tag
  2. Choose "Custom HTML" type
  3. Paste the JavaScript code
  4. Set the trigger to "All Pages"
  5. Publish your changes

Option 3: WordPress Plugin

  1. Download the ChatDirect plugin
  2. Install it via WordPress → Plugins → Add New
  3. Activate and go to Settings → ChatDirect
  4. Enter the client ID and save

Troubleshooting

IssuePossible CauseSolution
Widget not showingScript misplaced or wrong client_idVerify client ID and place script before </body>
No responseMissing or expired API keyCheck API key configuration
Wrong colorsBrowser cacheClear cache or increment the &v= in the script URL
AI Chatbot

Chatbot Modes

The mode determines how the chatbot interacts with visitors. For a detailed overview, read our article on the 3 live chat modes.

Bot (AI Only)

AI responds automatically 24/7. Ideal for basic support and FAQs.

Human

Only human agents respond during business hours.

Hybrid

AI responds first, with the option to transfer to a human at any time.

Which mode to choose?

ScenarioModeWhy
E-commerceBotInstant answers about products, pricing, shipping
RestaurantHybridBot for menu and hours, human for special reservations
Accounting firmHybridBot for FAQs, human for complex cases
Medical clinicHumanData sensitivity, need for human judgment
SaaSBotAutomated tech support with escalation if needed

Schedule Presets

  • Office — Monday-Friday, 9am-5pm
  • Retail — Monday-Saturday, 8am-8pm
  • 24/7 — Every day, all hours

Transfer to Human Agent

Visitors can request to speak with a human at any time during the conversation. The transfer and live chat system enables a seamless handoff.

Transfer Flow

  1. Visitor clicks the transfer button
  2. A confirmation message appears
  3. The team receives a notification (Slack, email, etc.)
  4. An agent takes over the conversation
  5. The agent responds via live chat
  6. The conversation is saved in history
Note Widget mode must be "Hybrid" or "Human" for the transfer button to be visible.

Conversations and Engagement

Conversation History

Complete history of all chatbot conversations is preserved. Each exchange is recorded with messages, timestamps and visitor ratings.

Quick Replies

Quick reply buttons guide the conversation. Examples by industry:

IndustrySuggestions
DentistBook appointment, Pricing, Dental emergency
RestaurantView menu, Reserve a table, Opening hours
Real EstateAvailable properties, Free evaluation, Book appointment
SaaSFree demo, Pricing, Technical support

Lead Capture

The chatbot automatically captures visitor contact information (name, email, phone) via an in-conversation form. Leads are automatically sent to the CRM. To learn more, read our guide on automatic lead generation.

Smart Booking

Smart booking automatically suggests a scheduling link (Calendly, Cal.com) when the visitor expresses an intent to book.

AI and Prompts

System Prompt

The system prompt defines the chatbot's personality, tone and knowledge. It's the main instruction that guides AI behavior.

Recommended Structure

  1. Role — Define who the bot is (e.g., assistant for Le Jardin restaurant)
  2. Tone — Define the style (professional, friendly, formal)
  3. Knowledge — What the bot knows (menu, pricing, hours)
  4. Boundaries — What the bot must NOT do (invent prices, give medical advice)
  5. Goal — What the bot should accomplish (capture leads, answer FAQs)

Example Prompt — Restaurant

You are the virtual assistant for Le Jardin restaurant. You are warm and enthusiastic. You know the menu, opening hours and reservation options. You cannot take reservations directly, but you can direct visitors to the form. Your goal is to make visitors want to visit the restaurant.

Knowledge Base

Structured information enriches the bot's responses. Use clear sections with headers:

## Hours Monday-Friday: 9am to 5pm Saturday: 10am to 2pm Sunday: Closed ## Pricing Starter Plan: $39/month Pro Plan: $69/month Business Plan: $149/month

A/B Testing

A/B testing lets you compare two prompt variants to determine which performs better. The system automatically alternates between variants and measures satisfaction.

Specialized Agents

Agents let you define different behaviors based on the visited page. For example, a "Support" agent on /help and a "Sales" agent on /pricing.

Industry Templates

Pre-configured templates let you get started quickly with an optimized setup.

  • Real Estate — Properties, evaluations, appointments
  • Restaurant — Menu, reservations, hours, special events
  • E-commerce — Products, orders, returns, shipping
  • B2B / Services — Quotes, consultations, sales process
  • Dentist / Medical — Appointments, services, emergencies
  • SaaS — Features, pricing, demos, technical support
  • Accountant — Tax services, consultations, required documents
  • Lawyer — Practice areas, initial consultations
Tip Use a template as a starting point, then customize it with specific information (name, pricing, hours).

Communication Channels

Channels allow the chatbot to communicate beyond the web widget.

Web (Widget)

Always active. The chatbot on the website.

SMS (Twilio)

Bidirectional. Visitors communicate via text messages.

Email

Bidirectional. Conversations via email.

Note Bidirectional SMS and Email channels require a Business or Enterprise plan.

BYOK (Bring Your Own Key)

What is BYOK?

BYOK mode lets you use your own API key for the AI provider of your choice. Conversations become unlimited and costs are billed directly by the provider. Read our complete BYOK guide for all the details.

Supported Providers

ProviderModelsStreaming
AnthropicHaiku 4.5, Sonnet 4.6, Opus 4.6Yes
OpenAIGPT-4o Mini, GPT-4o, GPT-4 TurboNo
GoogleGemini 2.0 Flash, Gemini 1.5 ProNo
MistralSmall, Medium, LargeNo

Estimated Costs by Provider

ProviderModelInput (1M tokens)Output (1M tokens)Best for
AnthropicHaiku 4.5$1.00 USD$5.00 USDGeneral chatbot, best value
AnthropicSonnet 4.6$3.00 USD$15.00 USDSophisticated responses
OpenAIGPT-4o Mini$0.15 USD$0.60 USDHigh volume, minimal cost
GoogleGemini 2.0 Flash$0.10 USD$0.40 USDVery low cost, fast
MistralSmall$0.20 USD$0.60 USDNative French, affordable
Tip Start with an economical model (GPT-4o Mini or Gemini Flash) and upgrade to a premium model if response quality warrants it.

Automatic Knowledge Sync

Auto-sync lets the chatbot automatically fetch content from specific web pages to enrich its knowledge base.

  • Pricing page — The bot always knows the latest prices
  • FAQ — Syncs with the existing FAQ page
  • Blog — The bot can reference the latest articles
Tip Auto-sync is ideal for frequently changing information (pricing, promotions, seasonal hours).
Mini-CRM

CRM Dashboard

The CRM dashboard displays key metrics: total leads, conversion rate, average conversion time and average score. The conversion funnel shows lead progression through stages. Learn more about the benefits of an integrated CRM.

MetricDescriptionTarget
Total leadsTotal number of captured prospectsMonthly growth
Conversion ratePercentage of leads converted to customers> 15%
Average timeDays between capture and conversion< 7 days
Average scoreAverage lead engagement level (/15)> 8

Hot Leads

The "Hot Leads" section highlights active prospects from the last 7 days with high scores requiring immediate attention.

Kanban Pipeline

The pipeline displays leads in 4 columns by status. Drag and drop leads between columns to update their status.

ColumnDescriptionRecommended Action
NewLead just captured by the chatbotMake contact within 24 hours
ContactedContact has been establishedFollow up and re-engage if needed
ConvertedProspect became a customerRetain and nurture
LostProspect did not convertAnalyze reasons

Dynamic Lead Scoring (0-15 points)

Each lead receives an automatically calculated score based on engagement level. The score updates in real-time with each interaction.

FactorPointsDetail
Fields filled+1 to +4Name, email, phone, company
Return visits+1 to +3Number of site visits
High-intent pages+2Visit to /pricing, /contact, /demo
Conversation length+1 to +2Number of messages exchanged
Detected intent+3Purchase intent, quote request
  • 0-4: Cold lead — low engagement, monitor
  • 5-9: Warm lead — interested, follow up
  • 10-15: Hot lead — strong intent, contact immediately

Custom Tags

Tags let you categorize leads for more effective tracking. Create, apply and filter by tags from the lead detail page or the leads list.

  • VIP — High-value potential customer
  • Urgent — Requires immediate response
  • Demo requested — Wants to see the product in action
  • Referral — Came from a recommendation
Tip Popular tags appear first in suggestions for quick access. Use short, consistent names.

Reminders and Tasks

Reminders help ensure no follow-up is missed. They can be created from a lead's detail page or from the calendar.

Pending reminders appear on the dashboard and in the sidebar (red badge for overdue). Mark a reminder as completed to remove it from the active list.

Tip Use the calendar to view reminders across a full month and avoid scheduling conflicts.

Automated 3-Step Follow-ups

ChatDirect allows configuring up to 3 automated email follow-up steps. Each step has a delay (in hours after lead capture), a subject and a customizable template.

Available Variables

{nom} — Lead name {courriel} — Lead email address {telephone} — Phone number {bot_name} — Chatbot name {date_lead} — Lead capture date {page} — Page where lead was captured {message} — Lead's first message

Example Sequence

StepDelaySubject
11 hourThanks for your interest, {nom}!
224 hoursDo you have any questions?
372 hoursLast chance: special offer
Note The SMS option also sends a text if Twilio is configured (Business+ plan).

Email from CRM

From a lead's detail page, an email can be sent directly. The form is pre-filled with the lead's address. Email history is preserved in the lead's timeline.

  • Pre-filled form with lead contact info
  • Email history in the timeline
  • Automatic status change to "Contacted" after sending
  • Support for email API providers (SMTP2GO, SendGrid, Brevo, Mailgun, Amazon SES)

Duplicate Detection and Merging

The system automatically detects duplicates by email address or phone number. When merging, the highest score is kept and notes, tags and history from both records are combined.

Tip Regularly check for duplicates to keep the lead database clean and avoid duplicate follow-ups.

Real-time Notifications

The notification system alerts about important events: new leads, overdue reminders, follow-ups sent and status changes.

  • CRM Bell — Icon in CRM navigation, polling every 30 seconds
  • Slack — Notifications in a Slack channel
  • WhatsApp — WhatsApp Business notifications
  • Email — Automatic email for hot leads

Activity Log

The activity log displays all CRM events in chronological order: lead captures, status changes, emails sent, notes added, tags modified, reminders and follow-ups.

  • New lead capture
  • Status change (new → contacted → converted/lost)
  • Email sent from CRM
  • Note added to a lead
  • Tag added or removed
  • Reminder created or completed
  • Automated follow-up sent

Interactive Monthly Calendar

The calendar provides an overview of planned follow-up activities across a month.

  • Click a date — Add a new reminder
  • Click a reminder — View the associated lead
  • Colors — Blue = upcoming, Red = overdue, Green = completed

CRM PDF Report

A PDF report of CRM statistics can be generated with date selection. The report includes:

  • Key metrics (leads, conversions, average score)
  • Visual conversion funnel
  • Hot leads list
  • Trends over selected period
Tip Generate a weekly report to track CRM metrics evolution and share with the team.
Integrations

Google Analytics, Slack and CRM Webhooks

Google Analytics 4

Chatbot events are tracked directly in Google Analytics:

EventTrigger
chat_openedVisitor opens widget
message_sentVisitor sends a message
lead_capturedContact details captured
transfer_requestedTransfer to human requested

Slack

Notifications are sent to Slack for each new lead, transfer or alert. Simply create an incoming webhook in Slack and paste the URL in the configuration.

CRM Webhooks

  • HubSpot — Direct API integration
  • Pipedrive — Automatic deal creation
  • Monday.com — Board item creation
  • Custom webhook — JSON POST to any URL

These integrations are especially useful for B2B and SaaS companies as well as e-commerce businesses. Explore all our industry solutions.

Webhook JSON Format

{ "name": "John Smith", "email": "john@example.com", "phone": "514-555-1234", "page": "/pricing", "message": "I'm interested in the Pro plan", "score": 12, "timestamp": "2026-03-25T10:30:00" }

Email API Providers

ProviderFree tierNotes
SMTP2GO1,000/monthRecommended for getting started
SendGrid100/dayPopular, good deliverability
Brevo9,000/monthGenerous free tier
Mailgun100/dayVery reliable, advanced API
Amazon SES3,000/month ** If hosted on AWS, lowest cost

Public REST API

A public API key provides access to data via the REST API (Business plan or higher required).

EndpointMethodDescription
/api/v1/leads.phpGETList leads with filters
/api/v1/conversations.phpGETList conversations
/api/v1/stats.phpGETUsage statistics
Note The key can be revoked at any time to generate a new one. The old key stops working immediately.
Security & Compliance

Privacy by Design

ChatDirect integrates privacy protection from the ground up, following the Privacy by Design approach. Six mechanisms ensure a high level of visitor data protection.

MeasureTechnical DetailBenefit
IP HashingIrreversible SHA-256, even the admin cannot recover the original IPComplete visitor anonymization
Limited RetentionConfigurable automatic purge (30 to 365 days)No data stored indefinitely
Zero CookieNo cookies, no persistent localStorage, only sessionStorageNo cookie banner required for the widget
No Cross-session TrackingUnique session ID per visit, no fingerprintingImpossible to link visits from the same user
Filtered URLOnly the path is transmitted, query string parameters are removedNo sensitive data leakage via URLs
Conditional GA4Google Analytics activates only after explicit visitor consentGDPR / Law 25 compliance

Right to Erasure

Visitors can request data deletion directly from the widget. All data associated with their session is erased immediately: conversation, leads, uploaded files.

GDPR and Law 25 Compliance

ChatDirect provides comprehensive tools for data protection compliance, applicable to European GDPR and Quebec's Law 25.

ActionRequired
Enable GDPR consent in widgetYes (EU/QC)
Customize consent textYes
Add privacy policy linkYes
Require checkbox on lead formRecommended
Make Google Analytics conditional on consentYes if GA4 active
Configure data retention periodRecommended
Enable data deletion button in widgetRecommended

Data Collected

DataPurposeRetention
ConversationsService improvementConfigurable (30-365 days)
Leads (name, email)Commercial follow-upUntil manual deletion
IP AddressSecurity (rate limiting)Hashed, irreversible
Uploaded filesConversation supportConfigurable
Note Law 25 (Quebec) and GDPR (Europe) require explicit consent before collecting personal data.

Advanced Security

FeatureDescription
Keyword AlertsNotification when a visitor mentions certain terms (emergency, complaint, cancel)
Access ControlAuthorized domains where the widget can display, IP whitelist/blacklist
Token LimitMonthly AI token consumption cap
Export/Import ConfigExport and import complete configuration as JSON for backup or duplication
Webhook TestingVerify CRM webhooks work correctly
Tip Configure keyword alerts to be notified immediately of sensitive conversations requiring human intervention.
Client Portal & Plans

Usage and Tokens

Understanding Tokens

A token equals approximately 4 characters in English or 3 characters in French.

ValueEquivalentUse Case
256 tokens~1-2 sentencesVery short responses (simple FAQ)
500 tokens~1 paragraphStandard responses (recommended)
1024 tokens~2-3 paragraphsDetailed responses
2000 tokens~1 pageIn-depth technical responses

The client portal displays usage details: conversations, AI messages, input/output tokens, model used and estimated cost in USD, CAD and EUR.

User Management

The client portal allows adding colleagues so they can access the portal with their own credentials.

  • Add user — Create a username and password
  • Change password — Each user can change their password
  • Remove user — Revoke a colleague's access
Tip Create one account per person rather than a shared account for better action tracking.

Support and Tickets

The built-in ticket system allows direct communication with the ChatDirect support team.

  1. Create a ticket with a subject and priority (normal, high, urgent)
  2. Clearly describe the issue
  3. Track responses and ticket status (open, closed)
  4. Add additional information by replying to the ticket

Plans and Pricing

PlanPriceConversationsAI Model
DiscoveryFree 14 days250 messagesGPT-4o Mini
Starter$39/month1,000 convGPT-4o Mini
Pro$69/month1,000 conv (unlimited with BYOK)Claude Haiku 4.5
Business$149/month2,500 conv (unlimited with BYOK)Claude Haiku 4.5
Enterprise$299/month10,000 conv (unlimited with BYOK)Claude Haiku 4.5

Feature Comparison

FeatureDiscoveryStarterProBusinessEnterprise
Chatbot widgetYesYesYesYesYes
Built-in mini-CRMYesYesYesYesYes
Kanban pipelineYesYesYesYesYes
Automated follow-upsYesYesYesYesYes
Streaming (live response)YesYesYes
BYOK (personal API key)YesYesYes
Public REST APIYesYes
SMS / Email channelsYesYes
External CRM webhooksYesYes

BYOK = Unlimited

With BYOK (Bring Your Own Key), conversations are unlimited on all compatible plans (Pro+). Costs are billed directly by the AI provider. Estimated cost: approximately $6 USD/month for 1,000 conversations with Claude Haiku.

Tip The Discovery plan is a free 14-day trial with 250 AI messages. No credit card required.

Additional Resources

Guide
The Complete AI Chatbot Guide for SMBs (2026)
Everything you need to know to choose and deploy an AI chatbot.
CRM
Why an Integrated CRM Changes Everything
Pipeline, scoring, follow-ups: the advantages of a CRM built into the chatbot.
Compliance
Privacy by Design: Law 25 and GDPR
How ChatDirect protects your visitors' data by design.
Industries
Solutions by Industry
E-commerce, real estate, B2B, hospitality: discover our industry-specific solutions.