Recommend Salesforce quote pricing using Google Sheets, Groq, and Slack
Ready for 3.0What this workflow does
This AI workflow has 13 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Salesforce, Google Sheets, Slack and Groq Chat Model.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Fetch Opportunity Details (Salesforce): get (opportunity)
- Fetch Account Details (Salesforce): get (account)
- Normalize Deal Context (Code): runs custom JavaScript code
- Load Historical Deals (Sheets) (Google Sheets): uses Google Sheets
- Match Relevant Historical Deals (Code): runs custom JavaScript code
- Compute Pricing Benchmarks (Code): runs custom JavaScript code
- AI Pricing Strategist (AI Agent): runs an AI agent, with model: LLM Engine (Groq)
- Structure AI Output (Edit Fields (Set)): sets or maps fields
- Pre-Update Hook (Salesforce): custom api call (account)
- Update Quote in Salesforce (HTTP Request): calls an HTTP API (PATCH)
…plus 1 more step. See the full node list below.
Services it uses
Other Google Sheets + Slack templates (1,314) · Other Groq + Google Sheets templates (156) · Other Groq + Slack templates (78)
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (9)
- Webhook
n8n-nodes-base.webhook - Salesforce
n8n-nodes-base.salesforce - Code
n8n-nodes-base.code - Google Sheets
n8n-nodes-base.googleSheets - AI Agent
@n8n/n8n-nodes-langchain.agent - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Slack
n8n-nodes-base.slack - Groq Chat Model
@n8n/n8n-nodes-langchain.lmChatGroq
From the author
Quick Overview This workflow receives Salesforce Quote events via a webhook, enriches them with Salesforce Opportunity and Account data, benchmarks the deal against historical outcomes stored in Google Sheets, uses Groq (LangChain agent) to generate a pricing…