Templates / Score and route inbound B2B leads with Groq AI

Score and route inbound B2B leads with Groq AI

Ready for 3.0

by Ahmet Dost | TrPulseIT · 0 views · created 2026-11-20

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 19 nodes and runs when someone submits an n8n form (“Tell us about your project”). Along the way it connects Google Sheets, Groq Chat Model, Slack and Gmail.

How it runs

Trigger: When someone submits an n8n form (“Tell us about your project”).

  1. Set Workflow Variables (Edit Fields (Set)): sets 4 fields: googleSheetId, slackSalesChannel, companyName…
  2. Normalize Lead (Edit Fields (Set)): sets 6 fields: name, company, email…
  3. Is Valid Lead? (If): checks a condition and branches into true / false
  4. Find Existing Lead (Google Sheets): read
  5. Log Invalid Submission (Google Sheets): append
  6. Is New Lead? (If): checks a condition and branches into true / false
  7. AI Lead Qualification (Information Extractor): extracts structured fields from text with AI, with model: Groq Chat Model
  8. Update Returning Lead (Google Sheets): append or update
  9. Build Lead Record (Edit Fields (Set)): sets 12 fields: received_at, name, company…
  10. Alert Team: AI Failed (Slack): uses Slack

…plus 6 more steps. See the full node list below.

Services it uses

Google SheetsGroq Chat ModelSlackGmail

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 (10)

From the author

Quick overview This workflow receives inbound B2B leads via a webhook, uses Groq’s chat model to score and categorize them (hot/warm/cold) and draft a first reply, then routes the lead to a category-specific branch and returns the result as JSON. How it works…

Excerpt from Ahmet Dost | TrPulseIT's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.