{"product_id":"n8n-gmail-triage-workflow-claude-ai-draft-replies","title":"n8n Gmail Triage Workflow: Claude AI Draft Replies","description":"\u003ch3\u003eInstant Gmail triage + Claude AI draft replies—without leaving your inbox\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow monitors your \u003cstrong\u003eGmail\u003c\/strong\u003e inbox for unread emails, uses \u003cstrong\u003eAnthropic Claude (Sonnet 4.6)\u003c\/strong\u003e to classify and summarize each message, and automatically creates a \u003cstrong\u003edraft HTML reply\u003c\/strong\u003e in the same thread. If an email is deemed \u003cstrong\u003eHigh\u003c\/strong\u003e urgency, it also sends an urgent alert email to you or your team.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eChecks Gmail every minute\u003c\/strong\u003e for new unread messages using a Gmail trigger.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eExtracts key details\u003c\/strong\u003e from each email: sender, sender email address, subject, body text, \u003cem\u003ethread ID\u003c\/em\u003e, and message ID.\u003c\/li\u003e\n  \u003cli\u003eSends the email content to \u003cstrong\u003eAnthropic Claude (Sonnet 4.6)\u003c\/strong\u003e to:\n    \u003cul\u003e\n      \u003cli\u003eclassify \u003cstrong\u003ecategory\u003c\/strong\u003e, \u003cstrong\u003eurgency\u003c\/strong\u003e, and \u003cstrong\u003esentiment\u003c\/strong\u003e,\u003c\/li\u003e\n      \u003cli\u003egenerate a \u003cstrong\u003eone-line summary\u003c\/strong\u003e,\u003c\/li\u003e\n      \u003cli\u003eproduce a \u003cstrong\u003edraft subject\u003c\/strong\u003e and an \u003cstrong\u003eHTML reply\u003c\/strong\u003e.\u003c\/li\u003e\n    \u003c\/ul\u003e\n  \u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNormalizes the AI output\u003c\/strong\u003e into a single triage record and timestamps it for logging.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eLogs triage results\u003c\/strong\u003e to the n8n Data Table \u003ccode\u003eemail_triage_log\u003c\/code\u003e (category, urgency, sentiment, summary, and whether it needs a human).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCreates a Gmail draft reply\u003c\/strong\u003e addressed to the sender and attached to the original thread.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSends an urgent alert email\u003c\/strong\u003e when urgency is marked \u003cstrong\u003eHigh\u003c\/strong\u003e; otherwise it only drafts and logs.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003ePrioritize support or sales emails by urgency and sentiment while still drafting replies automatically.\u003c\/li\u003e\n  \u003cli\u003eReduce inbox backlog by generating consistent Claude-based drafts for every unread message.\u003c\/li\u003e\n  \u003cli\u003eGet immediate notifications for critical emails so nothing slips through.\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:\u003c\/strong\u003e Gmail (trigger + draft creation), Anthropic Claude (Sonnet 4.6), Switch, Data Table, plus utility nodes such as set\/no op and sticky note.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eData logging:\u003c\/strong\u003e n8n Data Table \u003ccode\u003eemail_triage_log\u003c\/code\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSetup:\u003c\/strong\u003e connect Gmail OAuth2, add Anthropic credentials, ensure Claude Sonnet 4.6 is used, and set the urgent alert recipient (e.g., \u003ccode\u003eyou@company.com\u003c\/code\u003e).\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45738486890675,"sku":"N8N-17554","price":59.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/FjpeYh7pYkOxGxb7zktG5_A2G8kmYH.png?v=1785229523","url":"https:\/\/buyflowscripts.com\/products\/n8n-gmail-triage-workflow-claude-ai-draft-replies","provider":"N8N Commerce","version":"1.0","type":"link"}