{"product_id":"gmail-triage-gemini-sla-emails-google-calendar-tasks-n8n","title":"Gmail Triage: Gemini SLA Emails + Google Calendar Tasks (n8n)","description":"\u003ch3\u003eInstantly triage “Inquiry Received” emails with Gemini, set SLAs, and create Calendar follow-ups—automatically in n8n\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow watches your Gmail inbox for new inquiries, uses Google Gemini to categorize and draft replies, calculates an SLA deadline, and then logs everything to Google Sheets, creates a Google Calendar task, and escalates high-priority cases to Discord.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGmail trigger (every minute):\u003c\/strong\u003e Runs once per minute and looks for unread Gmail messages with the subject \u003cem\u003e“Inquiry Received”\u003c\/em\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAI classification \u0026amp; summarization:\u003c\/strong\u003e Sends the sender, subject, and email body to \u003cstrong\u003eGoogle Gemini\u003c\/strong\u003e via an LLM chain to return structured JSON containing \u003cem\u003ecategory\u003c\/em\u003e, \u003cem\u003epriority\u003c\/em\u003e, \u003cem\u003esummary\u003c\/em\u003e, and an \u003cem\u003eAI-generated reply draft\u003c\/em\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSLA deadline calculation:\u003c\/strong\u003e Computes a follow-up deadline based on priority:\n    \u003cul\u003e\n      \u003cli\u003e\n\u003cstrong\u003eHigh:\u003c\/strong\u003e +4 hours\u003c\/li\u003e\n      \u003cli\u003e\n\u003cstrong\u003eMedium:\u003c\/strong\u003e next day at 18:00\u003c\/li\u003e\n      \u003cli\u003e\n\u003cstrong\u003eLow:\u003c\/strong\u003e +3 days at 18:00\u003c\/li\u003e\n    \u003c\/ul\u003e\n  \u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGoogle Calendar event:\u003c\/strong\u003e Creates an event from now until the calculated deadline, embedding the ticket details in the event description.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGoogle Sheets logging:\u003c\/strong\u003e Appends a row to Google Sheets including received time, triage results, the deadline, and the Google Calendar link.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGmail draft reply:\u003c\/strong\u003e Generates a draft reply in the original email thread using the Gemini reply text.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eDiscord alert for High priority:\u003c\/strong\u003e If priority is \u003cstrong\u003eHigh\u003c\/strong\u003e, posts an urgent notification with the deadline and inquiry summary.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eSaaS support teams routing inbound leads or customer questions labeled by subject.\u003c\/li\u003e\n  \u003cli\u003eAutomation engineers building a reliable Gmail-to-SLA pipeline with LLM triage.\u003c\/li\u003e\n  \u003cli\u003eOperators who want guaranteed follow-up via Google Calendar and audit logs in Google Sheets.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n nodes \/ tech stack:\u003c\/strong\u003e if, code, gmail, discord, sticky note, gmail trigger\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIntegrations:\u003c\/strong\u003e Gmail, Google Gemini (Google AI), Google Calendar, Google Sheets\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSheets requirements:\u003c\/strong\u003e Ensure the sheet has columns like \u003cem\u003ereceived_at, priority, category, sender, subject, summary\u003c\/em\u003e (and related SLA\/event fields as used by the append step).\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46081395884211,"sku":"N8N-19884","price":12.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/UsaxHIFBtmM8JRGUyvmfl_5JjRtx6E.png?v=1790240753","url":"https:\/\/buyflowscripts.com\/products\/gmail-triage-gemini-sla-emails-google-calendar-tasks-n8n","provider":"N8N Commerce","version":"1.0","type":"link"}