{"product_id":"cold-email-outreach-in-n8n-gmail-openrouter-reply-classification","title":"Cold Email Outreach in n8n: Gmail + OpenRouter Reply Classification","description":"\u003ch3\u003eCold Email Outreach in n8n that sends, monitors replies, and classifies interest with OpenRouter\u003c\/h3\u003e\n\u003cp\u003eTurn a lead file into a scheduled cold email campaign in n8n: the workflow loads leads into a Data Table, sends personalized first-touch emails via \u003cstrong\u003eGmail\u003c\/strong\u003e, then watches your inbox for replies and uses \u003cstrong\u003eOpenRouter\u003c\/strong\u003e to classify whether prospects are already interested—flagging them for human handoff.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eImports leads from an uploaded file:\u003c\/strong\u003e An n8n \u003cstrong\u003eForm trigger\u003c\/strong\u003e receives the file and extracts rows containing \u003cem\u003ename\u003c\/em\u003e and \u003cem\u003eemail\u003c\/em\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCreates\/updates lead records:\u003c\/strong\u003e Each lead is \u003cstrong\u003eupserted\u003c\/strong\u003e into an \u003cstrong\u003en8n Data Table\u003c\/strong\u003e with status \u003ccode\u003enew_leads\u003c\/code\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSends first-touch cold emails:\u003c\/strong\u003e On a schedule (or on-demand), the workflow loads the outreach subject\/body, fetches leads with status \u003ccode\u003enew_leads\u003c\/code\u003e, and sends email via \u003cstrong\u003eGmail\u003c\/strong\u003e with the recipient’s name merged into the message.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eTracks outreach and prevents duplicates:\u003c\/strong\u003e Sent emails are stored in a separate Data Table with Gmail message\/thread IDs, and each lead status is updated to \u003ccode\u003efirst_offer\u003c\/code\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCaptures replies from Gmail:\u003c\/strong\u003e When a new Gmail message arrives, it matches the sender email to a lead and stores the reply in the email inbox Data Table.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eClassifies reply intent with OpenRouter:\u003c\/strong\u003e The workflow fetches the thread history, keeps only the prospect’s received messages, and sends them to an \u003cstrong\u003eOpenRouter-powered LLM\u003c\/strong\u003e to classify whether the prospect is already interested.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFlags qualified leads:\u003c\/strong\u003e If interest is detected, the lead is updated to \u003ccode\u003ehandoff\u003c\/code\u003e and a handoff destination value is set.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eSaaS teams running targeted cold outreach and needing automated reply triage.\u003c\/li\u003e\n  \u003cli\u003eAutomation engineers deploying a Gmail-based cold email + reply classification pipeline in n8n.\u003c\/li\u003e\n  \u003cli\u003eOperators who want faster human follow-up by detecting interested replies before reviewing everything.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGmail OAuth2\u003c\/strong\u003e for both sending emails and triggering on incoming replies.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOpenRouter API credential\u003c\/strong\u003e for reply classification (model selectable in setup).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNodes used:\u003c\/strong\u003e \u003cem\u003eif\u003c\/em\u003e, \u003cem\u003eset\u003c\/em\u003e, \u003cem\u003ecode\u003c\/em\u003e, \u003cem\u003egmail\u003c\/em\u003e, \u003cem\u003edata table\u003c\/em\u003e, \u003cem\u003esticky note\u003c\/em\u003e (plus the described triggers\/logic).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n Data Tables\u003c\/strong\u003e for leads, sent email tracking (message\/thread IDs), and inbox reply storage.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46223921053875,"sku":"N8N-20944","price":51.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/gCbhhFwMfKEl1dwGqVRjn_RTbLx1W0.png?v=1791968460","url":"https:\/\/buyflowscripts.com\/products\/cold-email-outreach-in-n8n-gmail-openrouter-reply-classification","provider":"N8N Commerce","version":"1.0","type":"link"}