{
  "workflow": {
    "id": 2743,
    "name": "Automate Telegram chat responses using Google Gemini",
    "views": 2355,
    "recentViews": 0,
    "totalViews": 2355,
    "createdAt": "2025-01-17T10:27:30.536Z",
    "description": "# Automate Telegram Chat Responses Using Google Gemini\n\n***By [WeblineIndia](https://n8n.io/creators/weblineindia/)***\n\n---\n\n## ⚡ TL;DR (Quick Steps)\n1. **Create a Telegram bot** using [@BotFather](https://t.me/BotFather) and copy the API Token.\n2. **Obtain Google Gemini API Key** via Google Cloud.\n3. **Set up the n8n workflow**:\n   - Trigger: Telegram message received.\n   - AI Model: Google Gemini generates response.\n   - Output: AI reply sent back to user via Telegram.\n4. **Customize the system prompt**, model, or message handling to suit your use case.\n\n---\n\n## 🧠 Description\nThis n8n workflow enables seamless automation of real-time chat replies in **Telegram** by integrating with **Google Gemini's Chat Model**. Every time a user sends a message to your Telegram bot, the workflow routes it through the Gemini AI, which analyzes and crafts a professional response. This reply is then automatically delivered back to the user.\n\nThe setup acts as a lightweight but powerful chatbot system — ideal for businesses, customer service, or even personal productivity bots. You can easily modify its tone, intelligence level, or logging mechanisms to cater to specific domains such as sales, tech support, or general Q&A.\n\n---\n\n## 🎯 Purpose of the Workflow\nThe primary goal of this workflow is to **automate intelligent, context-aware chat responses in Telegram** using a robust AI model. It eliminates manual reply handling, enhances user engagement, and ensures 24/7 interaction capabilities — all through a no-code or low-code setup using n8n.\n\n---\n\n## 🛠️ Steps to Configure and Use\n\n### ✅ Pre-Conditions / Requirements\n- **Telegram Bot Token**: Get it from [@BotFather](https://t.me/BotFather).\n- **Google Gemini API Key**: Available via Google Cloud PaLM/Gemini API access.\n- **n8n Instance**: Hosted or local instance with required nodes installed (`Telegram`, `Basic LLM Chain`, and `Google Gemini` support).\n\n---\n\n### 🔧 Setup Instructions\n\n#### Step 1: Telegram Trigger – Listen for Incoming Messages\n- Add **Telegram Trigger** node.\n- Select **Trigger On: Message**.\n- Authenticate using your **Telegram Bot Token**.\n- This will capture incoming messages from any user interacting with your bot.\n\n#### Step 2: Google Gemini AI – Generate a Smart Reply\n- Add the **Basic LLM Chain** node.\n- Connect the input message (`{{$json.message.text}}`) from the Telegram Trigger.\n- System Prompt:  \n  &gt; \"You are an AI assistant. Reply to the following user message professionally:\"\n- Choose **Google Gemini Chat Model** (`models/gemini-1.5-pro`).\n- Connect this node to receive the text input and pass it to Gemini for processing.\n\n#### Step 3: Telegram Reply – Send the AI Response\n- Add a **Telegram** node (Operation: Send Message).\n- Set **Chat ID** dynamically from the Telegram Trigger node.\n- Input the generated message from the Gemini output.\n- Enable **Parse Mode** as `HTML` for rich formatting.\n\n#### Final Step: Link All Nodes\n- `Receive Telegram Message` → `Generate AI Response` → `Send Telegram Reply`.\n\n&gt; Tip: Test the workflow by sending a message to your Telegram bot and ensure you receive an AI-generated reply.\n\n---\n\n## 🧩 Customization Guidance\n- ✏️ **Modify the AI tone** by updating the system prompt.\n- 🤖 **Use other AI models** (e.g., OpenAI GPT-4o).\n- 🔍 **Add filters** to respond differently based on specific keywords.\n- 📊 **Extend the workflow** to store chats in Google Sheets, Airtable, or databases for audit or analytics.\n- 🌐 **Multi-language support**: Add translation layers before and after AI processing.\n\n---\n\n## 🛠️ Troubleshooting Guide\n- **No message received?** Check if your Telegram bot is active and webhook is working.\n- **AI not responding?** Validate your Google Gemini API key and usage quota.\n- **Wrong replies?** Refine the system prompt or validate message routing.\n- **Formatting issues?** Ensure Parse Mode is correctly set to `HTML`.\n\n---\n\n## 💡 Use Case Examples\n- **Customer Service Chatbot** for product queries.\n- **Educational Bots** for answering user questions on a topic.\n- **Mental Health Companion** that gives supportive replies.\n- **Event-based Announcers** or automatic responders during off-hours.\n\n&gt; And many more! This workflow can be easily extended to support advanced use cases with just a few additional nodes.\n\n---\n\n## 👨‍💻 About the Creator\n\nThis workflow is developed by **WeblineIndia**, a trusted provider of AI development services and process automation solutions.  \n\nIf you're looking to build or customize intelligent workflows like this, we invite you to [get in touch with our team](https://www.weblineindia.com/contact-us.html). We also offer specialized [Python development](https://www.weblineindia.com/python-development.html) and [AI developer hiring services](https://www.weblineindia.com/hire-ai-developers.html) to supercharge your automation needs.\n",
    "workflow": {
      "id": "q6efK3tLFrshFP2S",
      "meta": {
        "instanceId": "14e4c77104722ab186539dfea5182e419aecc83d85963fe13f6de862c875ebfa"
      },
      "name": "Automate Telegram Chat Responses Using Google Gemini",
      "tags": [],
      "nodes": [
        {
          "id": "33ef7486-add2-4217-839a-49d5de484c0a",
          "name": "Google Gemini Chat Model",
          "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
          "position": [
            860,
            160
          ],
          "parameters": {
            "options": {},
            "modelName": "models/gemini-1.5-pro"
          },
          "credentials": {
            "googlePalmApi": {
              "id": "credential-id",
              "name": "googlePalmApi Credential"
            }
          },
          "typeVersion": 1
        },
        {
          "id": "cbb7c2ab-15fa-4ccb-8950-c7a82176ed12",
          "name": "Sticky Note",
          "type": "n8n-nodes-base.stickyNote",
          "position": [
            380,
            -80
          ],
          "parameters": {
            "color": 5,
            "width": 1040,
            "height": 380,
            "content": "## Automate Telegram Chat Responses Using Google Gemini"
          },
          "typeVersion": 1
        },
        {
          "id": "c8d5f87a-a0d6-4db1-9d3e-8fb6590974c7",
          "name": "Sticky Note1",
          "type": "n8n-nodes-base.stickyNote",
          "position": [
            380,
            320
          ],
          "parameters": {
            "color": 5,
            "width": 1040,
            "content": "## Description :\nThis n8n workflow is built by WeblineIndia's AI Team and it automates real-time chat responses in Telegram using Google's Gemini Chat Model. When a user sends a message on Telegram, the Google Gemini AI model processes it and generates a response, which is then sent back to the user via Telegram.\n"
          },
          "typeVersion": 1
        },
        {
          "id": "138b1659-155e-4154-b875-683661be1837",
          "name": "Receive Telegram Message",
          "type": "n8n-nodes-base.telegramTrigger",
          "notes": "This node captures incoming messages from Telegram.",
          "position": [
            480,
            0
          ],
          "webhookId": "83efceb7-b82d-4799-8594-3619c17a3d1e",
          "parameters": {
            "updates": [
              "message"
            ],
            "additionalFields": {}
          },
          "notesInFlow": true,
          "typeVersion": 1.1
        },
        {
          "id": "4b4fc565-981d-4cfe-b22b-6d9deb0df14a",
          "name": "Generate AI Response",
          "type": "@n8n/n8n-nodes-langchain.chainLlm",
          "notes": "This node processes the message using Google Gemini AI and generates a response.",
          "position": [
            740,
            0
          ],
          "parameters": {
            "text": "how can you help me?",
            "messages": {
              "messageValues": [
                {
                  "message": "={{ $json.message.text }}"
                }
              ]
            },
            "promptType": "define"
          },
          "notesInFlow": true,
          "typeVersion": 1.5
        },
        {
          "id": "8b022acb-e9f6-499c-a71e-e1675899ff05",
          "name": "Send Telegram Reply",
          "type": "n8n-nodes-base.telegram",
          "notes": "This node sends the AI-generated response back to the user on Telegram.",
          "position": [
            1120,
            0
          ],
          "webhookId": "e19e7d28-e39e-401f-ad4c-3dfd5dcffcb9",
          "parameters": {
            "text": "={{ $json.text }}",
            "chatId": "={{ $('Receive Telegram Message').item.json.message.chat.id }}",
            "additionalFields": {
              "parse_mode": "HTML",
              "appendAttribution": false
            }
          },
          "notesInFlow": true,
          "typeVersion": 1.2
        }
      ],
      "active": false,
      "pinData": {},
      "settings": {
        "executionOrder": "v1"
      },
      "versionId": "41f949d4-e316-40eb-82bf-2398d96a440e",
      "connections": {
        "Generate AI Response": {
          "main": [
            [
              {
                "node": "Send Telegram Reply",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "Google Gemini Chat Model": {
          "ai_languageModel": [
            [
              {
                "node": "Generate AI Response",
                "type": "ai_languageModel",
                "index": 0
              }
            ]
          ]
        },
        "Receive Telegram Message": {
          "main": [
            [
              {
                "node": "Generate AI Response",
                "type": "main",
                "index": 0
              }
            ]
          ]
        }
      }
    },
    "lastUpdatedBy": 62,
    "workflowInfo": {
      "nodeCount": 6,
      "nodeTypes": {
        "n8n-nodes-base.telegram": {
          "count": 1
        },
        "n8n-nodes-base.stickyNote": {
          "count": 2
        },
        "n8n-nodes-base.telegramTrigger": {
          "count": 1
        },
        "@n8n/n8n-nodes-langchain.chainLlm": {
          "count": 1
        },
        "@n8n/n8n-nodes-langchain.lmChatGoogleGemini": {
          "count": 1
        }
      }
    },
    "status": "published",
    "readyToDemo": null,
    "user": {
      "name": "WeblineIndia",
      "username": "weblineindia",
      "bio": "A Leading Software Engineering, Consulting & Outsourcing Services Company in USA & India serving Clients Globally since 1999.",
      "verified": true,
      "links": [
        "https://www.weblineindia.com/hire-n8n-developers/"
      ],
      "avatar": "https://gravatar.com/avatar/a229d43aefca4588581583c58bb37b4773aebbdf4c1fef86a08bb1d38eae91fa?r=pg&d=retro&size=200"
    },
    "nodes": [
      {
        "id": 49,
        "icon": "file:telegram.svg",
        "name": "n8n-nodes-base.telegram",
        "codex": {
          "data": {
            "alias": [
              "human",
              "form",
              "wait",
              "hitl",
              "approval"
            ],
            "resources": {
              "generic": [
                {
                  "url": "https://n8n.io/blog/why-business-process-automation-with-n8n-can-change-your-daily-life/",
                  "icon": "🧬",
                  "label": "Why business process automation with n8n can change your daily life"
                },
                {
                  "url": "https://n8n.io/blog/create-a-toxic-language-detector-for-telegram/",
                  "icon": "🤬",
                  "label": "Create a toxic language detector for Telegram in 4 step"
                },
                {
                  "url": "https://n8n.io/blog/automatically-adding-expense-receipts-to-google-sheets-with-telegram-mindee-twilio-and-n8n/",
                  "icon": "🧾",
                  "label": "Automatically Adding Expense Receipts to Google Sheets with Telegram, Mindee, Twilio, and n8n"
                },
                {
                  "url": "https://n8n.io/blog/no-code-ecommerce-workflow-automations/",
                  "icon": "store",
                  "label": "6 e-commerce workflows to power up your Shopify s"
                },
                {
                  "url": "https://n8n.io/blog/world-poetry-day-workflow/",
                  "icon": "📜",
                  "label": "Celebrating World Poetry Day with a daily poem in Telegram"
                },
                {
                  "url": "https://n8n.io/blog/using-automation-to-boost-productivity-in-the-workplace/",
                  "icon": "💪",
                  "label": "Using Automation to Boost Productivity in the Workplace"
                },
                {
                  "url": "https://n8n.io/blog/how-to-set-up-a-ci-cd-pipeline-with-no-code/",
                  "icon": "🎡",
                  "label": "How to set up a no-code CI/CD pipeline with GitHub and TravisCI"
                },
                {
                  "url": "https://n8n.io/blog/creating-scheduled-text-affirmations-with-n8n/",
                  "icon": "🤟",
                  "label": "Creating scheduled text affirmations with n8n"
                },
                {
                  "url": "https://n8n.io/blog/creating-telegram-bots-with-n8n-a-no-code-platform/",
                  "icon": "💬",
                  "label": "Creating Telegram Bots with n8n, a No-Code Platform"
                },
                {
                  "url": "https://n8n.io/blog/aws-workflow-automation/",
                  "label": "7 no-code workflow automations for Amazon Web Services"
                }
              ],
              "primaryDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.telegram/"
                }
              ],
              "credentialDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/credentials/telegram/"
                }
              ]
            },
            "categories": [
              "Communication",
              "HITL"
            ],
            "nodeVersion": "1.0",
            "codexVersion": "1.0",
            "subcategories": {
              "HITL": [
                "Human in the Loop"
              ]
            }
          }
        },
        "group": "[\"output\"]",
        "defaults": {
          "name": "Telegram"
        },
        "iconData": {
          "type": "file",
          "fileBuffer": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBmaWxsPSIjZmZmIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiB2aWV3Qm94PSIwIDAgNjYgNjYiPjx1c2UgeGxpbms6aHJlZj0iI2EiIHg9Ii41IiB5PSIuNSIvPjxzeW1ib2wgaWQ9ImEiIG92ZXJmbG93PSJ2aXNpYmxlIj48ZyBmaWxsLXJ1bGU9Im5vbnplcm8iIHN0cm9rZT0ibm9uZSI+PHBhdGggZmlsbD0iIzM3YWVlMiIgZD0iTTAgMzJjMCAxNy42NzMgMTQuMzI3IDMyIDMyI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mc+"
        },
        "displayName": "Telegram",
        "typeVersion": 1,
        "nodeCategories": [
          {
            "id": 6,
            "name": "Communication"
          },
          {
            "id": 28,
            "name": "HITL"
          }
        ]
      },
      {
        "id": 50,
        "icon": "file:telegram.svg",
        "name": "n8n-nodes-base.telegramTrigger",
        "codex": {
          "data": {
            "resources": {
              "generic": [
                {
                  "url": "https://n8n.io/blog/create-a-toxic-language-detector-for-telegram/",
                  "icon": "🤬",
                  "label": "Create a toxic language detector for Telegram in 4 step"
                },
                {
                  "url": "https://n8n.io/blog/automatically-adding-expense-receipts-to-google-sheets-with-telegram-mindee-twilio-and-n8n/",
                  "icon": "🧾",
                  "label": "Automatically Adding Expense Receipts to Google Sheets with Telegram, Mindee, Twilio, and n8n"
                },
                {
                  "url": "https://n8n.io/blog/how-to-set-up-a-ci-cd-pipeline-with-no-code/",
                  "icon": "🎡",
                  "label": "How to set up a no-code CI/CD pipeline with GitHub and TravisCI"
                },
                {
                  "url": "https://n8n.io/blog/creating-telegram-bots-with-n8n-a-no-code-platform/",
                  "icon": "💬",
                  "label": "Creating Telegram Bots with n8n, a No-Code Platform"
                },
                {
                  "url": "https://n8n.io/blog/aws-workflow-automation/",
                  "label": "7 no-code workflow automations for Amazon Web Services"
                }
              ],
              "primaryDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/trigger-nodes/n8n-nodes-base.telegramtrigger/"
                }
              ],
              "credentialDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/credentials/telegram/"
                }
              ]
            },
            "categories": [
              "Communication"
            ],
            "nodeVersion": "1.0",
            "codexVersion": "1.0"
          }
        },
        "group": "[\"trigger\"]",
        "defaults": {
          "name": "Telegram Trigger"
        },
        "iconData": {
          "type": "file",
          "fileBuffer": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBma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IDEuMy0xLjUxNCAxLjM0NWMtLjQzMi4wMTYtLjk1Ni0uMDcxLTEuNTgyLS42MS0yLjMyMy0xLjk5OC0xMC4zNTItNy4zOTQtMTIuMTI2LTguNThhLjM0LjM0IDAgMCAxLS4xNDYtLjIzOWMtLjAyNS0uMTI1LjEwOC0uMjguMTA4LS4yOHMxMy45OC0xMi40MjcgMTQuMzUyLTEzLjczMWMuMDI5LS4xMDEtLjA3OS0uMTUxLS4yMjYtLjEwNy0uOTI5LjM0Mi0xNy4wMjUgMTAuNTA2LTE4LjgwMSAxMS42MjktLjEwNC4wNjYtLjM5NS4wMjMtLjM5NS4wMjMiLz48L2c+PC9zeW1ib2w+PC9zdmc+"
        },
        "displayName": "Telegram Trigger",
        "typeVersion": 1,
        "nodeCategories": [
          {
            "id": 6,
            "name": "Communication"
          }
        ]
      },
      {
        "id": 565,
        "icon": "fa:sticky-note",
        "name": "n8n-nodes-base.stickyNote",
        "codex": {
          "data": {
            "alias": [
              "Comments",
              "Notes",
              "Sticky"
            ],
            "categories": [
              "Core Nodes"
            ],
            "nodeVersion": "1.0",
            "codexVersion": "1.0",
            "subcategories": {
              "Core Nodes": [
                "Helpers"
              ]
            }
          }
        },
        "group": "[\"input\"]",
        "defaults": {
          "name": "Sticky Note",
          "color": "#FFD233"
        },
        "iconData": {
          "icon": "sticky-note",
          "type": "icon"
        },
        "displayName": "Sticky Note",
        "typeVersion": 1,
        "nodeCategories": [
          {
            "id": 9,
            "name": "Core Nodes"
          }
        ]
      },
      {
        "id": 1123,
        "icon": "fa:link",
        "name": "@n8n/n8n-nodes-langchain.chainLlm",
        "codex": {
          "data": {
            "alias": [
              "LangChain"
            ],
            "resources": {
              "primaryDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.chainllm/"
                }
              ]
            },
            "categories": [
              "AI",
              "Langchain"
            ],
            "subcategories": {
              "AI": [
                "Chains",
                "Root Nodes"
              ]
            }
          }
        },
        "group": "[\"transform\"]",
        "defaults": {
          "name": "Basic LLM Chain",
          "color": "#909298"
        },
        "iconData": {
          "icon": "link",
          "type": "icon"
        },
        "displayName": "Basic LLM Chain",
        "typeVersion": 2,
        "nodeCategories": [
          {
            "id": 25,
            "name": "AI"
          },
          {
            "id": 26,
            "name": "Langchain"
          }
        ]
      },
      {
        "id": 1262,
        "icon": "file:google.svg",
        "name": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
        "codex": {
          "data": {
            "resources": {
              "primaryDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmchatgooglegemini/"
                }
              ]
            },
            "categories": [
              "AI",
              "Langchain"
            ],
            "subcategories": {
              "AI": [
                "Language Models",
                "Root Nodes"
              ],
              "Language Models": [
                "Chat Models (Recommended)"
              ]
            }
          }
        },
        "group": "[\"transform\"]",
        "defaults": {
          "name": "Google Gemini Chat Model"
        },
        "iconData": {
          "type": "file",
          "fileBuffer": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgNDggNDgiPjxkZWZzPjxwYXRoIGlkPSJhIiBkPSJNNDQuNSAyMEgyNHY4LjVoMTEuOEMzNC43IDMzLjkgMzAuMSAzNyAyNCAzN2MtNy4yIDAtMTMtNS44LTEzLTEzczUuOC0xMyAxMy0xM2MzLjEgMCA1LjkgMS4xIDguMSAyLjlsNi40LTYuNEMzNC42IDQuMSAyOS42IDIgMjQgMiAxMS44IDIgMiAxMS44IDIgMjRzOS44IDIyIDIyIDIyYzExIDAgMjEtOCAyMS0yMiAwLTEuMy0uMi0yLjctLjUtNCIvPjwvZGVmcz48Y2xpcFBhdGggaWQ9ImIiPjx1c2UgeGxpbms6aHJlZj0iI2EiIG92ZXJmbG93PSJ2aXNpYmxlIi8+PC9jbGlwUGF0aD48cGF0aCBmaWxsPSIjRkJCQzA1IiBkPSJNMCAzN1YxMWwxNyAxM3oiIGNsaXAtcGF0aD0idXJsKCNiKSIvPjxwYXRoIGZpbGw9IiNFQTQzMzUiIGQ9Im0wIDExIDE3IDEzIDctNi4xTDQ4IDE0VjBIMHoiIGNsaXAtcGF0aD0idXJsKCNiKSIvPjxwYXRoIGZpbGw9IiMzNEE4NTMiIGQ9Im0wIDM3IDMwLTIzIDcuOSAxTDQ4IDB2NDhIMHoiIGNsaXAtcGF0aD0idXJsKCNiKSIvPjxwYXRoIGZpbGw9IiM0Mjg1RjQiIGQ9Ik00OCA0OCAxNyAyNGwtNC0zIDM1LTEweiIgY2xpcC1wYXRoPSJ1cmwoI2IpIi8+PC9zdmc+"
        },
        "displayName": "Google Gemini Chat Model",
        "typeVersion": 1,
        "nodeCategories": [
          {
            "id": 25,
            "name": "AI"
          },
          {
            "id": 26,
            "name": "Langchain"
          }
        ]
      }
    ],
    "categories": [
      {
        "id": 25,
        "name": "AI"
      },
      {
        "id": 47,
        "name": "AI Chatbot"
      }
    ],
    "image": []
  }
}