{"product_id":"gpt-4o-lead-scoring-webhook-route-to-gmail-google-sheets","title":"GPT-4o Lead Scoring Webhook: Route to Gmail \u0026 Google Sheets","description":"\u003ch3\u003eRoute every new lead to the right next step—automatically—with a GPT-4o Lead Scoring Webhook\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow receives inbound lead enquiries via a \u003cstrong\u003ePOST webhook\u003c\/strong\u003e, uses a \u003cstrong\u003eGPT-4o agent\u003c\/strong\u003e to enrich and score each lead against your ideal-customer rules, then routes results to \u003cstrong\u003eGmail\u003c\/strong\u003e for urgent follow-up or logs mid-fit leads to \u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAccepts leads\u003c\/strong\u003e: Listens for a webhook request on \u003ccode\u003e\/lead\u003c\/code\u003e containing a new enquiry.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAdds your rules context\u003c\/strong\u003e: Attaches your \u003cem\u003eideal customer profile\u003c\/em\u003e and \u003cem\u003eurgency signals\u003c\/em\u003e to the enquiry data.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eEnriches \u0026amp; scores with GPT-4o\u003c\/strong\u003e: Uses the \u003ccode\u003en8nn8n-nodes-langchainagent\u003c\/code\u003e (GPT-4o orchestrator agent) to call two sub-workflows—\u003cstrong\u003eenrich_lead\u003c\/strong\u003e and \u003cstrong\u003escore_lead\u003c\/strong\u003e—producing:\n    \u003cul\u003e\n      \u003cli\u003e\n\u003cstrong\u003eFit score\u003c\/strong\u003e (1–10)\u003c\/li\u003e\n      \u003cli\u003e\u003cstrong\u003eUrgency flag\u003c\/strong\u003e\u003c\/li\u003e\n    \u003c\/ul\u003e\n  \u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRoutes urgent leads\u003c\/strong\u003e: Emails the business owner in \u003cstrong\u003eGmail\u003c\/strong\u003e when the lead is urgent or has a \u003cstrong\u003escore 7+\u003c\/strong\u003e for same-day handling.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNurtures mid-fit leads\u003c\/strong\u003e: Appends leads with \u003cstrong\u003escore 4–6\u003c\/strong\u003e to a \u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e nurture list with enquiry details and score.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eDeclines low-fit leads\u003c\/strong\u003e: Sends a polite decline email via \u003cstrong\u003eGmail\u003c\/strong\u003e for \u003cstrong\u003escore 3 or below\u003c\/strong\u003e (or when matching your \u003cstrong\u003eDECLINE\u003c\/strong\u003e rules).\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eCapture inbound enquiries from your site form or landing page and trigger immediate lead triage.\u003c\/li\u003e\n  \u003cli\u003ePrioritize sales follow-up by notifying via Gmail only when leads are urgent or highly aligned (7+).\u003c\/li\u003e\n  \u003cli\u003eMaintain a structured nurture pipeline in Google Sheets for mid-fit leads (4–6).\u003c\/li\u003e\n  \u003cli\u003eAutomatically decline unsuitable leads using your DECLINE rules to keep the pipeline clean.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003en8n nodes\/tools: \u003cstrong\u003eWebhook\u003c\/strong\u003e, \u003cstrong\u003eSet\u003c\/strong\u003e, \u003cstrong\u003eGmail\u003c\/strong\u003e tool, \u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e tool, \u003cstrong\u003en8nn8n-nodes-langchainagent\u003c\/strong\u003e, and a \u003cstrong\u003eSticky Note\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003eRequired setup: add \u003cstrong\u003eOpenAI credentials\u003c\/strong\u003e for GPT-4o; configure \u003cstrong\u003eenrich_lead\u003c\/strong\u003e and \u003cstrong\u003escore_lead\u003c\/strong\u003e sub-workflow \u003ccode\u003eworkflowId\u003c\/code\u003e values; connect \u003cstrong\u003eGmail\u003c\/strong\u003e (update \u003ccode\u003eowner@example.com\u003c\/code\u003e); connect \u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e (set spreadsheet document ID and sheet name).\u003c\/li\u003e\n  \u003cli\u003eCustomize: update your IDEAL\/GOOD\/POOR\/DECLINE text and URGENCY-related rules in the workflow.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45938146214067,"sku":"N8N-19055","price":30.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/F0V9EMxjn4zGGAXSkEN3l_M2kqcZEI.png?v=1788339643","url":"https:\/\/buyflowscripts.com\/products\/gpt-4o-lead-scoring-webhook-route-to-gmail-google-sheets","provider":"N8N Commerce","version":"1.0","type":"link"}