{"product_id":"ai-lead-scoring-routing-in-n8n-openai-slack-notion-sheets","title":"AI Lead Scoring \u0026 Routing in n8n: OpenAI, Slack, Notion, Sheets","description":"\u003ch3\u003eInstant AI Lead Scoring \u0026amp; Routing in n8n—Powered by OpenAI, Slack, Notion, and Google Sheets\u003c\/h3\u003e\n\u003cp\u003eTurn every new lead form submission into an AI-scored, immediately routed action. This n8n workflow uses OpenAI to score leads, assigns “hot” leads to SDRs in round-robin rotation, alerts your team in Slack, and logs results to Notion and Google Sheets.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReceives leads via webhook:\u003c\/strong\u003e Accepts a new lead submission as a \u003cstrong\u003ePOST\u003c\/strong\u003e request to an n8n webhook.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eClassifies the email domain locally:\u003c\/strong\u003e Determines whether the email domain looks \u003cem\u003ebusiness\u003c\/em\u003e or \u003cem\u003epersonal\u003c\/em\u003e before scoring.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eScores with OpenAI (JSON output):\u003c\/strong\u003e Sends lead details to OpenAI to return a structured response including \u003cstrong\u003elead score\u003c\/strong\u003e, \u003cstrong\u003etier\u003c\/strong\u003e (hot\/warm\/cold), \u003cstrong\u003ereasoning\u003c\/strong\u003e, and a \u003cstrong\u003esuggested next step\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eHandles AI parsing failures:\u003c\/strong\u003e If the OpenAI response can’t be parsed, it posts a message to a \u003cstrong\u003eSlack review channel\u003c\/strong\u003e for manual scoring.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRoutes hot leads automatically:\u003c\/strong\u003e For \u003cstrong\u003ehot\u003c\/strong\u003e leads, assigns the next SDR using \u003cstrong\u003eround-robin rotation\u003c\/strong\u003e and sends a Slack alert with the score and assignment; otherwise, places the lead in a nurture queue.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePersists lead data:\u003c\/strong\u003e Creates a lead record in \u003cstrong\u003eNotion\u003c\/strong\u003e, sends a tailored confirmation email via \u003cstrong\u003eGmail\u003c\/strong\u003e, and appends tier\/score\/timestamp\/assignment to \u003cstrong\u003eGoogle Sheets\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 who want AI lead scoring and immediate routing for faster SDR response times.\u003c\/li\u003e\n  \u003cli\u003eOps\/automation engineers building a webhook-to-CRM-style pipeline without leaving n8n.\u003c\/li\u003e\n  \u003cli\u003eTeams that need audit-friendly logging to both \u003cstrong\u003eNotion\u003c\/strong\u003e and \u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e, plus Slack notifications for visibility.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details (n8n integrations)\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eWebhooks + Code\/if nodes\u003c\/strong\u003e for workflow control and domain classification.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOpenAI\u003c\/strong\u003e for JSON lead scoring (score, tier, reasoning, suggested next step).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSlack\u003c\/strong\u003e for hot-lead alerts and review-channel messages when parsing fails.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNotion\u003c\/strong\u003e to create a lead record with mapped properties (e.g., status, email, lead score).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGmail\u003c\/strong\u003e to send confirmation emails.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e to append lead details (tier, score, timestamp, assignment).\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cstrong\u003eSetup tip:\u003c\/strong\u003e Add credentials for OpenAI, Slack, Notion, Gmail, and Google Sheets, then update config values (Slack channel IDs, Notion database ID, Google Sheet ID, and the SDR email list for round-robin routing).\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45878611706035,"sku":"N8N-18567","price":4.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/axzL2il35hzvnxM2esDRY_CaCuH063.png?v=1787389488","url":"https:\/\/buyflowscripts.com\/products\/ai-lead-scoring-routing-in-n8n-openai-slack-notion-sheets","provider":"N8N Commerce","version":"1.0","type":"link"}