Classify supplier diversity and suggest replacements with Groq, Notion, Gmail and Slack
Ready for 3.0What this workflow does
This AI workflow has 15 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Groq Chat Model, Notion, Gmail and Slack.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Extract Supplier List (Edit Fields (Set)): sets 1 field: suppliers_list
- Split Suppliers (Split Out): splits a list into separate items
- Diversity Classification AI (AI Agent): runs an AI agent, with model: LLM (Classification)
- Merge Classification Data (Code): runs custom JavaScript code
- Low Diversity Filter (If): checks a condition and branches into true / false
- Prepare Recommendation Input (Edit Fields (Set)): sets 1 field: supplier_name
- Supplier Recommendation AI (AI Agent): runs an AI agent, with model: LLM (Recommendation)
- Format Recommendation Output (Code): runs custom JavaScript code
- Store in Notion (Notion): work with database page
- Send Email Alert (Gmail): uses Gmail
…plus 2 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (11)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - Split Out
n8n-nodes-base.splitOut - AI Agent
@n8n/n8n-nodes-langchain.agent - Groq Chat Model
@n8n/n8n-nodes-langchain.lmChatGroq - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Notion
n8n-nodes-base.notion - Gmail
n8n-nodes-base.gmail - Slack
n8n-nodes-base.slack - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
Quick overview This workflow receives a list of suppliers via webhook, uses Groq-hosted LLMs to classify each supplier’s diversity status and score, generates an alternative recommendation for low-diversity suppliers, stores the result in Notion, and sends…