{"product_id":"n8n-b2b-lead-scoring-workflow-gemini-sheets-slack-gmail-webhook","title":"n8n B2B Lead Scoring Workflow: Gemini, Sheets, Slack \u0026 Gmail Webhook","description":"\u003ch3\u003eInstant B2B lead scoring with Gemini—then notify sales automatically\u003c\/h3\u003e\n\u003cp\u003eThis \u003cstrong\u003en8n B2B Lead Scoring Workflow\u003c\/strong\u003e takes new leads from a \u003cstrong\u003ewebhook\u003c\/strong\u003e, deduplicates and enriches them in \u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e, scores them with \u003cstrong\u003eGoogle Gemini\u003c\/strong\u003e, and then routes notifications to your team via \u003cstrong\u003eSlack\u003c\/strong\u003e and \u003cstrong\u003eGmail\u003c\/strong\u003e based on the resulting lead tier (Hot\/Warm\/Cold).\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReceives lead submissions\u003c\/strong\u003e via a POST webhook endpoint (path: \u003ccode\u003elead-intake\u003c\/code\u003e).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNormalizes and validates inputs\u003c\/strong\u003e, ensuring required fields are present and standardizing key values like email and website.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eDeduplicates in Google Sheets\u003c\/strong\u003e by looking up the lead by email and continuing only if no existing record is found.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eEnriches contact and company data\u003c\/strong\u003e by calling external \u003cstrong\u003eHTTP APIs\u003c\/strong\u003e and mapping the responses into structured enrichment fields.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eScores with Google Gemini\u003c\/strong\u003e by merging the original lead data and enrichment details, then sending a scoring prompt to Gemini for a JSON response including: score, tier, summary, reasons, confidence, and recommended action.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eParses and applies the result\u003c\/strong\u003e, merges Gemini output back into the lead profile, and routes the lead into \u003cstrong\u003eHot\u003c\/strong\u003e, \u003cstrong\u003eWarm\u003c\/strong\u003e, or \u003cstrong\u003eCold\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAppends tiered records to Google Sheets\u003c\/strong\u003e and \u003cstrong\u003enotifies via Slack and Gmail\u003c\/strong\u003e for matching tiers.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eRoute inbound leads from a form\/landing page webhook to the right sales outreach tier within minutes.\u003c\/li\u003e\n  \u003cli\u003ePrevent duplicate follow-ups by deduplicating leads in Google Sheets using email.\u003c\/li\u003e\n  \u003cli\u003eAutomate enrichment + scoring for SaaS pipeline qualification, using Gemini to generate actionable summaries and reasons.\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 if, set, code, merge, gmail, slack\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIntegrations:\u003c\/strong\u003e Webhook (path \u003ccode\u003elead-intake\u003c\/code\u003e), Google Sheets, Google Gemini (PaLM), HTTP API enrichment, Slack notifications, Gmail notifications\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSetup highlights:\u003c\/strong\u003e configure webhook URL, Google Sheets credentials + document\/sheet tabs for duplicate checks and Hot\/Warm\/Cold appends, and add Google Gemini (PaLM) API credentials.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45938307891379,"sku":"N8N-18925","price":72.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/19wx_aeq_vkLu1qopuqoA_x35ShtMY.png?v=1788341788","url":"https:\/\/buyflowscripts.com\/products\/n8n-b2b-lead-scoring-workflow-gemini-sheets-slack-gmail-webhook","provider":"N8N Commerce","version":"1.0","type":"link"}