{"product_id":"gmail-sales-lead-labeling-n8n-workflow-with-gpt-4-1-mini","title":"Gmail Sales Lead Labeling n8n Workflow with GPT-4.1-mini","description":"\u003ch3\u003eAutomatically label genuine sales emails in Gmail using GPT-4.1-mini\u003c\/h3\u003e\n\u003cp\u003eIf your inbox is a mix of real buyer interest and constant noise (newsletters, vendor pitches, and cold outreach), this \u003cstrong\u003eGmail Sales Lead Labeling n8n workflow\u003c\/strong\u003e helps you surface the right messages fast. It uses \u003cstrong\u003eOpenAI (GPT-4.1-mini)\u003c\/strong\u003e to classify new emails as sales leads and then \u003cstrong\u003eapplies a Gmail label\u003c\/strong\u003e—never sending, deleting, or drafting anything.\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 with a Gmail Trigger for newly received emails.\u003c\/li\u003e\n  \u003cli\u003eUses a \u003cstrong\u003eSettings\u003c\/strong\u003e node to store your \u003cstrong\u003ebusiness name\u003c\/strong\u003e, the \u003cstrong\u003eOpenAI model\u003c\/strong\u003e (default: \u003ccode\u003egpt-4.1-mini\u003c\/code\u003e), the target label (default: \u003ccode\u003eAI\/Lead\u003c\/code\u003e), and optional notes.\u003c\/li\u003e\n  \u003cli\u003eSends each email to \u003cstrong\u003eOpenAI\u003c\/strong\u003e to determine whether it’s a \u003cstrong\u003egenuine sales lead\u003c\/strong\u003e (someone who wants to buy from you). The model returns \u003cstrong\u003estrict JSON\u003c\/strong\u003e containing:\n    \u003cul\u003e\n      \u003cli\u003e\u003ccode\u003eis_lead\u003c\/code\u003e\u003c\/li\u003e\n      \u003cli\u003ea short summary\u003c\/li\u003e\n      \u003cli\u003ea reason\u003c\/li\u003e\n    \u003c\/ul\u003e\n  \u003c\/li\u003e\n  \u003cli\u003eIf \u003ccode\u003eis_lead\u003c\/code\u003e is true, the workflow \u003cstrong\u003eapplies your Gmail label\u003c\/strong\u003e. If the label doesn’t exist, it creates it once (under parent \u003ccode\u003eAI\u003c\/code\u003e) and then applies it.\u003c\/li\u003e\n  \u003cli\u003eSkips \u003cstrong\u003ecold pitches\u003c\/strong\u003e, \u003cstrong\u003enewsletters\u003c\/strong\u003e, and cases where OpenAI output is invalid (treated as \u003cem\u003enot-a-lead\u003c\/em\u003e).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOnly adds labels\u003c\/strong\u003e. It never sends, deletes, or drafts emails.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eSolo consultants and freelancers who need quick visibility into inbound purchase intent.\u003c\/li\u003e\n  \u003cli\u003eSmall business owners who want automated \u003cstrong\u003eGmail lead management\u003c\/strong\u003e without building a CRM.\u003c\/li\u003e\n  \u003cli\u003eSaaS operators who want AI-assisted routing for sales conversations while keeping inboxes clean.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003en8n nodes: \u003cstrong\u003eGmail Trigger\u003c\/strong\u003e, \u003cstrong\u003eSet\u003c\/strong\u003e, \u003cstrong\u003eCode\u003c\/strong\u003e, \u003cstrong\u003eif\u003c\/strong\u003e, \u003cstrong\u003eGmail\u003c\/strong\u003e (label actions), \u003cstrong\u003eSticky Note\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003eIntegrations\/credentials required: \u003cstrong\u003eGmail OAuth2\u003c\/strong\u003e (for Trigger, Get\/Create labels, Apply label) and \u003cstrong\u003eOpenAI\u003c\/strong\u003e (for \u003ccode\u003egpt-4.1-mini\u003c\/code\u003e classification).\u003c\/li\u003e\n  \u003cli\u003eWorkflow behavior: minute-by-minute scanning, JSON-based lead detection, conditional label creation and application.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46232441618611,"sku":"N8N-21031","price":74.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/Wnk-f04yM6e83LqDOpBZn_1TIvDj1e.png?v=1792142470","url":"https:\/\/buyflowscripts.com\/products\/gmail-sales-lead-labeling-n8n-workflow-with-gpt-4-1-mini","provider":"N8N Commerce","version":"1.0","type":"link"}