Skip to main content
Quickstart Guide

EasyAIWrapper Documentation

Welcome to EasyAIWrapper. Deploy autonomous AI bots across Telegram, Discord, and your website in 60 seconds — with real-time lead capture, knowledge base retrieval, and HubSpot CRM syncing.

How to Deploy in 3 Steps:

1

Get Bot Token

Generate a free bot token from Telegram (@BotFather) or Discord Developer Portal.

2

Paste on Deploy

Paste token on /deploy. Our validator verifies permissions instantly.

3

Live 24/7

Your AI bot is hosted in a secure isolated container responding around the clock.

Telegram Bot Setup

Takes less than 1 minute using Telegram's official @BotFather

  1. Open Telegram and search for @BotFather.
  2. Send the message /newbot.
  3. Give your bot a display name (e.g. Acme Support Bot).
  4. Choose a unique username ending in bot (e.g. acme_support_bot).
  5. BotFather will reply with your API token (format: 123456789:ABCdefGHIjklMNOpqrsTUVwxyz).
  6. Paste this token into the Deploy Wizard.
Security Notice: All bot tokens are encrypted in our database using AES-256-GCM. EasyAIWrapper never exposes raw tokens.

Discord Bot Setup

Configure your bot application in the Discord Developer Portal

Step 1: Create Application

Go to discord.com/developers/applications and click New Application.

Step 2: Generate Bot Token

Navigate to the Bot tab → Click Reset Token → Copy the generated token.

Step 3: Enable Message Content Intent (Mandatory)

Under the Bot tab, scroll down to Privileged Gateway Intents and switch ON Message Content Intent. Click Save Changes.

Step 4: Invite Bot to Your Server

Go to OAuth2 → URL Generator → Select scopes bot and permissions Send Messages, Read Message History. Paste the invite link into your browser to invite the bot.

Website Embeddable Chat Widget

Embed your AI bot directly on any HTML site, WordPress, Shopify, Next.js, or Webflow

Every bot you create on EasyAIWrapper automatically gets a standalone embeddable chat widget script. You can customize the greeting message, brand accent color, and screen position.

Embed Code Snippet:

<script
  src="https://easyaiwrapper.com/widget.js"
  data-bot-id="YOUR_BOT_ID"
  data-color="#4f46e5"
  data-greeting="Hi there! How can I help you today?"
  data-position="right"
></script>
  • No dependencies: Pure vanilla JS, < 15KB bundle size.
  • Lead capture enabled: Automatically captures visitor contact info from widget conversations.
  • Live Sandbox: Test the embed widget directly inside your Dashboard's Website Widget tab.

Knowledge Base (RAG Ingestion)

Ground your AI in your company documents, pricing FAQs, and product catalogs

Upload your business documents to your bot. When a user asks a question, our backend uses semantic retrieval to provide grounded, factual responses without hallucinations.

Supported Document Formats

  • • PDF (.pdf): Text extraction via vector parsing
  • • Word Documents (.docx): Mammoth document parsing
  • • Spreadsheets (.csv): Tabular data parsing
  • • Plain text (.txt, .md): Raw text ingestion

Storage Limits

  • • Starter Plan ($29/mo): 5 documents, 10MB total storage
  • • Growth Plan ($99/mo): 25 documents, 100MB total storage
  • • Enterprise Plan: Unlimited documents & custom embedding size

HubSpot CRM 1-Click Integration

Available on Growth ($99/mo) and Enterprise plans

Automatically sync every qualified lead captured by your Telegram, Discord, or Website bots directly into your HubSpot Contacts database in real-time via OAuth 2.0.

Contact Properties Synced: First Name, Email, Phone Number, Lead Channel (Telegram/Discord/Widget), and Lead Confidence Score (0–100%).
1-Click OAuth Connect: Click "Connect HubSpot CRM" in your Dashboard's Integrations tab to authorize with HubSpot in seconds.
Automatic Deduplication: Existing contacts in HubSpot are updated with latest conversation notes without creating duplicates.

Outbound Webhooks

Real-time HTTP POST event dispatching for Zapier, Make, n8n, and custom backend servers

Whenever a bot qualifies a visitor and captures contact details, an HTTP POST payload is instantly dispatched to your configured webhook URL.

Webhook JSON Payload Schema:

{
  "event": "lead.captured",
  "lead": {
    "id": "lead_clx9823...",
    "name": "Alex Johnson",
    "email": "alex@company.com",
    "phone": "+1 555-0199",
    "needs": "Looking for enterprise AI bot integration",
    "score": 92,
    "platform": "telegram",
    "capturedAt": "2026-08-30T12:00:00Z"
  }
}

Lead Capture & Confidence Scoring

Automated NLP parsing and algorithmic qualification

Our conversation parsing pipeline evaluates messages in real-time to identify visitor intent and extract contact info. Each lead receives an objective 0–100% Lead Confidence Score:

High Intent (80–100%)

