Create an AI-Powered Telegram Customer Support Bot with Lead Management
🧠 AI Telegram Customer Support Assistant + Lead Manager
This n8n workflow provides a fully automated AI-driven customer support assistant connected to Telegram, with built-in lead management, knowledge-base querying, and context-aware answers.
⭐ What this workflow does
Receives user messages from Telegram
Logs all incoming/outgoing messages into a Data Table
Checks if a lead exists for the user (via chat_id)
Creates new leads automatically if needed
Builds an AI-ready context (user info + lead info + latest message)
Uses the AI Agent to answer questions using:
FAQ database
Services table (programs, prices, descriptions)
Settings table (agency info)
Lead update tool
Sends a natural, friendly reply back to Telegram
Updates leads in real time (name, phone, email, notes…)
📦 Required Data Tables (to be created by the user)
leads Stores all user information (full_name, phone, email, etc.)
services List of available programs/services with prices, duration, category.
faq Frequently asked questions with answers and optional tags.
settings Company/agency details used by the assistant.
chat_logs Logs all messages exchanged with users (user + bot).
🔧 Required Credentials
Telegram Bot API Key
AI Model Credential (OpenAI, OpenRouter, Groq…)
No other credentials required.
🚀 How to use it
Import the workflow into your n8n instance
Create the required Data Tables as defined inside the Sticky Notes
Add your credentials (Telegram + AI Model)
Customize the prompt to match your business
Activate the workflow — you're ready to go!
💡 Suitable for:
Travel agencies
Customer support chatbots
Lead qualification + automation
AI knowledge-based assistants
Telegram-first businesses
Related Templates
Generate Product Ad Copy & CTAs with GPT-4 for Slack and Airtable
⚡ AI Copywriter Pro: Instant Ad Copy & CTA Generator Transform product details into compelling marketing copy in second...
Auto-classify Gmail emails with AI and apply labels for inbox organization
Who is this for? Professionals and individuals who receive high volumes of emails, those who want to automatically organ...
Instagram Full Profile Scraper with Apify and Google Sheets
📸 Instagram Full Profile Scraper with Apify and Google Sheets This n8n workflow automates the process of scraping ful...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments