Skip to content
FlowHubFluxonLab
A
AI Automationfree

Classify Salesforce deal complexity and notify sales with Groq and Slack

by WeblineIndiaadapted from n8n official workflow galleryUpdated Aug 2026
RequiresAAI AgentCCodeGroq Chat ModelGroq Chat ModelSalesforceSalesforceSlack
Share Post Share
SaTrigger - New OpportunityTrigger - New O…Fetch Opportunity DetailsFetch Opportuni…IfCheck If Not ProcessedCheck If Not Pr…CoPrepare Opportunity DataPrepare Opportu…Fetch Related ContactsFetch Related C…Fetch Opportunity ProductsFetch Opportuni…MeCombine Contacts & ProductsCombine Contact…CoCalculate Deal MetricsCalculate Deal …AgClassify Deal Complexity (AI)Classify Deal C…AI Model (Groq)CoParse AI ResponseParse AI Respon…Mark Opportunity as ProcessedMark Opportunit…Create Follow-up TaskCreate Follow-u…Send Success Notification (Slack)Send Success No…Send No Data Notification (Slack)Send No Data No…SeFormat AI Output12345678910111213141516
1/5
STEPS · 16
Starts on a Salesforce event

Quick overview This workflow monitors new Salesforce opportunities, enriches them with related contacts and products, uses Groq-hosted LLM analysis to classify deal complexity, then updates Salesforce with a processed flag, creates a follow-up task, and posts the outcome to a Slack channel. How it works Triggers when a new Opportunity is created in Salesforce. Retrieves Opportunity details and checks whether the opportunity has already been marked as processed. If it is already processed, posts a “no new opportunities” message to a Slack channel. If it is unprocessed, fetches related Salesforce Contacts for the Opportunity’s Account and OpportunityLineItem records for the Opportunity. Calculates simple deal metrics (stakeholder count, product count, and total product value) and sends them with Opportunity fields to a Groq LLM to classify complexity as Low/Medium/High with reasons and suggested actions. Parses the LLM’s JSON response, marks the Opportunity as Processed__c = true in Salesforce, creates a Salesforce Task containing the classification details, and sends a success notification to Slack.

Tags

n8nreference-onlyagentlm-chat-groqsalesforceslack
Connects
AAI AgentCCodegroqchatmodelGroq Chat ModelsalesforceSalesforceSlack
CategoryAI Automation
Triggermanual
Complexitycomplex
Nodes16
AddedJun 30, 2026

Related workflows

See all AI Automation
ACgmailsheets
free

Recommend supplier consolidation with Google Sheets, Groq, Slack and Gmail

Quick overview This workflow runs weekly to read supplier spend data from Google Sheets, detect overlapping suppliers across departments, estimate potential consolidation savings, and use Groq-hosted LLM analysis to assess risk and produce recommendations that are sent to Slack and emailed via Gmail. How it works Runs every week on a scheduled trigger. Reads supplier records from a Google Sheets spreadsheet and keeps key fields like supplier name, department, spend, risk rating, and stakeholder email. Groups and normalizes supplier names to find suppliers used by multiple departments and calculates estimated savings and an opportunity level. Sends each consolidation opportunity to a Groq chat model to evaluate risk versus savings and return a JSON decision and recommendation. Parses the AI JSON output, merges it with the calculated savings data, and formats a final recommendation record. Posts the recommendation to a Slack channel and emails a formatted report to the supplier stakeholder email address. Setup Connect your Google Sheets OAuth account and update the spreadsheet ID and sheet/tab to match your supplier records. Add a Groq API credential for the chat model used to evalua

by WeblineIndia
ACgroqchatmodel
free

Score and triage inbound leads with Groq, Slack, Google Sheets, and Google Tasks

Quick Overview This workflow captures leads via an n8n form, stores them in an n8n Data Table, uses a Groq Llama 3.3 chat model to score and categorize each lead and draft a reply, optionally alerts in Slack and creates a Google Task, and writes the results back to the Data Table. How it works Receives a new lead submission through an n8n Form trigger (name, email, company, source, and message). Saves the submitted lead into an n8n Data Table and keeps only the fields needed for scoring. Sends the lead details to a Groq Chat Model via an AI Agent to generate a JSON response with a score (1–100), tier (Hot/Warm/Cold), and a suggested reply. Uses the AI Agent’s tool actions to post an alert to Slack and create a task in Google Tasks only when the lead’s score is above the defined threshold. Parses the AI Agent output as JSON and updates the original Data Table row with the generated score, tier, and reply. Setup Configure the n8n Form trigger and embed or share its URL where you collect leads. Create or select an n8n Data Table for leads and ensure it includes columns for score, tier, reply, and an id used to match rows during updates. Add a Groq API credential and select the Groq ch

by WeblineIndia
ACgmailW
free

Send weekly blended ad performance reports with Meta Ads, Google Ads, GA4 and OpenAI

Quick overview This workflow runs every Monday at 8am, pulls last-7-days performance data from the Meta Ads API, Google Ads API, and Google Analytics 4, calculates blended KPIs, uses OpenAI to generate a client-friendly insight summary, and delivers an HTML report by Gmail while posting status update to Slack. How it works Runs every Monday at 8am on a schedule trigger. Fetches the last 7 days of spend and engagement metrics from the Meta Ads Insights endpoint. Fetches the last 7 days of campaign cost, clicks, and conversions from the Google Ads API using a streamed search query. Fetches the last 7 days of conversions and revenue by default channel group from the Google Analytics 4 Data API. Combines the three datasets and calculates blended totals for spend, conversions, revenue, and ROAS. Sends the blended metrics to OpenAI to generate a 3–4 sentence plain-language weekly performance summary. Builds a simple HTML report and sends it to the client via Gmail while posting a short “report sent” summary to a Slack channel. If the workflow execution fails, posts the error message to an ops Slack channel. Setup Add credentials and replace the placeholders for your Meta Ads token and ad

by Redowan Ahmed Farhan