Handle Telegram support, payments, and logo orders with Mistral and Gemini
Needs changesNeeds changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.
What to replace before upgrading
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) Generates AI responses, maintains context, retrieves info (v1.9), Summarizes audio for concise replies1 (v1.9) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (16)
- Telegram Trigger
n8n-nodes-base.telegramTrigger - Switch
n8n-nodes-base.switch - AI Agent Tool
@n8n/n8n-nodes-langchain.agentTool - Think Tool
@n8n/n8n-nodes-langchain.toolThink - AI Agent
@n8n/n8n-nodes-langchain.agent - Date & Time
n8n-nodes-base.dateTime - Telegram
n8n-nodes-base.telegram - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Google Sheets
n8n-nodes-base.googleSheets - Google Gemini
@n8n/n8n-nodes-langchain.googleGemini - Limit
n8n-nodes-base.limit - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Mistral Cloud Chat Model
@n8n/n8n-nodes-langchain.lmChatMistralCloud - Schedule Trigger
n8n-nodes-base.scheduleTrigger
What it does
Who it's for This n8n workflow is designed for Telegram bot administrators and customer service managers who want to automate customer support and payment verification processes. The workflow creates an intelligent Telegram bot assistant that can handle various message types, process payments, and manage customer interactions through natural language commands. Features - Intelligent AI Assistant: Powered by Mistral AI with specialized system prompts for customer support operations - Telegram Integration: Complete webhook-based implementation for seamless Telegram Bot API operations - Multi-format Message Handling: Processes text, voice, image, document, and video messages automatically - Payment Verification: Automated payment slip analysis using Google Gemini AI to extract transaction details - Customer Management: Logs new users, tracks payment information, and maintains conversation history - Order Processing: Identifies and confirms service orders (Logo Design, Stage Design, Banner Design) - Context-Aware Automation: Uses conversation history and Google Sheets data to provide personalized responses Requirements - Telegram Bot API Token: For accessing your Telegram bot and receiving messages - Mistral AI API Credentials: For powering the AI assistant - Google Sheets API: For storing customer data and payment information - Google Gemini API: For analyzing payment receipt images Configure Credentials - Telegram Bot API: Configure with proper webhook URL and token from BotFather - Mistral AI: Set up with appropriate model access - Google Sheets: Configure with appropriate permissions for reading/writing data - Google Gemini: Set up with image analysis capabilities Important Notes - Webhook Setup: The workflow includes a Telegram Trigger that must be properly configured for production use - Message Routing: The bot automatically routes different message types to appropriate processing paths - Payment Verification: Image analysis extracts transaction ID, amount, date, and time from payment receipts - Order Confirmation: The system identifies service orders and sends confirmation messages - Admin Notifications: Special handling for admin/moderator requests with notification forwarding - Rate Limiting: The workflow includes appropriate delays to prevent Telegram API rate limiting - Data Storage: All customer interactions and payment information are stored in Google Sheets Support & Help - WhatsApp: Chat on WhatsApp - Discord: SpaGreen Community - Facebook Group: SpaGreen Support - Website: spagreen.net - Developer Portfolio: Codecanyon SpaGreen