Contains email/phone + specific purchasing/pricing questions or urgent timelines.

Medium Intent (50–79%)

Visitor provided email or username with general inquiry about product capabilities.

Low / Info (0–49%)

Exploratory queries without explicit contact details or booking requests.

Pricing Plans & Dodo Payments

Transparent billing powered by Dodo Payments with multi-currency support

Starter

$29 / mo
  • • 1 Active Bot (Telegram or Discord)
  • • 10,000 Messages / month
  • • Full Unmasked Leads & CSV Export
  • • 1 Outbound Webhook
  • • Standard AI (GPT-4o-mini)
Most Popular

Growth

$99 / mo
  • • 5 Active Bots (Telegram & Discord)
  • • 30,000 Messages / mo (1k Power)
  • • HubSpot CRM 1-Click OAuth Sync
  • • 5 Outbound Webhooks
  • • Power AI (OpenAI GPT-4o)
  • • 0–100% Lead Confidence Scoring

Enterprise

Custom
  • • Unlimited Bots & Messages
  • • 100% White-Label Branding
  • • Dedicated Customer Manager
  • • 99.99% Uptime Guarantee & SLA

All checkouts are processed securely via Dodo Payments with automated multi-currency conversion for USD ($), INR (₹), EUR (€), and GBP (£).

AI Prompts & Response Tuning

You can configure each bot's behavior from the Bot Settings tab in your dashboard:

Custom System Prompt: Instruct the bot on who it is, your company tone, how to handle edge cases, and when to ask for email/phone numbers.
Response Style Tone Presets: Choose between Professional, Formal, Casual, or Friendly.
Conversation Memory: Adjust how many past turns of context the bot retains during multi-turn chats.

LLM Model Latency & Webhook Performance Matrix

Real-world roundtrip latency benchmarks measured within Telegram & Discord webhook dispatch loops:

ModelAvg Webhook LatencyTime to First Token (TTFT)Context WindowRecommended Tier & Use Case
GPT-4o Mini~850ms220ms128kFree & Starter — High-speed FAQ & deflection
Claude 3.5 Sonnet~1,550ms380ms200kGrowth & Enterprise — Complex technical guilds & code
GPT-4o (Full)~1,400ms340ms128kGrowth & Enterprise — Advanced SDR qualification & negotiation
Gemini 1.5 Flash~790ms190ms1MHigh-volume community chats & massive PDF catalogs

Battle-Tested Prompt Engineering Templates

Template 1: Autonomous Inbound B2B SDROptimized for HubSpot Sync
You are an elite Sales Development Representative (SDR) for [Company Name].
GOALS:
1. Answer visitor questions accurately using ONLY the verified Knowledge Base.
2. Inquire naturally about their business volume, current tech stack, and primary bottleneck.
3. When buying intent is identified, prompt: "I can set up a personalized demo for you. What is your name and work email so our team can send the calendar invite?"
GUARDRAILS:
- Keep answers under 3 concise sentences. Never overwhelm the user.
- Do not invent pricing or discounts not listed in the Knowledge Base.
Template 2: Strict RAG Community Support BotZero Hallucination
You are the official Support Assistant for the [Community Name] Discord/Telegram.
RULES:
1. Rely strictly on retrieved documentation chunks.
2. If the user asks about an issue not covered in the knowledge base, state politely: "I don't have verified documentation on that topic yet. Let me flag this for our human support team."
3. Never give financial advice, speculative token predictions, or unverified technical workarounds.
Template 3: Local Business Appointment AssistantHVAC / Dental / Medical
You are the front desk scheduling assistant for [Clinic/Business Name].
RESPONSIBILITIES:
1. Provide accurate business hours, location details, accepted insurances, and service pricing.
2. For appointment inquiries, ask: "I'd be happy to check available slots for you. What is your preferred day, your full name, and your callback phone number?"
3. Confirm details clearly before submitting.

Troubleshooting

Telegram bot doesn't answer?

Ensure the token was entered without leading/trailing whitespace. If you restarted your bot in BotFather, generate a new token and update it in your bot settings.

Discord bot online but ignores messages?

Ensure Message Content Intent is switched ON in Discord Developer Portal under Bot → Privileged Gateway Intents.

How do I upgrade or change my plan?

Visit /upgrade or click Upgrade in your dashboard to switch plans directly without interrupting active bots.

Frequently Asked Questions

Do I need to pay for an OpenAI API key separately?

No. EasyAIWrapper handles all AI model hosting and API inference costs under your monthly subscription quota.

Can I cancel anytime?

Yes. Subscriptions are billed monthly with no lock-in contracts. You can cancel with 1 click in your dashboard.

Is my data private and secure?

Yes. All bot tokens are encrypted with AES-256. We adhere to GDPR principles and provide automated 1-click data export and account deletion.

Ready to Launch Your AI Sales & Support Rep?

Deploy on Telegram, Discord, or your website in 60 seconds with 0 code required.