{"product_id":"score-leads-with-google-gemini-route-hot-leads-webhook","title":"Score Leads with Google Gemini \u0026 Route Hot Leads Webhook","description":"\u003ch3\u003eInstantly score every inbound lead with Google Gemini—and webhook only the hot ones\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow automatically receives lead submissions via a webhook, uses \u003cstrong\u003eGoogle Gemini\u003c\/strong\u003e to score purchase intent and fit (0–10), and then \u003cstrong\u003eroutes hot leads\u003c\/strong\u003e to your destination webhook while sending lower-scoring leads to a cold-lead branch for further handling.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReceives leads via n8n webhook:\u003c\/strong\u003e Accepts a lead submission as a \u003cstrong\u003eJSON POST\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eLoads routing configuration:\u003c\/strong\u003e Reads the \u003cstrong\u003ehot-lead destination webhook URL\u003c\/strong\u003e and a \u003cstrong\u003escore threshold\u003c\/strong\u003e from configured workflow values.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eScores with Google Gemini:\u003c\/strong\u003e Sends the lead JSON to the \u003cstrong\u003eGoogle Gemini API\u003c\/strong\u003e and requests a \u003cstrong\u003eJSON-only response\u003c\/strong\u003e containing:\n    \u003cul\u003e\n      \u003cli\u003ea numeric \u003cstrong\u003escore (0–10)\u003c\/strong\u003e\n\u003c\/li\u003e\n      \u003cli\u003ea \u003cstrong\u003eone-sentence reason\u003c\/strong\u003e\n\u003c\/li\u003e\n    \u003c\/ul\u003e\n  \u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eParses and structures the result:\u003c\/strong\u003e Extracts the score and rationale into fields for downstream use.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRoutes based on the threshold:\u003c\/strong\u003e\n    \u003cul\u003e\n      \u003cli\u003eIf score meets\/exceeds the threshold → posts to your \u003cstrong\u003ehot-lead destination webhook\u003c\/strong\u003e with the score, reason, and original lead payload.\u003c\/li\u003e\n      \u003cli\u003eIf score is below the threshold → marks the lead as \u003cstrong\u003e“cold-lead”\u003c\/strong\u003e for downstream processing.\u003c\/li\u003e\n    \u003c\/ul\u003e\n  \u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eRoute sales-ready form submissions to Slack\/CRM webhooks while capturing lower-intent leads for nurture.\u003c\/li\u003e\n  \u003cli\u003ePrioritize high-fit leads from a SaaS landing page or lead-gen partner using Gemini scoring.\u003c\/li\u003e\n  \u003cli\u003eReduce manual triage by automatically attaching a Gemini one-sentence justification to every hot lead.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGoogle Gemini API key\u003c\/strong\u003e added to an n8n HTTP Query Auth credential (example parameter name: \u003cem\u003ekey\u003c\/em\u003e).\u003c\/li\u003e\n  \u003cli\u003eUses n8n nodes including: \u003cstrong\u003ewebhook\u003c\/strong\u003e, \u003cstrong\u003ehttp request\u003c\/strong\u003e, \u003cstrong\u003eif\u003c\/strong\u003e, and \u003cstrong\u003eset\u003c\/strong\u003e (plus documentation via \u003cstrong\u003esticky note\u003c\/strong\u003e).\u003c\/li\u003e\n  \u003cli\u003eCore logic: Gemini JSON scoring → compare to threshold → webhook fan-out (hot vs cold-lead).\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eSetup checklist\u003c\/h3\u003e\n\u003cp\u003eCreate a Gemini API key, configure the hot-lead destination URL + score threshold, then point your form\/CRM\/app to POST lead JSON to the workflow’s production webhook.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46094192476339,"sku":"N8N-19930","price":8.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/OUpAMMz-1I7ZsS5QgW56R_mQ5arJZy.png?v=1790413998","url":"https:\/\/buyflowscripts.com\/products\/score-leads-with-google-gemini-route-hot-leads-webhook","provider":"N8N Commerce","version":"1.0","type":"link"}