{"product_id":"n8n-lead-scoring-workflow-gemini-enrichment-to-slack-sheets","title":"n8n Lead Scoring Workflow: Gemini Enrichment to Slack \u0026 Sheets","description":"\u003ch3\u003eTurn every inbound lead into a scored, logged, Slack-alerted opportunity\u003c\/h3\u003e\n\u003cp\u003eThis \u003cstrong\u003en8n Lead Scoring Workflow\u003c\/strong\u003e receives lead submissions via \u003cstrong\u003ewebhook\u003c\/strong\u003e, validates and enriches them (including website text), then uses \u003cstrong\u003eGoogle Gemini\u003c\/strong\u003e to score fit and intent. Every lead is appended to \u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e, and when a lead is deemed \u003cstrong\u003ehot\u003c\/strong\u003e, a formatted message is sent to \u003cstrong\u003eSlack\u003c\/strong\u003e.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReceives leads\u003c\/strong\u003e via a POST request to an n8n \u003cstrong\u003ewebhook\u003c\/strong\u003e endpoint and immediately returns a \u003cstrong\u003e200\u003c\/strong\u003e response with a generated \u003cstrong\u003elead ID\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNormalizes and validates\u003c\/strong\u003e incoming fields (name, email, company, website, job title, message), flags \u003cstrong\u003efree\/disposable emails\u003c\/strong\u003e, and marks obvious \u003cstrong\u003espam\/test\u003c\/strong\u003e submissions as junk.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eEmail verdicting\u003c\/strong\u003e: for non-junk leads, it calls a \u003cstrong\u003epublic email scoring API\u003c\/strong\u003e to confirm the email verdict\/score and further marks invalid\/disposable emails as junk.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eWebsite enrichment\u003c\/strong\u003e: if the lead is valid, it fetches the company homepage and extracts \u003cstrong\u003eshort plain-text summary\u003c\/strong\u003e from the HTML.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGemini lead scoring\u003c\/strong\u003e: sends the lead details + extracted website text to \u003cstrong\u003eGoogle Gemini\u003c\/strong\u003e, parses structured JSON to produce an \u003cstrong\u003eICP score\u003c\/strong\u003e, \u003cstrong\u003etier\u003c\/strong\u003e (hot\/warm\/cold), \u003cstrong\u003ekey reasons\u003c\/strong\u003e, \u003cstrong\u003enext action\u003c\/strong\u003e, and \u003cstrong\u003econfidence\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eLogs and alerts\u003c\/strong\u003e: appends the combined result to a Google Sheets tab named \u003cstrong\u003e“Leads”\u003c\/strong\u003e and posts a \u003cstrong\u003eSlack alert\u003c\/strong\u003e only when the tier is \u003cstrong\u003ehot\u003c\/strong\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eSaaS teams routing inbound form submissions to the right salesperson based on ICP fit and intent.\u003c\/li\u003e\n  \u003cli\u003eAutomation engineers wanting an end-to-end \u003cstrong\u003en8n\u003c\/strong\u003e flow for lead enrichment + scoring + CRM-like logging in Sheets.\u003c\/li\u003e\n  \u003cli\u003eMarketers needing fast feedback loops when high-intent leads are generated.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eWebhook\u003c\/strong\u003e for inbound lead intake (instant 200 + lead ID).\u003c\/li\u003e\n  \u003cli\u003eLogic nodes: \u003cstrong\u003eif\u003c\/strong\u003e, \u003cstrong\u003eset\u003c\/strong\u003e, \u003cstrong\u003ecode\u003c\/strong\u003e, \u003cstrong\u003eswitch\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003eIntegrations: \u003cstrong\u003eGoogle Gemini\u003c\/strong\u003e (Gemini chat model for structured scoring), \u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e (append to “Leads”), and \u003cstrong\u003eSlack\u003c\/strong\u003e (hot-tier alerts).\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eSetup requires adding \u003cstrong\u003eGoogle Gemini API credentials\u003c\/strong\u003e and \u003cstrong\u003eGoogle Sheets OAuth2\u003c\/strong\u003e credentials, then replacing the placeholder spreadsheet ID in the Config step.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46263643046067,"sku":"N8N-21308","price":20.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/KD_hN1DJOhzHGUH5DeW9P_YYlWN5r1.png?v=1792659751","url":"https:\/\/buyflowscripts.com\/products\/n8n-lead-scoring-workflow-gemini-enrichment-to-slack-sheets","provider":"N8N Commerce","version":"1.0","type":"link"}