{"product_id":"n8n-supplier-diversity-classifier-groq-notion-slack-alerts","title":"n8n Supplier Diversity Classifier: Groq + Notion + Slack Alerts","description":"\u003ch3\u003eAutomatically classify supplier diversity with Groq, save results in Notion, and alert your team on Slack\u003c\/h3\u003e\n\u003cp\u003eThis n8n automation workflow takes a list of suppliers via webhook, uses \u003cstrong\u003eGroq-hosted LLMs\u003c\/strong\u003e to classify each supplier’s diversity status and score, generates an alternative recommendation for low-diversity suppliers, then writes everything to \u003cstrong\u003eNotion\u003c\/strong\u003e and notifies stakeholders through \u003cstrong\u003eGmail\u003c\/strong\u003e and \u003cstrong\u003eSlack\u003c\/strong\u003e.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReceives supplier data via Webhook (POST)\u003c\/strong\u003e: it exposes an endpoint (e.g., \u003ccode\u003e\/supplier-onboarding\u003c\/code\u003e) and expects a JSON body containing a \u003ccode\u003esuppliers\u003c\/code\u003e array (fields like \u003ccode\u003esupplier_name\u003c\/code\u003e, \u003ccode\u003esupplier_id\u003c\/code\u003e, \u003ccode\u003ecategory\u003c\/code\u003e, and \u003ccode\u003ecountry\u003c\/code\u003e).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eProcesses suppliers one-by-one\u003c\/strong\u003e: splits the incoming list into individual supplier records for classification.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eClassifies diversity with Groq LLM\u003c\/strong\u003e: labels each supplier as \u003cstrong\u003eMinority Owned\u003c\/strong\u003e, \u003cstrong\u003eWomen Owned\u003c\/strong\u003e, \u003cstrong\u003eSmall Business\u003c\/strong\u003e, or \u003cstrong\u003eNot Diverse\u003c\/strong\u003e, including a certification, a diversity \u003cstrong\u003escore\u003c\/strong\u003e, and reasoning.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eMerges results back into the supplier record\u003c\/strong\u003e: adds the AI output plus a processing timestamp.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFilters low-diversity suppliers\u003c\/strong\u003e: targets suppliers marked \u003cstrong\u003e“Not Diverse”\u003c\/strong\u003e or with a diversity score \u003cstrong\u003ebelow 50\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGenerates an alternative recommendation\u003c\/strong\u003e: for flagged suppliers, runs a second Groq LLM to produce a single standardized alternative supplier recommendation.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eStores and alerts\u003c\/strong\u003e: creates a new page in a \u003cstrong\u003eNotion database\u003c\/strong\u003e with supplier details and recommendation, then sends an alert email via \u003cstrong\u003eGmail\u003c\/strong\u003e and posts to a \u003cstrong\u003eSlack\u003c\/strong\u003e channel before returning a JSON webhook response.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eSupplier onboarding teams needing consistent \u003cstrong\u003esupplier diversity classification\u003c\/strong\u003e during procurement workflows.\u003c\/li\u003e\n  \u003cli\u003eSaaS operators and automation engineers building an auditable pipeline that logs decisions in \u003cstrong\u003eNotion\u003c\/strong\u003e and escalates in \u003cstrong\u003eSlack\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003eOrganizations periodically re-checking suppliers and requesting alternative options when scores are low.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n Webhook\u003c\/strong\u003e (POST with \u003ccode\u003esuppliers\u003c\/code\u003e array), plus \u003cstrong\u003eif\u003c\/strong\u003e, \u003cstrong\u003eset\u003c\/strong\u003e, and \u003cstrong\u003ecode\u003c\/strong\u003e nodes for routing, formatting, and data shaping.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGroq\u003c\/strong\u003e LLM for initial classification and second-pass alternative supplier recommendation.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNotion\u003c\/strong\u003e node to create database pages with results and recommendations.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGmail\u003c\/strong\u003e and \u003cstrong\u003eSlack\u003c\/strong\u003e nodes to send email and channel alerts.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45916231991475,"sku":"N8N-18826","price":78.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/2iHI-zYvRcKM1d0mKmsRV_BnW1QplV.png?v=1788012787","url":"https:\/\/buyflowscripts.com\/products\/n8n-supplier-diversity-classifier-groq-notion-slack-alerts","provider":"N8N Commerce","version":"1.0","type":"link"}