SaanviBot
DocsLoginGet Started

Documentation

Everything you need to set up and use SaanviBot

Overview

What is SaanviBot?

SaanviBot is an AI-powered chatbot platform that helps businesses capture, qualify, and convert website visitors into leads. Instead of static forms, visitors have natural conversations — resulting in 3x more leads.

3x
More leads
< 2 min
Setup
24/7
Always-on
10+
Languages

Key Features

AI-Powered ChatNatural conversations using Gemini/GPT, not rigid scripts
Flow BuilderCustom question sequences with conditional logic
3 Chat ModesAI Mode, Flow Mode, or Hybrid (questions first, then AI)
Lead ScoringAutomatic scoring based on info collected
Live Chat TakeoverJump into any conversation as a human agent
Knowledge BaseCrawl your website so the bot knows your business
WebhooksSend leads to Zapier, Google Sheets, HubSpot, or any CRM
Multi-Language10+ languages supported
White-LabelResell under your own brand
AnalyticsConversion rates, lead charts, bot performance

Quick Start

Get your chatbot live on any website in under 2 minutes:

1
Create an account
Sign up with your email and password. A default bot is created automatically.
2
Configure your bot
Go to Dashboard → Bot Settings. Set bot name, welcome message, and theme color.
3
Copy the embed code
Go to Dashboard → Embed Code. Copy the single line of JavaScript.
4
Paste on your website
Add the script tag before </body> on your website.
5
Start getting leads
Visitors chat with your bot. Leads appear in your dashboard.

Installation

Add one line of code to your website:

<script src="https://your-app.com/widget/chatbot.js" data-bot-id="YOUR_BOT_ID"></script>
PlatformHow to install
HTMLPaste directly in your HTML file
WordPressAdd to theme footer or use Insert Headers and Footers plugin
ShopifyOnline Store → Themes → Edit Code → theme.liquid
WixSettings → Custom Code → Add before body tag end
React / Next.jsAdd to layout or _app file using Script component
Laravel / PHPAdd to your main layout blade template
Performance
Widget loads async, won't slow your site. Only ~15KB.

Dashboard

Your central hub for managing everything:

Overview
Total leads, conversations, conversion rate, charts, bot performance.
Leads
All captured leads. Export CSV. Full chat replay.
Bot Settings
Name, colors, prompts, style, language, logo, webhook, auto-open.
Live Chat
Active conversations. Take over from AI. Typing indicators.
Embed Code
Copy embed code with one click.
Billing
Current plan, usage meter, upgrade/downgrade.
White-Label
Agency mode, custom branding, logo, domain.

Bot Settings

SettingDescription
Bot NameDisplayed in the chat header
Welcome MessageFirst message visitors see
Theme ColorPrimary color for header, buttons, bubbles
PositionBottom-right or bottom-left
Logo URLCompany logo in header and avatars
Auto OpenOpen chat automatically (0-30s delay)
System PromptAI instructions — who it is, what your business does
Lead FieldsWhich fields to collect (name, email, phone, custom)

Chat Modes

AI Mode
AI handles entire conversation freely using your system prompt. Best for natural conversations.
Flow Mode
Bot follows pre-defined questions step by step. Validation, conditions, buttons. Best for structured capture.
Hybrid ModeRECOMMENDED
Flow questions first, then AI takes over. Best of both worlds.

Flow Builder

Create custom question sequences in Bot Settings → Flow Builder.

Question Types

TypeDescriptionExample
TextFree text inputWhat is your name?
EmailEmail with validationYour email address?
PhonePhone with validationYour phone number?
NumberNumeric onlyHow many employees?
ButtonsClickable optionsService: Web Dev, App Dev, SEO
DropdownSelect from listYour budget range
Long TextMulti-lineDescribe your project

Conditional Logic

Show questions only if a previous answer matches a value. Example: show "Budget?" only if visitor selected "Web Development".

Knowledge Base

Make your bot smart about your business. Access via Bot Settings → Knowledge Base.

1Enter your website URL
2We crawl up to 10 pages following same-domain links
3Text content extracted (scripts, styles stripped)
4Toggle which pages the bot can reference
5AI uses this knowledge to answer visitor questions

Lead Management

Lead Scoring

DataScore
Name+10 points
Email+30 points
Phone+20 points

Score >= 50 = Hot Lead (triggers urgent email alert).

CSV Export — download all leads with one click
Chat Replay — click any lead to see full conversation
Filter by bot — view leads from specific bots

Live Chat / Human Takeover

