{"product_id":"n8n-gmail-triage-llm-draft-replies-drive-upload-telegram-alerts","title":"n8n Gmail Triage: LLM Draft Replies, Drive Upload \u0026 Telegram Alerts","description":"\u003ch3\u003eAutomatically triage your Gmail inbox with LLM draft replies, Drive uploads, and Telegram alerts\u003c\/h3\u003e\n\u003cp\u003eMeet \u003cstrong\u003en8n Gmail Triage: LLM Draft Replies, Drive Upload \u0026amp; Telegram Alerts\u003c\/strong\u003e—an n8n workflow that watches your Gmail for new incoming messages, uses \u003cstrong\u003eOpenRouter (LLM)\u003c\/strong\u003e to classify them against your live Gmail labels, drafts suggested responses, uploads attachments to \u003cstrong\u003eGoogle Drive\u003c\/strong\u003e, and sends \u003cstrong\u003eurgent alerts to Telegram\u003c\/strong\u003e. It then labels messages as processed with a \u003cstrong\u003edigested\u003c\/strong\u003e label to prevent reprocessing.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eMonitors new Gmail emails\u003c\/strong\u003e every minute (excluding messages from you), then fetches the full thread and loads the latest message for context.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eMatches your label taxonomy\u003c\/strong\u003e by retrieving all Gmail labels, filtering to user-created labels, and passing label IDs to the LLM so classification stays aligned with your inbox.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eUses OpenRouter to generate structured output (JSON)\u003c\/strong\u003e including a summary, priority, selected Gmail label IDs, and flags for whether to reply, whether it’s urgent, and how to handle attachments.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eDrafts replies in your style\u003c\/strong\u003e when flagged—generating a business-casual response and saving it as a \u003cstrong\u003eGmail draft\u003c\/strong\u003e on the original thread.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eUploads attachments to Google Drive\u003c\/strong\u003e when files are present: splits each attachment into its own item, checks Drive to avoid duplicates, and uploads only missing files to the target folder.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSends Telegram alerts for urgent emails\u003c\/strong\u003e with sender, subject, summary, and a direct Gmail link.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eApplies selected labels\u003c\/strong\u003e to the message and adds the \u003cstrong\u003edigested\u003c\/strong\u003e label to mark it as processed.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eSales\/support teams who want fast, consistent response drafts while routing emails by their existing Gmail labels.\u003c\/li\u003e\n  \u003cli\u003eSaaS operators who need urgent customer emails surfaced immediately via Telegram.\u003c\/li\u003e\n  \u003cli\u003eAnyone who wants incoming attachments centralized in Google Drive without re-uploading duplicates.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n integrations:\u003c\/strong\u003e Gmail, Google Drive, Telegram, and \u003cstrong\u003eOpenRouter\u003c\/strong\u003e (LLM for classification).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eWorkflow logic:\u003c\/strong\u003e nodes such as \u003cem\u003eif\u003c\/em\u003e, \u003cem\u003ecode\u003c\/em\u003e, \u003cem\u003egmail\u003c\/em\u003e, \u003cem\u003elimit\u003c\/em\u003e, \u003cem\u003emerge\u003c\/em\u003e, and \u003cem\u003eswitch\u003c\/em\u003e to control triage steps and attachment handling.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSetup:\u003c\/strong\u003e connect credentials for Gmail, Google Drive, Telegram, and OpenRouter (the chat model used for classification).\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45876889682099,"sku":"N8N-18401","price":22.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/571cnuymDY-bNzsG4JSR_gil47sZQ.png?v=1787303750","url":"https:\/\/buyflowscripts.com\/products\/n8n-gmail-triage-llm-draft-replies-drive-upload-telegram-alerts","provider":"N8N Commerce","version":"1.0","type":"link"}