Build a powerful, responsive Telegram chatbot using this complete n8n workflow. Integrate Google Gemini Pro for intelligent replies and use Google Docs as a dynamic knowledge source. Download these n8n templates to automate customer support or personal assistant functions.
Download this n8n workflow template and start using it instantly.
Automation Developers: Seeking robust n8n workflow examples integrating advanced AI and cloud services.
Community Managers: Needing an automated support or FAQ bot for their Telegram channels.
Entrepreneurs: Looking to deploy a low-cost, intelligent virtual assistant on Telegram.
AI Enthusiasts: Interested in using Google Gemini and other LLMs within an n8n node structure.
Developing a conversational AI agent often requires complex API management and flow control. This specific n8n workflow simplifies the process, providing a ready-to-use solution for linking a Telegram bot directly to Google Gemini Pro. The major value of this n8n templates solution is its inclusion of 'tools'—specifically, the ability for the AI to dynamically query a Google Docs document for contextual information or execute external HTTP requests. This transforms a simple Q&A bot into a comprehensive, context-aware assistant. Using this n8n automation, you can ensure timely, intelligent responses while utilizing flow control nodes like Wait to prevent rate-limiting issues and maintain professional pacing.
The n8n workflow is activated instantly via the specialized n8n trigger for Telegram.
To deploy this comprehensive n8n workflow, follow these steps:
Get a document in Google Docs n8n node and the URL in the HTTP Request n8n node to match your required knowledge base and external API endpoints.This n8n workflow utilizes several specialized n8n node types to achieve its goal:
Telegram Trigger (n8n trigger):
Function: This is the starting n8n node, listening for new 'message' updates from the configured Telegram bot. It initiates the entire n8n automation.
Key Configuration: Updates parameter is set to message.
Loop Over Items1 (n8n node):
Function: Used for robust flow control, ensuring that every incoming message is processed individually or in controlled batches before proceeding to the AI logic.
Message a model (Google Gemini Pro n8n node):
Function: The central intelligence n8n node. It sends the Telegram user's prompt to the Gemini 2.5 Pro model for processing and response generation. It integrates 'tool' nodes for enhanced capability.
Key Configuration: Uses model models/gemini-2.5-pro.
Get a document in Google Docs (n8n node Tool):
Function: Configured as a tool accessible by the Gemini model, allowing the AI to fetch and use content from a specified Google Docs URL (a dynamic knowledge base).
HTTP Request (n8n node Tool):
Function: Another tool for the Gemini n8n node, enabling the AI to make external web calls (e.g., fetching real-time data or checking stock).
Key Configuration: Placeholder URL: https://devcodejourney.com/.
Send a text message (n8n node):
Function: Responsible for delivering the final AI response back to the Telegram user. It uses an expression to dynamically target the sender's chat ID.
Key Configuration: text is set to ={{ $json.content.parts[0].text }}.
Wait 1s (n8n node):
Function: Implements necessary pacing control by pausing the n8n workflow for one second between replies, which is essential when deploying high-volume n8n templates like chatbots.
Deploy a tax code assistant using this advanced n8n workflow. Integrate Qdrant vector search, Mistral embeddings, and OpenAI LLM for precise legal querying and structured RAG.

This advanced n8n workflow uses AI web scraping (ScrapeGraphAI) to extract support data, run complex SLA and escalation analytics via a Code n8n node, and sync results to Google Sheets and Slack for real-time monitoring. Get high-value n8n templates for ops.

A powerful n8n workflow template utilizing Gemini AI and PostgreSQL for a high-performance, cost-optimized Telegram chatbot with dynamic model selection based on task complexity.

Use this powerful n8n workflow to deploy a Telegram mental health assistant leveraging GPT-4o. Get empathetic validation, coping mechanisms, or insights based on user input tags like #vent, #cope, or #insight.

Deploy a powerful AI Q&A bot using this comprehensive n8n workflow. It handles text and voice input (via Mistral transcription) and performs real-time RAG using Linkup web search. This complete n8n template streamlines support.

I build intelligent systems that automate tasks, streamline workflows, and enhance user experiences using tools like n8n, AI chatbots, and modern automation platforms. With a passion for solving real-world problems through smart technology, I create custom solutions that help individuals and businesses save time, scale faster, and work smarter. Whether it's integrating APIs, building no-code/low-code automations, or developing conversational AI, I'm always exploring the edge of what's possible.







