Take over any conversation from AI and respond as a human agent.

1Go to Dashboard → Live Chat
2See all active conversations (refreshes every 5s)
3Click a conversation to view full chat history
4Click "Take Over" to switch from AI to human
5Visitor sees "A live agent has joined the chat"
6Type your reply — appears instantly on visitor's widget
7Typing indicators work both ways (like WhatsApp)
8Click "Return to AI" when done

Analytics

Stat Cards
Total leads, conversations, conversion rate, hot leads
Bar Charts
Leads & conversations per day (last 7 days)
Bot Performance
Per-bot conversion rates and lead counts
Recent Leads
Latest 5 leads with quick-view table

Conversation Styles

Choose how the AI communicates:

Professional
Formal, business-like, polite
Friendly
Warm, casual, like a friend
Witty
Fun with light humor
Concise
Short, direct, 1-2 sentences max

Multi-Language

Set in Bot Settings → Integrations → Language.

EnglishHindiSpanishFrenchGermanPortugueseArabicChineseJapaneseKorean

Email Notifications

New Lead Email
Sent when a new lead is captured. Includes all collected fields.
Hot Lead Alert
Urgent email when score crosses 50. "Reach out within 5 minutes."
Setup
Get a free API key from resend.com → add as RESEND_API_KEY in .env

Webhooks / CRM Integration

Set webhook URL in Bot Settings → Integrations. Every new lead triggers a POST:

{
  "event": "lead.created",
  "botId": "abc123",
  "botName": "My Bot",
  "lead": {
    "name": "John Doe",
    "email": "john@example.com",
    "phone": "+919876543210",
    "score": 50,
    "sourcePage": "https://site.com/pricing",
    "customFields": { "service": "Web Dev", "budget": "50k-1L" }
  },
  "timestamp": "2026-04-07T10:00:00Z"
}
PlatformHow to connect
ZapierWebhooks by Zapier trigger → connect to any app
MakeWebhook module as trigger
Google SheetsVia Zapier/Make — auto-add row per lead
HubSpotVia Zapier — create contact per lead
Custom APIPoint to your own server endpoint

Industry Playbooks

Pre-built templates — click Browse Templates in Bot Settings.

Real Estate
Budget, location, BHK, buy/rent
7 Qs
E-Commerce
Product interest, budget
4 Qs
SaaS
Role, team size, challenge, demo
6 Qs
Education
Course, qualification, timeline
6 Qs
Healthcare
Service, patient type, appointment
6 Qs
Digital Agency
Service, budget, timeline
6 Qs

White-Label / Agency

Resell under your own brand. Enable in Dashboard → White-Label.

"Powered by" text shows your agency name
Custom logo replaces SaanviBot branding
Custom powered-by text per bot
Custom domain support (coming soon)

Billing & Plans

PlanPriceConversationsBots
Free$0/mo50/mo1
Starter$29/mo500/mo1
Growth$79/mo2,000/mo3
Business$199/mo10,000/moUnlimited

API Reference

EndpointMethodDescription
/api/widget/[botId]GETBot config for widget
/api/chatPOSTSend message, get AI/flow response
/api/chat/pollGETPoll for new messages (live chat)
/api/chat/typingPOST/GETTyping status signals
/api/botsGET/POSTList or create bots
/api/bots/[id]GET/PUT/DELManage a bot
/api/bots/[id]/flowGET/PUTFlow questions
/api/bots/[id]/crawlPOSTCrawl website for KB
/api/bots/[id]/kbGET/PATCHKB pages + toggle sharing
/api/leadsGETList all leads
/api/analyticsGETDashboard analytics
/api/livechatGETActive conversations
/api/livechat/[id]GET/POST/PATCHView/reply/takeover

FAQ

How does the AI know about my business?
Two ways: (1) System prompt tells the AI who it is. (2) Knowledge Base crawler reads your website content.
Will it slow my website?
No. Loads async, only ~15KB.
Multiple websites?
Yes. Create multiple bots, embed each with its own bot ID.
What AI model?
Gemini 2.5 Flash — fast, smart, cost-effective.
CRM connection?
Set webhook URL in Bot Settings. Use Zapier/Make for HubSpot, Sheets, etc.
Take over from AI?
Yes. Dashboard → Live Chat → Take Over. Visitor sees "A live agent has joined."
Data security?
Multi-tenant isolation. Passwords hashed with bcrypt.
Resell to clients?
Yes. Enable Agency Mode in White-Label. Clients won't see SaanviBot branding.

Need help?

Contact us at support@leadbotai.com