Score and triage inbound leads with Groq, Slack, Google Sheets, and Google Tasks
Ready for 3.0What this workflow does
This AI workflow has 10 nodes and runs when someone submits an n8n form (“Contact us”). Along the way it connects Groq Chat Model, Slack, Google Tasks and Google Sheets.
How it runs
Trigger: When someone submits an n8n form (“Contact us”).
- save data to data table (Data table): uses Data table
- Retrieve required fields (Edit Fields (Set)): sets 5 fields: email, company, source…
- AI Agent: runs an AI agent, with model: Groq Chat Model; 3 tools (Send a message in Slack, Create a task in Google Tasks, Append or update row in sheet in Google Sheets)
- Convert AI response to JSON (Code): runs custom JavaScript code
- Update lead row with new data (Data table): update
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 (9)
- Edit Fields (Set)
n8n-nodes-base.set - AI Agent
@n8n/n8n-nodes-langchain.agent - Groq Chat Model
@n8n/n8n-nodes-langchain.lmChatGroq - Slack Tool
n8n-nodes-base.slackTool - Code
n8n-nodes-base.code - Data table
n8n-nodes-base.dataTable - n8n Form Trigger
n8n-nodes-base.formTrigger - Google Tasks Tool
n8n-nodes-base.googleTasksTool - Google Sheets Tool
n8n-nodes-base.googleSheetsTool
From the author
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…