{"product_id":"n8n-gmail-triage-auto-reply-with-gpt-4-1-mini-telegram","title":"n8n Gmail Triage \u0026 Auto-Reply with GPT-4.1 Mini + Telegram","description":"\u003ch3\u003eInstant Gmail inbox triage with AI—auto-reply, label for review, or flag spam (with Telegram notifications)\u003c\/h3\u003e\n\u003cp\u003eTurn unread emails in your Gmail into an organized workflow: this n8n automation reads new messages, uses \u003cstrong\u003eOpenAI GPT-4.1 mini\u003c\/strong\u003e to classify and draft responses, then either \u003cstrong\u003eauto-replies\u003c\/strong\u003e, sends a \u003cstrong\u003eHuman Review\u003c\/strong\u003e summary to \u003cstrong\u003eTelegram\u003c\/strong\u003e, or applies a \u003cstrong\u003espam\/unwanted\u003c\/strong\u003e label. No more manual sorting.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eMonitors your Gmail inbox\u003c\/strong\u003e (default label: \u003cem\u003eINBOX\u003c\/em\u003e) and triggers every minute when a new \u003cstrong\u003eunread\u003c\/strong\u003e email arrives.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFetches full email details\u003c\/strong\u003e from Gmail (headers and body) for accurate AI analysis.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eUses OpenAI GPT-4.1 mini\u003c\/strong\u003e to classify each email (including category, priority, sentiment) and produce a structured decision: \u003cem\u003ereply_type\u003c\/em\u003e plus a reply draft when appropriate.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNormalizes the AI output\u003c\/strong\u003e into a consistent JSON format with safe fallbacks to keep the workflow reliable.\u003c\/li\u003e\n  \u003cli\u003eIf the AI selects \u003cstrong\u003e“Auto Reply”\u003c\/strong\u003e: sends a Gmail reply using the suggested draft.\u003c\/li\u003e\n  \u003cli\u003eIf the AI selects \u003cstrong\u003e“Human Review”\u003c\/strong\u003e: applies a Gmail label and sends the analysis summary to \u003cstrong\u003eTelegram\u003c\/strong\u003e for a human to handle.\u003c\/li\u003e\n  \u003cli\u003eIf the AI selects \u003cstrong\u003e“No Reply”\u003c\/strong\u003e: applies a Gmail label to mark the message as spam\/unwanted.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eSaaS operators who want faster handling of support emails—auto-respond when safe, otherwise route to review.\u003c\/li\u003e\n  \u003cli\u003eAutomation engineers who need a practical \u003cstrong\u003eGmail triage\u003c\/strong\u003e pipeline with AI classification and routing.\u003c\/li\u003e\n  \u003cli\u003eTeams that want a Telegram “inbox digest” for the emails that require attention.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n Gmail Trigger\u003c\/strong\u003e (polls every minute for unread emails under a selected label).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGmail\u003c\/strong\u003e actions to fetch message content and apply labels \/ send replies.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOpenAI GPT-4.1 mini\u003c\/strong\u003e for email classification, prioritization, sentiment, and reply drafting.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCode\u003c\/strong\u003e node to validate\/normalize AI output into consistent JSON.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSwitch\u003c\/strong\u003e node to branch logic by \u003cem\u003ereply_type\u003c\/em\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eTelegram\u003c\/strong\u003e node to notify a chat with the Human Review summary.\u003c\/li\u003e\n  \u003cli\u003eAdditional workflow notes via \u003cstrong\u003eSticky Note\u003c\/strong\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cstrong\u003eSetup highlights:\u003c\/strong\u003e connect Gmail OAuth2, choose the human-review label, select (or keep) the model default \u003cem\u003egpt-4.1-mini\u003c\/em\u003e, and provide Telegram Bot credentials + chat ID.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45748945486003,"sku":"N8N-17690","price":4.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/DZTmC3e7_Zh-pwMtPD9yR_rfNxVJXu.png?v=1785575433","url":"https:\/\/buyflowscripts.com\/products\/n8n-gmail-triage-auto-reply-with-gpt-4-1-mini-telegram","provider":"N8N Commerce","version":"1.0","type":"link"}