Skip to main content

Handle Telegram support, payments, and logo orders with Mistral and Gemini

Workflow preview

Workflow preview
100%
Handle Telegram support, payments, and logo orders with Mistral and Gemini preview
Open on n8n.io

1. Workflow Overview

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 creat...

Best for

  • Support Chatbot automation workflows
  • AI Chatbot automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.telegramtrigger, n8n-nodes-base.switch, @n8n/n8n-nodes-langchain.agenttool, @n8n/n8n-nodes-langchain.toolthink, n8n-nodes-base.stickynote, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.datetime, n8n-nodes-base.telegram

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by SpaGreen Creative.

Original n8n.io source

1.1 Workflow description

Title
Handle Telegram support, payments, and logo orders with Mistral and Gemini
Workflow name
Handle Telegram support, payments, and logo orders with Mistral and Gemini

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

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Telegram Trigger

Type / Role
n8n-nodes-base.telegramTrigger - telegramTrigger
Config choices
Version 1.2

Block 2 - Route Types

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.2

Block 3 - Research

Type / Role
@n8n/n8n-nodes-langchain.agentTool - agentTool
Config choices
Version 2.2

Block 4 - Think

Type / Role
@n8n/n8n-nodes-langchain.toolThink - toolThink
Config choices
Version 1

Block 5 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 6 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 7 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 8 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 9 - Generates AI responses, maintains context, retrieves info

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.9

Block 10 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Date & Time

Type / Role
n8n-nodes-base.dateTime - dateTime
Config choices
Version 2

Block 12 - Send a docs message replay

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 13 - Memory

Type / Role
@n8n/n8n-nodes-langchain.memoryBufferWindow - memoryBufferWindow
Config choices
Version 1.3

Block 14 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Code (detect Payment related text)

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 16 - If (again detect Payment related text)

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.3

Block 17 - Summarizes audio for concise replies1

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.9

Block 18 - Switch

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.4

Block 19 - Sticky Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 20 - Send video message replay

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 21 - Send a voice message reply

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 22 - Send payment issue message

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 23 - Append row in sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 24 - Get Prove form User

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Showing the first 24 of 61 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Handle Telegram support, payments, and logo orders with Mistral and Gemini
Complexity advanced
Nodes 61
Categories Support Chatbot, AI Chatbot
Author SpaGreen Creative
Published 21 Apr 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/15190/15190.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

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.

Frequently asked questions

What does Handle Telegram support, payments, and logo orders with Mistral and Gemini do?

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 creat...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

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.