Skip to content
FlowHubFluxonLab
A
AI Automationfree

Triage supplier capacity risk with Groq, Gmail, Slack, and Google Sheets

by WeblineIndiaadapted from n8n official workflow galleryUpdated Aug 2026
RequiresAAI AgentCCodeGmailGmailGoogle SheetsGoogle SheetsGroq Chat ModelGroq Chat ModelHTTP RequestHTTP RequestSlack
Share Post Share
SeInitialize Risk ConfigInitialize Risk…HRGet Supplier Performance DataGet Supplier Pe…IfCheck Valid OrdersCheck Valid Ord…CoNormalize Supplier DataNormalize Suppl…CoCompute Risk MetricsCompute Risk Me…LLM Risk EngineAgClassify Supplier Risk (AI)Classify Suppli…CoValidate & Merge Risk OutputValidate & Merg…IfCheck High Risk ConditionCheck High Risk…LLM Action GeneratorLLM Action Gene…AgGenerate Mitigation ActionsGenerate Mitiga…CoFormat Action RecommendationsFormat Action R…HRGet Backup Supplier OptionsGet Backup Supp…Coormat Backup Supplier Listormat Backup Su…MeCombine Actions & Backup DataCombine Actions…CoPrepare Alert PayloadPrepare Alert P…Send Email NotificationSend Email Noti…Send Slack NotificationSend Slack Noti…Log High Risk EventLog High Risk E…CoPrepare Non-Critical LogPrepare Non-Cri…Log Low/Medium EventLog Low/Medium …ScDaily Trigger12345678910111213141516171819202122
1/5
STEPS · 22
Runs on a schedule

Quick overview This workflow runs daily to pull supplier performance data from an HTTP endpoint, calculate fulfillment and delay risk metrics, use Groq (Llama 3.3) to classify supplier risk and generate mitigation actions, then notify via Gmail and Slack and log outcomes to Google Sheets. How it works Runs every day at the scheduled time. Fetches supplier performance data from an HTTP API and stops if the supplier has no orders. Normalizes the supplier fields and calculates fulfillment rate, delay, rule-based flags, and a risk score. Sends the metrics to Groq (Llama 3.3) to classify risk (Low/Medium/High) with a reason and confidence, then merges the AI result with the computed metrics (falling back to the rule-based classification if parsing fails). If the AI risk is Medium, Groq generates three mitigation actions and the workflow fetches backup supplier options from an HTTP API, then combines both into a single alert payload. Sends the mitigation actions by Gmail email and Slack message, then appends a “high risk” audit row to Google Sheets. If the AI risk is not Medium, appends a “no alert sent” audit row to Google Sheets with the assessed risk details.

Tags

n8nreference-onlyagentgmailgoogle-sheetslm-chat-groqslack
Connects
AAI AgentCCodegmailGmailsheetsGoogle SheetsgroqchatmodelGroq Chat ModelWHTTP Request
CategoryAI Automation
Triggermanual
Complexityadvanced
Nodes22
AddedJul 14, 2026

Related workflows

See all AI Automation
ACgmail
free

Send and track Slack invoice requests with Gemini, Google Sheets and Gmail

Quick overview Youtube Video: https://youtu.be/42-oHh9w9Eo This workflow listens for Slack @mentions, uses Google Gemini to classify the request and extract invoice details, then reads and updates Google Sheets, generates invoice PDFs with PdfBro, sends invoices or reminders via Gmail, and posts confirmations or errors back to Slack. How it works Triggers when the workflow’s Slack app is mentioned in a specified Slack channel. Uses Google Gemini to classify the message intent (send invoice, remind invoice, or check status) and extract the recipient email and invoice due date. Routes the request based on the extracted intent and stops if the intent cannot be determined. For SEND_INVOICE, looks up the client in a Google Sheets “Client Bill” spreadsheet and posts a Slack error if no matching email is found. If a client is found, generates an invoice PDF with PdfBro, emails it to the client via Gmail, appends/updates the invoice record in a Google Sheets “Client Invoices” spreadsheet, and posts a Slack confirmation. For REMIND_INVOICE, finds an UNPAID invoice for the email in the “Client Invoices” Google Sheet, regenerates the invoice PDF with PdfBro, emails a reminder via Gmail, and p

by iamvaar
ABC
free

Draft personalized cold emails from Google Sheets using Gemini and HubSpot

Quick overview This workflow batch-processes leads from Google Sheets, researches each person and company using Tavily plus Google Gemini, drafts a personalized cold email, then creates/updates the contact in HubSpot with a research note and a saved email draft before marking the lead as Done in the sheet. How it works Runs manually and sets a batch size that controls how many leads to process per run. Reads leads from Google Sheets, skips rows already marked as Done, and normalizes the selected batch into clean lead fields. Processes the batch one lead at a time and uses Tavily search (last 60 days) with Google Gemini to extract the most recent public activity, pain points, and a personalization hook. Cleans and parses the research JSON so it can be reused reliably downstream. Uses Google Gemini to draft a 90–120 word cold outreach email (subject and body) that incorporates the research and offers a free “Automated LinkedIn Post Creator” n8n workflow. Creates or reuses the HubSpot contact, logs a HubSpot note with the research and drafted email, and saves the email as a HubSpot engagement in DRAFT status. Updates the matching row in Google Sheets (by Email) to set Status to “Done

by Vyrazu Labs
ACDgmail
free

AI: Summarize podcast episode and enhance using Wikipedia

The workflow automates the process of creating a summarized and enriched podcast digest, which is then sent via email. Note that to use this template, you need to be on n8n version 1.19.4 or later.

by n8n Team