Chatbot Builder - Help
Complete guide for creating AI chatbots from various documents and web sources
Overview
Chatbot Builder (Chatbotty.ai) is a Redis Cache optimized platform for creating AI chatbots from various documents and web sources. It serves everyone who needs to provide quality answers to user queries based on current documents and sources - government offices, organizations, businesses, and individuals. The platform includes a public REST API, webhook automation, support ticket management, and full conversation history.
β¨ Key Features
π€ AI and Processing
- β’ AI chatbots from various documents and web sources
- β’ Smart AI routing for optimal response quality
- β’ Vector database for semantic search
- β’ Advanced chunking by document type
β‘ Performance and Reliability
- β’ Multi-level caching (Memory β Redis β PostgreSQL)
- β’ Asynchronous widget without page speed impact
- β’ Protection against abuse and bot attacks
- β’ Flexible rate limits for individual chatbots
π Management and Analytics
- β’ Extensive personalization and configuration options
- β’ Automatic document replacement with new versions
- β’ Real-time analytics and quality optimization
- β’ Automatic subscription and tier management
π Integration and Automation
- β’ Public REST API for custom integrations
- β’ Webhook actions for event-driven automation
- β’ Support ticket system for customer escalation
- β’ Conversation history and management
π― Ideal for
- Government offices and public institutions
Automation of information services for citizens, answers to frequent questions about official procedures
- E-commerce and online services
Smart customer support without call center, handling orders and complaints
- Companies with extensive documentation
Quick search in internal resources, onboarding new employees
- Educational institutions
Support for students and answers to frequent questions, information about study programs
- Healthcare Facilities
Patient information and administrative support, patient guides
- Law Offices
Quick access to legal documents and precedents, legal case analysis
- IT and Technology Companies
Technical support automation and API documentation, solving common problems
- Consulting Companies
Sharing expertise and best practices, internal knowledge base
- Marketing Agencies
Customer needs analysis and content optimization, creative brief assistance
Getting Started
π― Quick Guide
- 1Registration and Login
Create your account. Every new account starts with a free 14-day Evaluation trial: 1,000 AI replies and all key features, no credit card. After 14 days it switches to Free automatically, with no charge.
- 2Creating Your First Chatbot
Click "New Chatbot" β enter name and description β choose response style (formal/friendly/professional). After creation, you'll be redirected to detailed settings where you can customize all chatbot parameters according to your needs.
- 3Document Upload
In your chatbot's Documents tab, click "Upload document" β drag & drop PDF/DOCX/TXT/MD files or enter web page URL. For best results, use Markdown (.md) files β they preserve document structure and produce the highest quality AI responses.
- 4Testing and Embedding
Test the chatbot in preview mode β copy embed code β insert on your website
β‘ Quick Tips for Getting Started
π Document Preparation
- β’ Format: Plain text without images β Markdown (.md), TXT, or well-structured PDF
- β’ Structure: Use headings, paragraphs, and bullet points β avoid tables and multi-column layouts
- β’ Ideal format: FAQ style β questions as headings, full answers below each one
- β’ Coverage: Each section should fully cover its topic β avoid scattered or partial information
- β’ Content: Remove duplicates, promotional fillers, and irrelevant parts
- β’ Language: Consistent terminology throughout the document
- β’ Up-to-date: Always use the latest document versions
π¨ Widget Integration
Add the following code to your website before the closing </body> tag:
<script src="https://chatbotty.ai/chatbot-embed.js" data-chatbot-id="xxxxxxxx"> </script>
- β’ Asynchronous loading without page blocking
- β’ Cross-domain support
Chatbot Management
β Creating Chatbots
π― Basic Configuration
Basic information:
- β’ Chatbot name: Identification of your chatbot
- β’ Description: Brief description of the chatbot's purpose
- β’ Response style: Formal / Friendly / Professional / Informal
π¨ Appearance
Customizing chatbot widget appearance:
- β’ Theme color: Selection from preset colors
- β’ Welcome message: Text for first contact with user
- β’ Allowed domains for embedding: Specify where widget can be used
π Maximum Number of Chatbots by Plan
Free
1 chatbot
Evaluation
1 chatbot
14 days trial
Support
2 chatbots
Automate
3 chatbots
ποΈ Delete Confirmation
Safe Deletion Process
When deleting a chatbot, a confirmation dialog appears to prevent accidental deletion. This ensures you don't lose important data by mistake.
β οΈ Warning:
All chatbot data, documents, and analytics will be permanently removed and cannot be recovered.
Advanced Chatbot Settings
π§ AI Behavior and Prompts
π System Instructions
Define the personality and behavior of the AI assistant. Contains guidelines for:
- β’ Communication style and response tone
- β’ General behavior and rules
- β’ Critical instructions for limitations
π Handoff Contact
Where the chatbot sends customers when it doesn't know the answer β phone, e-mail, opening hours or a contact form link (field below the instructions).
- β’ Used only for questions about your business that the documents don't answer, or when a customer asks how to reach you β never for off-topic questions
- β’ With support tickets enabled, the chatbot offers a ticket and gives the contact
- β’ Left empty, the chatbot only gives contacts found in your documents β it never invents one
π·οΈ Available Placeholders
The following placeholders can be used in instruction prompts and messages:
- β’
{current_datetime}- Current date and time - β’
{chatbot_id}- Unique chatbot identifier - β’
{fallback_message}- Your Force fallback reply text
β‘ Search and Response Quality
π Search Parameters
- β’ Similarity threshold (0.4): Minimum match to use document
- β’ Number of Document Chunks in Context (5): How many document chunks AI receives
- β’ Smart Model Routing: Automatically selects better model based on query complexity
- β’ Automatic Support Tickets: When AI cannot answer, it offers to create a support ticket. Requires user consent and email.
- β’ Force Fallback: When enabled, queries with low document relevance get a fixed reply without AI, followed by the handoff contact. When disabled, AI will respond even without relevant documents (conversational mode).
- β’ Force fallback reply: The fixed text for Force Fallback mode (default: "Sorry, I don't have that information."). Without Force Fallback the AI says it doesn't have the information and offers a ticket or the handoff contact β it never asks the customer to rephrase, except for a vague question, where it asks a clarifying one.
βοΈ Language Preferences and AI Parameters
- β’ Chatbot response language: Language in which chatbot will respond
- β’ Timezone: For responses about current date and time
- β’ Creativity (Temperature): 0.0 = precise, 1.0 = creative responses
- β’ Maximum response length (tokens): Limit in tokens (β 375 words for 500 tokens)
π‘οΈ Anti-spam Protection
- β’ Max requests/day: Maximum number of requests from one IP address per 24 hours (anti-bot protection)
- β’ Max requests/session: Maximum number of requests per session (2-hour window for abuse prevention)
- β’ Rate Limit per Minute: Protection against spam queries
- β’ Cache TTL (seconds): How long to cache responses
π Reset to Defaults
Restore Default Settings
The 'Reset to Defaults' button restores all advanced settings to their default values. A confirmation dialog appears before resetting to prevent accidental changes.
βΉοΈ Note:
You can always reset your settings back to the defaults if you want to start fresh or if something isn't working as expected.
Document Management
π€ File Upload
π Supported Sources
Files
PDF, DOCX, TXT, MD, HTML
Web URL
Automatic scraping
Updates
Automatic version replacement
π― Optimal Document Preparation
β Recommended practices:
- β’ Clear headings and structure
- β’ PDF with readable text (not images)
- β’ Consistent formatting
- β’ Logical section numbering
β Avoid:
- β’ Scanned images without OCR
- β’ Excessive text fragmentation
- β’ Inconsistent formatting
- β’ Files larger than 10MB
πΎ Storage Limits by Plan
Free
10MB total
Evaluation
10MB total
Support
50MB total
Automate
100MB total
π Duplicate Detection
Smart Duplicate Handling
When uploading a document with the same name as an existing one, a confirmation dialog appears with options to prevent accidental overwrites.
Available Options:
- β’ Replace: Overwrites the existing document with the new version
- β’ Keep Both: Keeps both versions (new file gets a numbered suffix)
π Document Upload Process
Open your chatbot
Go to Chatbots, open your chatbot, switch to the Documents tab and click "Upload document" β the document is added to that chatbot
Select upload method
π Files (PDF, DOCX, TXT, MD)
Maximum 10 MB per file
π Web URL
Automatic web page scraping
Select document type
System automatically optimizes processing by type:
Legal document:
Laws, regulations, contracts
Technical manual:
Guides, specifications, procedures
News:
Articles, press releases
Academic text:
Scientific papers, studies
General document:
Universal settings
Describe document (optional)
Add description for easy future navigation in document list
File update tip
When entering the same document name, you have the option of automatic replacement of the original version without having to delete the outdated document. Your data will stay current.
Chat Widget
π§ Web Embedding (displaying chatbot on your website)
π Getting Embed Code
You can find the embed code for each chatbot in the context menu (three dots). Click "Copy embed code" and paste it on your website before the closing </body> tag.
<script src="https://chatbotty.ai/chatbot-embed.js" data-chatbot-id="xxxxxxxx"> </script>
π‘ Tip: Widget loads asynchronously and does not affect your page speed. The chat bubble appears once configuration is loaded in the background.
π΄ Note: If the chatbot is deactivated, the widget will not appear on the website at all.
β οΈ Installing via GTM: If you embed the widget through Google Tag Manager and a visitor rejects cookies, GTM won't load and the chatbot won't appear. We recommend embedding the code directly in HTML, outside of GTM.
βοΈ Widget Configuration
You can fully customize the widget in the "Appearance" section when editing the chatbot. All settings are automatically applied to the embed code.
π¨ Appearance and position:
- β’ Theme color: 6 preset colors (blue, red, green, yellow, purple, orange)
- β’ Widget position: Bottom right / Bottom left
- β’ Welcome message: User greeting
βοΈ Chatbot behavior:
- β’ Chatbot name: Displayed in header
- β’ Description: Short description of chatbot purpose (not displayed on web)
- β’ Response style: Professional, friendly, formal
- β’ Status: Active/inactive chatbot
π― Widget Customization
Position Options:
- β’ Bottom-right (default)
- β’ Bottom-left
Bubble Effects:
- β’ Pulse effect - Animated bubble to attract attention (can be toggled on/off)
ποΈ Widget Preview
Use the widget preview modal to test your chatbot before embedding:
- β’ Click "Preview" button in chatbot settings
- β’ Opens widget in modal window
- β’ Test all features and appearance
- β’ No code installation needed
π Public Widget Page
Access your widget at: /widget-embed/[widgetId]
- β’ Standalone page for testing
- β’ Can be shared with team members
- β’ No website integration required
π‘ Tip: All changes take effect immediately on all websites with embedded widget. No need to change code.
β‘ Performance Optimization
π Asynchronous loading
- β’ Asynchronous loading in the background
- β’ Bubble appears once configuration is ready
- β’ Zero impact on main page speed
- β’ Progressive enhancement
πΎ Smart Cache
- β’ 90%+ cache hit rate
- β’ 5-minute configuration validity
- β’ Fast loading via Redis
- β’ Smooth operation even during Redis Cache outage
π Security and Restrictions
π Domain restrictions
Limit access only to allowed domains:
Configuration example:
- β’ example.com
- β’ *.example.com (including subdomains)
π‘οΈ Anti-spam Protection
Request limit settings for protection against spam and abuse
Max requests/day
50
Maximum number of requests from one IP address per 24 hours (anti-bot protection)
Max requests/session
20
Maximum number of requests per session (2-hour window for abuse prevention)
Request limit/min
10
π‘οΈ Protection against spam queries
Cache TTL (seconds)
300
β‘ How long to cache responses
π Note:
These parameters are fully user-configurable in advanced settings of each chatbot for maximum flexibility.
Analytics
π― Access by Plan
π Free
Basic analytics
- β’ Overview and usage chart
- β’ Top queries
- β’ Chatbot stats
β Evaluation
Full access
14-day trial with detailed analytics and export
π΅ Support
Detailed analytics
Everything listed on the right
π Automate
Detailed analytics
- β’ Success rate
- β’ Data export
- β’ Detailed reports
- β’ Interactive interface
- β’ Analytics for each chatbot separately
π€ Detailed Chatbot AnalyticsNot in Free
π Display for each chatbot
- β’ Individual overview: Separate analytics for each chatbot
- β’ Query filtering: Display only relevant conversations
- β’ Isolated metrics: Individual chatbot performances separated
- β’ Chatbot comparison: Ability to compare performance of different bots
π Detailed query display
- β’ Complete query: Display of entire question from user
- β’ Response reliability: Exact confidence score value
- β’ AI response: Complete text of chatbot response
- β’ Timestamp: Date and time of each query
π‘ Practical use: Enables precise analysis of how individual chatbots respond to user queries, identification of problem areas and document optimization for each chatbot separately.
π Available Metrics
π― Main KPIs
π Response Quality
β οΈ Data History Limitations
Older data may be automatically deleted for database performance optimization. Export your data regularly if you need the full history.
π€ Export and Reports
π Availability: Export is available on Support and Automate and during the 14-day Evaluation trial.
π‘ Tip: We recommend exporting data on the last day of each month to track full customer query history.
πΎ Export Formats
- β’ CSV: Tabular data for Excel
- β’ JSON: Structured data for API
π Data Filters
π Time filters:
- β’ This week: Last 7 days
- β’ This month: Current month
- β’ This year: Current year
π Filters by response:
- β’ All queries: Complete history
- β’ β Answered: Successful responses
- β’ β Partially answered: Incomplete responses
- β’ β Unanswered: No response
Subscription
π― Plan Overview
Start with a 14-day free trial
All key features, 1,000 AI replies. No credit card. Switches to Free automatically after 14 days β no charge.
White-label is available on Automate.
Free
Free forever
β’1 chatbot, 100 AI replies/month (β 25 conversations)
β’10 MB of documents
β’Answers from your documents β Markdown works best (also PDF, DOCX, TXT)
β’Smart context search β understands follow-up questions
β’Basic analytics
β’API & MCP β connect your apps and AI assistants
You still get the 14-day trial first (1,000 replies), then 100/month.
Support
Answers questions, captures leads
β’2 chatbots, 5,000 AI replies/month (β 1,250 conversations)
β’Answers from your documents β Markdown works best (also PDF, DOCX, TXT)
β’Import content straight from a web page (URL)
β’Can't answer? Creates a ticket with the visitor's email β a ready-to-follow-up lead
β’Detailed analytics & export
β’Smart context search & Reranking β understands follow-up questions and picks the most relevant answers
β’API & MCP β connect your apps and AI assistants
No card Β· 5,000 replies Β· then Free or $18/mo
Automate
Answers, captures leads and takes action in your systems
Everything in Support, plus:
β’3 chatbots, 9,000 AI replies/month (β 2,250 conversations)
β’Actions in your systems β calls any REST API or webhook (your backend, n8n, Makeβ¦): order status, bookings, leads
β’White-label β no Chatbotty logo
β’100 MB of documents
No card Β· actions & white-label Β· then Free or $30/mo
Need more chatbots or replies? Contact us
π‘ Data Usage
10MB of data corresponds to approximately 1000 pages of PDF document. In purely text formats, even much more.
Warning: The original size of the uploaded file counts towards data limits. Embedded images in documents can significantly increase the uploaded file size.
π° Annual Subscription
Save 2 months with annual billing β pay for 10 months only!
Annual billing offers significant savings compared to monthly payments. You can change your billing period or subscription at any time.
β° Trial Period Expiration
- β’ Automatic downgrade to Free plan after 14 days
- β’ Seamless transition without data loss
π Usage Tracking
π Dashboard Tracking
Track your plan usage directly in real-time:
π Monthly Limits
- β’ Number of messages per month
- β’ Forecast until end of month
- β’ Automatic reset every month
π Permanent Limits
- β’ Storage capacity (MB/MB)
- β’ Number of chatbots (count/limit)
π Statistics
- β’ Total created chatbots
- β’ Active and functional chatbots
- β’ Total queries from users
- β’ Uploaded documents
π Visualization
- β’ Colored progress bars
- β’ Real-time tracking
β οΈ Limit Enforcement
- β’ Storage exceeded: Upload blocked with upgrade prompt
- β’ Chatbot limit: Creation blocked, upgrade dialog shown
- β’ Monthly messages: Widget won't load (silent failure)
- β’ Analytics access: Feature restrictions by plan
π° Extra Requests
Extra requests are add-on packages that extend your monthly AI reply quota. They are available on every plan, including Free. Unlike your monthly quota, extra requests never expire.
π How it works:
- Your monthly quota is consumed first
- When it runs out, extra requests are used automatically
- Extra requests stay on your account until fully used (no expiration)
- Remaining requests are shown on the dashboard in real time
π¦ Available packages:
π‘ When to buy:
- β’ Seasonal traffic spikes
- β’ Special campaigns
- β’ Testing before an upgrade
- β’ One-time high usage
π³ Purchase: Click βBuy Extra Requestsβ on the dashboard or in the usage card when you approach your limit.
Invoices
π Overview
All your invoices and payment history are available directly in the customer portal. You can find subscriptions, add-on purchases, and all past payments there.
π How to Access
- Go to Subscription in the dashboard sidebar
- Click the Manage Subscription button
- You will be redirected to the customer portal where you can view all invoices and payment history
Settings
π€ User Account Management
π Change Name
Personal Information
- β’ Name: Displayed username
- β’ Can be changed anytime
- β’ Shows in profile and communication
π§ Change Email
After submitting the new address, confirmation links are sent to both your current and new email. The change takes effect only after clicking both links.
- β’ Check your current inbox and confirm from there
- β’ Check your new inbox and confirm from there
- β’ Only after both confirmations will the new email become active
π Change Password
Password must be at least 6 characters
Password requirements:
- β’ Minimum 6 characters
- β’ Combination of letters and numbers
- β’ Current password required
Forgotten password:
- β’ Reset via email
- β’ Secure reset link
- β’ Immediate delivery
π Language Settings
Switch between English and Czech interface
- β’ Click language selector in top navigation
- β’ Available languages: English (EN) / Czech (CS)
- β’ Automatic page reload - The page automatically reloads after language change to apply all translations
- β’ Language preference is saved to your account
β οΈ Danger Zone
Actions in this section are irreversible. Proceed with caution.
β οΈ Deleting your account will permanently remove all your data, chatbots, documents and conversations. This operation is irreversible.
The "Delete Account" button will trigger complete removal of all data from the database.
API
π Programmatic Access to Chatbots
π Available on All Plans
API access is available on all plans, including Free. API requests count towards your plan's monthly AI replies. It allows you to integrate your chatbots into custom applications, websites, or systems.
π What You Get
- β’ REST API: Standard HTTP requests
- β’ Chat endpoint:
/api/v1/chatfor sending messages - β’ Document endpoints:
/api/v1/documentsfor managing documents - β’ Chatbot info:
/api/v1/chatbotβ which chatbot the API key belongs to, its plan, quota and knowledge base overview - β’ Conversations, analytics & tickets:
/api/v1/conversations,/api/v1/analytics,/api/v1/tickets - β’ Webhook actions:
/api/v1/webhooksβ create, test, change and delete webhooks and their tools; API keys and header values are never returned (Automate plan and Evaluation trial, see Webhook Actions) - β’ MCP connector: Connect your chatbot to Claude, Claude Code or n8n without writing code (see MCP Connector)
- β’ Code examples: Available in Dashboard β API & MCP
- β’ Chatbot ID: Unique identifier for each chatbot
- β’ Complete Documentation: Available directly in the app
π‘ How to Get Started: After logging into the application, you'll find the "API & MCP" section in the menu, where you can access detailed instructions including connection examples for various programming languages and test samples.
π API Authentication
How it works
API access uses Bearer token authentication. Each API key is tied to a specific chatbot.
- Create API key in Dashboard β API & MCP for your chatbot
- Include API key in Authorization header as Bearer token
- Send POST request to
/api/v1/chatendpoint - Chatbot is automatically identified from the API key
Important: You do NOT need to send chatbot_id in the request body. The chatbot is determined from your API key.
Error Codes
- β’
UNAUTHORIZED(401) β Invalid or missing Bearer token - β’
RATE_LIMITED(429) β Exceeded the per-minute rate limit of the endpoint - β’
QUOTA_EXCEEDED(403) β Monthly message quota exceeded - β’
FORBIDDEN(403) β Plan doesn't have API access - β’
INVALID_REQUEST(400) β Malformed request body - β’
NOT_FOUND(404) β Resource not found - β’
LIMIT_EXCEEDED(403) β Webhook actions: the plan's number of webhooks or tools is used up - β’
INVALID_URL(400) β Webhook actions: the URL is invalid, not HTTPS or points to a private address - β’
EDIT_FAILED(400) β Document edit: the text to replace or the heading was not found, or appears more than once - β’
NOT_EDITABLE(400) β Document edit: only Markdown and text documents can be edited - β’
CONFLICT(409) β Document edit: the document changed since you read it β read it again and repeat the edit - β’
GONE_USE_V1(410) β Old endpoint, migrate to/api/v1
π API Keys Management
Create API Keys
Generate secure API keys for programmatic access to your chatbots.
Features:
- β’ Custom names - Label keys for easy identification
- β’ Max 50 keys - Per chatbot limit
- β’ Secure tokens - Full token shown only once at creation
- β’ Activity tracking - Last used timestamp
- β’ Toggle active/inactive - Temporary disable without deletion
Security:
- β’ Tokens are masked in UI (show first/last characters only)
- β’ Copy to clipboard for easy use
- β’ Delete compromised keys immediately
β‘ Monthly Quota: API usage counts against your monthly message limit. Extra messages can be purchased when quota is exceeded.
π Document Management API
Upload Document
POST /api/v1/documents β Asynchronous upload, returns 202 Accepted
- β’ File: multipart/form-data with file (.pdf, .docx, .txt, .md) β max 10 MB
- β’ description: Optional document description
- β’ replace_existing: "true" to overwrite same filename (default)
- β’ document_type: Category β legal, technical, academic, news, general (default)
Response: { "document_id": "uuid", "status": "pending" }
Upload Document as JSON
The same endpoint also accepts application/json β useful for scripts and AI agents. Send exactly one source:
- β’ content: Plain text or Markdown with a
filenameending in .md or .txt - β’ content_base64: A binary file (PDF, DOCX) encoded in base64 β up to about 3 MB
- β’ url: A public file URL that Chatbotty downloads (max 10 MB, plans with web URL upload)
- β’ upload_id: A file uploaded beforehand via an upload URL (see below)
To update a document, upload it again with the same filename.
Upload Large Files
POST /api/v1/documents/upload-url β Returns a one-time upload URL valid for 2 hours
- Request an upload URL with
{ "filename": "pricing.pdf" } - Upload the raw file to
upload_urlwith an HTTP PUT request (max 10 MB) - Call
POST /api/v1/documentswith{ "upload_id": "..." }to process it
Read Document Content
GET /api/v1/documents/{id}/content β Text content of a document, paginated by characters
- β’ offset / limit: Character range (default limit 20,000, max 50,000)
- β’ Markdown and text files are returned unchanged with a
content_hash, so you can edit them in place (see below) or upload them again - β’ PDF and DOCX files are returned as extracted text
Edit Document Content
PATCH /api/v1/documents/{id}/content β Change part of a Markdown or text document without sending the whole file
- β’ edits: Find and replace β each
old_textmust appear exactly once in the document. If any edit fails, nothing is changed - β’ append: Add a new section at the end of the document, or at the end of the section named in
after_heading - β’ expected_hash: Optional
content_hashfrom reading the document β if the document changed in the meantime, the edit is rejected (409 CONFLICT)
The edited document replaces the old one under a new document_id and is processed in the background. Until then, your chatbot keeps answering from the previous version. Only .md and .txt files can be edited this way.
List Documents
GET /api/v1/documents β Paginated list of chatbot documents
- β’ limit: Results per page (default 20, max 100)
- β’ offset: Pagination offset (default 0)
- β’ status: Filter by pending/processing/completed/failed
Get Document
GET /api/v1/documents/{id} β Document detail and status
Returns 404 if document doesn't exist or belongs to another chatbot.
Delete Document
DELETE /api/v1/documents/{id} β Delete document and all chunks
Response: { "deleted": true, "document_id": "uuid", "deleted_chunks": 42 }
π‘ Find examples: Code samples for all endpoints are available directly in the app under Dashboard β API & MCP.
π Response Format
Envelope Structure
All responses use a consistent envelope:
- β’
{ "success": true/false, "data": {...}, "timestamp": "..." } - β’ data: Response payload (message, sources, metadata). In chat responses,
metadata.tools_executedlists the tools the chatbot used, e.g.[{ "name": "get_weather", "ok": true }] - β’ error: Error object with
code,message,details
π‘ Full examples: Response format examples are available directly in the app under Dashboard β API & MCP.
β οΈ Important Notes
- β’ API keys are chatbot-specific - Each key works with one chatbot only
- β’ Up to 50 keys per chatbot - Create multiple keys for different applications
- β’ Keys can be disabled - Temporarily deactivate without deletion
- β’ Monthly quota applies - Limited by your subscription tier messages/month + extra messages purchased
- β’ Per-minute rate limits - Chat and analytics 60 req/min, reading conversations, documents and tickets 120 req/min, changes 60 req/min per API key; webhook test 20 req/min
- β’ No domain validation - API works from any origin (use with caution)
- β’ Conversation context - Every response returns a
conversation_id. Pass it in subsequent requests to maintain context β the system loads the last 20 messages automatically. Withoutconversation_id, each request starts a fresh standalone conversation with no context β this is perfectly fine if you don't need conversational memory (e.g. one-off data lookups). - β’ Secure your keys - Never expose API keys in client-side code
MCP Connector
π€ Work with Your Chatbot in AI Assistants
The MCP connector lets AI assistants work with your chatbot directly. Ask your AI assistant to find questions your chatbot could not answer, read the related conversations, and update your documents β without writing any code. It uses the Model Context Protocol (MCP) and the same features as the REST API.
It works with Claude and with any other AI tool that supports MCP, such as n8n, Cursor or VS Code. Claude connects by signing in to your Chatbotty account; other tools use the same API key as the REST API.
Server URL: https://www.chatbotty.ai/api/mcp
π Plans: Available on all plans, including Free.
π How to Connect
Claude (claude.ai) and Claude Desktop
- Open Settings β Connectors β Add custom connector
- Paste the server URL and confirm
- Sign in to Chatbotty and choose the chatbot to connect
Claude Code
claude mcp add --transport http chatbotty https://www.chatbotty.ai/api/mcp
Sign in through the browser, or add --header "Authorization: Bearer <API_KEY>" to use an API key.
Other AI tools (n8n, Cursor, VS Code and more)
Add a remote MCP server (Streamable HTTP) with the server URL and send an API key from Dashboard β API & MCP as a Bearer token: Authorization: Bearer <API_KEY>. It is the same API key you use for the REST API.
In n8n, use the MCP Client Tool node with Server Transport "HTTP Streamable" and Bearer Auth.
π‘ Ready-to-copy commands are in Dashboard β API & MCP.
π§° Available Tools
- β’ Chatbot info: Which chatbot is connected, your plan, message quota and knowledge base overview
- β’ Knowledge gaps: Questions your chatbot could not answer, with links to the conversations
- β’ Documents: List, read, upload, edit and delete documents β the AI can change just one passage or add a new FAQ section without rewriting the whole document
- β’ Conversations: Search and read conversations, filter by answer quality
- β’ Analytics: Summary, trends over time and top questions
- β’ Support tickets: List tickets, change status, add notes (plans with ticket management)
- β’ Webhook actions: Create, test, change and delete webhooks and their tools β connect your chatbot to an API with one sentence (Automate plan and Evaluation trial, see Webhook Actions)
- β’ Test the chatbot: Send a message and check the answer, including which tools the chatbot used (counts against your message quota)
β οΈ Important Notes
- β’ One connector = one chatbot - For another chatbot, add another connector
- β’ Disconnect - Signing in creates an API key labeled "MCP connector" in Dashboard β API & MCP. Delete it to revoke access
- β’ Editing documents - Without a local copy (e.g. in Claude on the web), the AI edits Markdown and text documents in place and sends only the change. If you keep the document as a file on your computer, edit it there and upload it again with the same filename. Each change creates a new version that is processed in the background
- β’ Limits - 300 MCP requests per minute per key, plus the limits of the underlying API endpoints
Conversations
π How It Works
The Conversation History feature automatically logs all chatbot sessions with comprehensive metadata for analytics, compliance, and quality assurance purposes.
- β’ Session Logging: Every conversation is recorded with unique session ID
- β’ Metadata Tracking: IP address, page URL, referrer, user agent
- β’ Timestamps: Precise timing for each message exchange
- β’ Contact Info: User-provided email and name when available
π Viewing Conversations
Access conversation history from Dashboard β Conversations in the main menu.
Available Filters:
- β’ Period: Filter by time period (this month, last 7 days, etc.)
- β’ Filter (Chatbot): Show conversations for a specific chatbot or all
- β’ Source: Filter by source (widget, API, etc.)
Columns Displayed:
- β’ Session ID, Date/Time, Chatbot name
- β’ Message count, Source, Contact email
- β’ IP address (anonymized), Page URL
π Conversation Details
Click on any conversation to view the full message history with detailed information.
- β’ Message Timeline: All user questions and AI responses
- β’ Timing Data: Exact timestamps for each message
- β’ Source Metadata: Page URL, referrer, user agent
- β’ Contact Information: Email and name if user provided them
π‘ Tip: Use conversation history to identify frequently asked questions and improve your chatbot's knowledge base. Patterns in user queries can help you add missing documentation.
Support Tickets
Support & Automate Feature
AI-powered support tickets are available on the Support and Automate plans and during the 14-day Evaluation trial.
π€ How It Works
The AI Support Ticket system automatically detects when the chatbot cannot answer a user's question and offers to create a support ticket for human follow-up.
- β’ Smart Detection: AI recognizes when it cannot provide a satisfactory answer
- β’ User Consent: System asks user if they want to create a ticket
- β’ Email Collection: Collects user's email for follow-up
- β’ AI Summary: Generates a summary of the conversation for support team
π Ticket Creation Flow
The multi-turn conversation flow for ticket creation:
- Trigger: AI detects unanswerable question or user expresses frustration
- Offer: "Would you like me to create a support ticket for you?"
- Consent: User confirms they want to proceed
- Email: "Please provide your email address for follow-up"
- Summary: AI generates conversation summary automatically
- Confirmation: Ticket created with reference number
π Managing Tickets
Access and manage support tickets from Dashboard β Support Tickets.
Status Workflow:
- β’ Open: New ticket awaiting review
- β’ In Progress: Support team working on the issue
- β’ Resolved: Issue addressed, awaiting confirmation
- β’ Closed: Ticket completed and archived
Available Actions:
- β’ View full conversation context
- β’ Update ticket status
- β’ Add internal notes
- β’ Send email response to user
βοΈ Configuration
Enable and configure support tickets in Chatbot Settings β Support Tickets tab.
- β’ Enable/Disable: Toggle ticket creation for this chatbot
- β’ Email Notifications: Receive alerts for new tickets
- β’ Auto-response: Custom message sent to user after ticket creation
- β’ Triggers: Configure when ticket offers are made
π‘ Tip: Review tickets regularly to identify gaps in your knowledge base. Common ticket topics indicate areas where you should add more documentation.
Webhook Actions
Automate Feature
Webhook actions are available on the Automate plan (up to 10 webhooks, up to 10 tools total across all webhooks) and during the 14-day Evaluation trial (up to 5 webhooks, up to 5 tools total across all webhooks).
π Overview
Webhook Actions allow your chatbot to interact with external systems through AI-triggered tool calls. Define custom webhooks with specific tools that the AI can invoke during conversations.
- β’ Custom Webhooks: Define endpoints with authentication
- β’ AI Tools: Specify tools the AI can call (e.g., get_order_status)
- β’ Parameters: Define required and optional parameters for each tool
- β’ Response Handling: AI processes webhook responses naturally
βοΈ Setting Up Webhooks
Configure webhooks in Dashboard β Webhooks for each chatbot.
- Create Webhook: Enter name, URL, and optional authentication headers or secret URL parameters
- Define Tools: Add tools the AI can call (e.g., get_order_status, check_inventory)
- Set Parameters: Define required parameters (e.g., order_id, product_sku)
- Test: Use the test feature to verify your webhook works correctly
- Activate: Enable the webhook for production use
Two modes
- β’ Automation webhook (default): For n8n, Make or Zapier. The request includes the tool name and the chatbot and conversation IDs. Use it when you need several requests in a row, data processing or your own private system (orders, CRM)
- β’ Direct API: The chatbot calls a public API itself. Tool parameters are sent under their own names (GET = query parameters, POST = JSON body) and no chatbot IDs are sent. Use it when one request returns the answer, e.g. weather or exchange rates
Limits: The chatbot calls tools once per answer (no chaining β e.g. geocoding then forecast needs n8n). Only the first 10 KB of the response reach the chatbot, so prefer endpoints that return small JSON. Timeout 1β30 seconds (default 10), no redirects.
π€ Set Up with an AI Agent
Connect Claude or another AI assistant through the MCP connector and describe what you need in one sentence. The agent picks a suitable API, creates the webhook and tools, tests them and asks your chatbot a sample question to check that the tool was used.
What the agent can do
- β’ Create a webhook with its tools in one step and test it with real arguments
- β’ Change an API key or a header without touching the rest of the setup
- β’ Edit a tool description or parameters, add or remove tools
- β’ Pause or delete a webhook (it asks you before deleting)
Example prompts
- β’ "Connect my chatbot to the weather so it can answer questions about current weather. Use Open-Meteo, it needs no key."
- β’ "Add current weather from OpenWeatherMap, here is my API key: β¦"
- β’ "Let the chatbot answer questions about exchange rates (EUR, USD, CZK)."
- β’ "Connect my n8n webhook https://β¦/webhook/order-status so the chatbot can tell customers where their order is."
- β’ "Change the weather API key to β¦" Β· "Make the weather tool also trigger on questions about rain." Β· "Delete the weather action."
π Keys stay secret: API keys are stored as secret URL parameters or headers and are never returned β neither to the agent nor in the dashboard. A key pasted into the URL (e.g. ?appid=β¦) is moved to the secret parameters automatically.
π n8n Integration
n8n is a powerful workflow automation tool that works seamlessly with our webhook system.
Quick Setup:
- Create a new workflow in n8n
- Add a Webhook trigger node (POST method)
- Copy the webhook URL to your chatbot webhook configuration
- Build your workflow logic (API calls, database queries, etc.)
- Return JSON response that the AI will process
Example Response Format:{"status": "shipped", "tracking": "1Z999AA1", "eta": "2024-01-15"}
π‘ Example Use Cases
π¦ Order Status Lookup
Customer asks "Where is my order?" β AI calls get_order_status with order number β Returns tracking info
π€ CRM Integration
User provides email β AI calls lookup_customer β Returns account details and recent activity
π Appointment Booking
User requests appointment β AI calls check_availability then book_appointment β Confirms booking
π Inventory Check
Customer asks about product availability β AI calls check_stock β Returns current inventory
π Security
- β’ HTTPS Required: All webhook endpoints must use HTTPS
- β’ Custom Headers: Add authentication tokens in headers
- β’ Secret URL Parameters: API keys that the API expects in the URL (e.g. appid, api_key) are added only when the call is made and never shown again
- β’ Timeout Handling: Configurable timeout (1β30 seconds) prevents hanging requests
- β’ SSRF Protection: Private IP addresses are blocked on every call and redirects are not followed
- β’ Rate Limiting: Built-in protection against excessive calls
β οΈ Important: Do not leave API keys in the webhook URL. Put them into headers or secret URL parameters β a key pasted into the URL is moved there automatically.
π‘ Tip: Start with simple read-only operations (like order lookup) before implementing write operations. Test thoroughly using the built-in webhook tester before activating in production.
Tips & Tricks for Document Preparation and Successful Chatbot Implementation
π Document Preparation
π Content Structuring
- β’ Thematic division: One file = one topic
- β’ Logical structure: Clear sections and headings
- β’ Easy updates: Change only relevant parts
- β’ Clarity: Quick content orientation
π Format and Naming
- β’ Text formats: TXT, DOC, DOCX (without images)
- β’ Clear names: Descriptive file names
- β’ Auto-update: Same name = replacement
- β’ Worry-free: Old version deleted automatically
π‘ Tip: Prepare documents in advance in plain text format. Images and complex formatting can worsen chatbot response quality.
π― Semantic Search
π How Chatbot Finds Answers
- β’ Semantic matching: Searches for similar meaning, not exact text
- β’ Keywords: Identifies important terms in query
- β’ Context: Considers entire sentence meaning
- β’ Similarity: Compares with existing information
βοΈ Optimal Formulation
- β’ Direct answers: "X is Y years old" instead of "X celebrated Y years"
- β’ Various formulations: Use different ways of expression
- β’ Expected questions: Think about possible user queries
- β’ Keywords: Include synonyms and variants
β Less suitable:
"Big Ben celebrated its 165th anniversary"
β Better:
"Big Ben is 165 years old"
Why: The second version better answers questions like "How old is Big Ben?" or "What is the age of Big Ben?"
π Analytics-Based Optimization
π Gap Analysis
- β’ Unanswered queries: Track frequent questions without answers
- β’ Low reliability: Identify queries with low confidence
- β’ Recurring problems: Find patterns in unsuccessful queries
- β’ User frustrations: Observe points where users get "stuck"
π― Targeted Improvements
- β’ Document expansion: Add missing information
- β’ Reformulation: Clarify unclear passages
- β’ New formulations: Add different ways of expression
- β’ Test and iterate: Test changes and measure improvements
π― Reliability Interpretation
< 30%
Unsuccessful answer
30-40%
Partially answered
> 40%
Successful answer
π‘ Tip: Test your modifications directly in the chatbot. Ask the same questions again and monitor reliability changes. The goal is to consistently achieve over 40% reliability.
Why such low values? For 100% reliability, the query would need to be identified exactly in the same wording in the document, which happens very rarely. Therefore, realistic values for English environment are lower.
β FAQ Optimization
π Most Frequent Queries Analysis
- β’ Track trends: Identify recurring questions
- β’ Prioritization: Focus on most frequent queries
- β’ Patterns: Look for similar formulations of the same question
- β’ Problems: Find queries with low reliability
π FAQ Document Creation
- β’ One paragraph = Q&A: Question and answer together
- β’ Natural language: Use common formulations
- β’ Complete answers: All necessary information at once
- β’ Various variants: Include synonyms and alternatives
β¨ Optimized FAQ Example
How long does passport application processing take?Passport application processing takes a standard 6-8 weeks from submission of a complete application. For urgent travel needs, expedited processing is available within 2-3 weeks for an additional $60 fee. You can collect your passport in person at the application center or have it mailed to your address.
π Result: FAQ document dramatically increases reliability of answers to most frequent queries. You'll satisfy 80-90% of user questions with high accuracy.
π Long-term Analysis
π Regular Monitoring
- β’ Weekly check: Track unsuccessful answers
- β’ Monthly overview: Analyze trends and changes
- β’ Partial answers: Identify areas for improvement
- β’ Problem patterns: Find recurring deficiencies
π€ Analytics exportNot in Free
- β’ CSV format: For MS Excel and Numbers
- β’ Detailed data: All queries and answers
- β’ Reliability: Confidence level for each query
- β’ Timestamp: Tracking trends over time
π Recommended Workflow
1. Weekly export
Download data from last week
2. Excel Analysis
Filter by reliability < 40%
3. Updates
Modify documents based on insights
π‘ For advanced users: Use Excel pivot tables to group similar queries and identify the most common problem areas.
π Using Web Sources
π Web URL scrapingNot in Free
- β’ Direct import: Load content from a web page by its URL
- β’ FAQ sections: Ideal for existing Frequently Asked Questions
- β’ Documentation: Use existing ready-made documentation
- β’ One-time import: The page is fetched once and processed like any other document
β Web Scraping Benefits
- β’ Time saving: No manual rewriting
- β’ Quick start: Get existing web content into the chatbot in seconds
- β’ Updates: Not automatic β when the page changes, import the URL again
- β’ Structured content: Headings and lists are preserved
π Ideal Sources for Scraping
β Suitable pages:
- β’ FAQ sections
- β’ Product documentation
- β’ Guides and procedures
- β’ Contact information
β Less suitable:
- β’ Pages with many images
- β’ Navigation menus
- β’ Advertisement content
- β’ JavaScript generated content
π‘ Tip: If you have a clean FAQ or documentation page on your website, URL import saves you manual rewriting.
β οΈ Best results: Most web pages contain a lot of clutter β menus, footers, cookie banners, ads β which lowers answer quality. Clean Markdown files work much better. You can also let an external AI agent extract the content from your website, save it as Markdown and upload it to your chatbot via the MCP connector.
π‘ Tips for Getting the Most Value
Get better answers from your chatbot and make the most of your monthly message quota with these tips:
π Document Quality:
- β’ Remove unnecessary content before upload β cleaner documents = more accurate answers
- β’ Use well-structured documents with clear headings and sections
- β’ Avoid duplicate information across documents
β Encourage Good Questions:
- β’ Specific, focused questions get better answers than vague ones
- β’ Well-prepared documents lead to faster, more precise responses
π Monitor Your Usage:
- β’ Track your message quota in dashboard analytics
- β’ For seasonal traffic spikes, use extra message add-ons instead of upgrading your plan
- β’ Review monthly trends to decide if your current plan fits your needs
Troubleshooting
β οΈ Common Issues
π€ Chatbot Not Responding
Possible causes:
- β’ Monthly message limit exceeded
- β’ Domain is blocked by restrictions
- β’ Rate limiting activated
- β’ Widget loading error
Solution:
- β’ Check usage in dashboard
- β’ Verify allowed domains
- β’ Browser developer tools β Network tab
- β’ Contact support with error details
π Document Not Processing
Common problems:
- β’ File larger than plan limit
- β’ Unsupported format
- β’ Corrupted or password-protected PDF
- β’ Processing queue overload
Diagnostics:
- β’ Check file size vs plan limit
- β’ Try selecting text in PDF
- β’ Processing status in documents
- β’ Retry upload if stuck
π Widget Won't Load
Loading problems:
- β’ CORS policy blocking
- β’ Script loading timeout
- β’ CSP (Content Security Policy)
- β’ Ad blocker interference
Solution steps:
- β’ Error messages in browser console
- β’ Try different browser/incognito
- β’ Temporarily disable ad blockers
- β’ Check allowed domains settings
π Support Contact
π§ Email Support
support@chatbotty.ai
- β’ Priority plans: within 24h (exceptionally up to 48h)
- β’ Free plans: usually within 72h
- β’ Attachments: Screenshots, logs welcome
π What to Include
- β’ Browser type and version
- β’ Error message or screenshot
- β’ Chatbot ID and widget URL
- β’ Reproduction steps
- β’ Console errors (F12)