{"product_id":"n8n-lead-scoring-workflow-openai-gpt-4o-mini-to-slack","title":"n8n Lead Scoring Workflow: OpenAI GPT-4o-mini to Slack","description":"\u003ch3\u003eTurn every n8n Form submission into instant lead scoring—and notify your team in Slack\u003c\/h3\u003e\n\u003cp\u003eThis \u003cstrong\u003en8n Lead Scoring Workflow\u003c\/strong\u003e automatically evaluates new \u003cstrong\u003en8n Form\u003c\/strong\u003e submissions using \u003cstrong\u003eOpenAI (GPT-4o-mini)\u003c\/strong\u003e, assigns a \u003cstrong\u003e1–10 lead score\u003c\/strong\u003e with brief reasoning, posts \u003cstrong\u003ehot leads (score ≥ 7)\u003c\/strong\u003e to \u003cstrong\u003eSlack\u003c\/strong\u003e, and logs all scored leads to \u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e for tracking.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eTriggers on new form submissions\u003c\/strong\u003e from an n8n Form.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSends submitted details to OpenAI (GPT-4o-mini)\u003c\/strong\u003e to generate:\n    \u003cul\u003e\n      \u003cli\u003ea \u003cstrong\u003enumeric lead score from 1 to 10\u003c\/strong\u003e\n\u003c\/li\u003e\n      \u003cli\u003e\n\u003cstrong\u003ebrief reasoning\u003c\/strong\u003e for that score\u003c\/li\u003e\n    \u003c\/ul\u003e\n  \u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eExtracts and structures the output\u003c\/strong\u003e so the lead record includes the score and reasoning.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eChecks the threshold\u003c\/strong\u003e: if the score is \u003cstrong\u003e7 or higher\u003c\/strong\u003e, it treats the lead as “hot.”\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePosts a formatted hot-lead alert to Slack\u003c\/strong\u003e (configured to your selected channel).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAppends every lead to Google Sheets\u003c\/strong\u003e, including the lead details, the score, and the reasoning.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSaaS lead intake\u003c\/strong\u003e: score inbound trials or demo requests and alert sales when a lead is strong (7+).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eMarketing qualification\u003c\/strong\u003e: automatically prioritize form-fillers based on your chosen prompt criteria.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSupport-to-sales handoff\u003c\/strong\u003e: surface high-intent inquiries to Slack while keeping a full history in Google Sheets.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eForm Trigger\u003c\/strong\u003e (n8n Form submissions)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOpenAI Chat Model\u003c\/strong\u003e using \u003cstrong\u003eGPT-4o-mini\u003c\/strong\u003e to produce a 1–10 score and reasoning\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCode\u003c\/strong\u003e step to extract and structure the score and reasoning\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIF\u003c\/strong\u003e logic to route alerts for scores \u003cstrong\u003e≥ 7\u003c\/strong\u003e\n\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSlack\u003c\/strong\u003e node to post hot-lead alerts to your chosen Slack channel\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e node to log all scored leads (OAuth + Spreadsheet ID + sheet\/tab)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSticky Note\u003c\/strong\u003e nodes for workflow clarity\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003cp\u003eSetup is straightforward: connect \u003cstrong\u003eOpenAI\u003c\/strong\u003e, \u003cstrong\u003eSlack\u003c\/strong\u003e, and \u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e credentials, update the Slack channel, and optionally adjust the \u003cstrong\u003elead-scoring prompt\u003c\/strong\u003e and hot-lead threshold.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45814418047155,"sku":"N8N-18010","price":51.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/xXrUAuQBO8XOrPO7jBUFm_dLhBprhe.png?v=1786439284","url":"https:\/\/buyflowscripts.com\/products\/n8n-lead-scoring-workflow-openai-gpt-4o-mini-to-slack","provider":"N8N Commerce","version":"1.0","type":"link"}