Block 1 - Telegram Trigger
- Type / Role
- n8n-nodes-base.telegramTrigger - telegramTrigger
- Config choices
- Version 1.2
Telegram E Commerce Customer Support Bot with AI Agent & Google Sheets An AI powered Telegram bot that automates customer support for e commerce stores — handling order tracking, order cancellation...
n8n-nodes-base.telegramtrigger, n8n-nodes-base.code, n8n-nodes-base.if, n8n-nodes-base.telegram, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatgooglegemini, @n8n/n8n-nodes-langchain.memorybufferwindow, n8n-nodes-base.googlesheetstool
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Nirav Gajera.
Original n8n.io sourceAn AI-powered Telegram bot that automates customer support for e-commerce stores — handling order tracking, order cancellations, and support ticket creation, all without human intervention.
Built with a Gemini AI Agent + Simple Memory, the bot understands natural language, remembers the conversation context per user, and reads/writes directly to your Google Sheets — no database or backend required.
Cancelled after confirmationStep 1 — Create a Telegram Bot
Open @BotFather on Telegram, run /newbot, and copy your bot token. Add it as a Telegram credential in n8n.
Step 2 — Set Up Google Sheets
Create a Google Spreadsheet with two sheets (tabs):
Sheet 1 — Sheet1 (Orders):
| order_id | customer_name | email | product | Status | date |
Sheet 2 — Sheet1 (Support Tickets — separate spreadsheet):
| ticket_id | name | order_id | query | summary | category | status | created_at | telegram_id |
Step 3 — Add Credentials in n8n
Step 4 — Update Sheet IDs
In the three Google Sheets tool nodes, replace the documentId values with your actual spreadsheet IDs (found in the Google Sheets URL).
Step 5 — Activate & Register Webhook Activate the workflow in n8n. If running locally, use ngrok to expose your n8n port over HTTPS, then register the webhook:
https://api.telegram.org/bot<YOUR_TOKEN>/setWebhook?url=https://<YOUR_NGROK_URL>/webhook/telegram-ecom-bot
Step 6 — Test
Open your bot in Telegram and send /start. You should see the welcome message with three menu buttons.
Google Gemini Chat Model node/start welcome node with additional inline keyboard buttons and update the system prompt to handle new intentsCreate Support Ticket tool to notify your team when a new ticket is raisedReady in addition to Shipped)phone column and update the system prompt accordinglyThis catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
| Workflow | Handle e-commerce support on Telegram with Gemini and Google Sheets |
|---|---|
| Complexity | advanced |
| Nodes | 18 |
| Categories | Support Chatbot, AI Chatbot |
| Author | Nirav Gajera |
| Published | 01 Apr 2026 |
Use the JSON export at /data/workflows/14550/14550.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
Telegram E Commerce Customer Support Bot with AI Agent & Google Sheets An AI powered Telegram bot that automates customer support for e commerce stores — handling order tracking, order cancellation...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Support Chatbot, AI Chatbot use case.