Templates / Answer procurement questions by role using Groq and Google Sheets

Answer procurement questions by role using Groq and Google Sheets

Needs changes

by WeblineIndia ✓ · 0 views · created 2026-09-30 · Support Chatbot, AI RAG

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 32 nodes and runs when a chat message arrives (plus 1 other trigger). Along the way it connects Google Sheets and Groq Chat Model.

How it runs

Trigger: When a chat message arrives (plus 1 other trigger).

  1. Normalize Request (Code): runs custom JavaScript code
  2. If: checks a condition and branches into true / false
  3. Load Users (Google Sheets): uses Google Sheets
  4. Empty Question Response (Edit Fields (Set)): sets 3 fields: text, output, channel
  5. Resolve Identity and Role (Code): runs custom JavaScript code
  6. If: checks a condition and branches into true / false
  7. If: checks a condition and branches into true / false
  8. Return Portal Response (Respond to Webhook): sends the response back to the webhook caller
  9. Respond to Chat (Edit Fields (Set)): sets 2 fields: text, output
  10. Intent Extraction Agent (AI Agent): runs an AI agent, with model: Groq Intent Model

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

Services it uses

Google SheetsGroq Chat Model

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in Intent Extraction Agent (v1.8), Role-Aware Answer Agent (v1.8): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Intent Extraction Agent (v1.8), Role-Aware Answer Agent (v1.8)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (10)

From the author

Quick overview This workflow receives procurement questions via n8n Chat or a webhook, looks up role and procurement records in Google Sheets, and uses Groq-hosted LLM agents to generate a role-restricted, sheets-grounded answer with suggested next actions.…

Excerpt from WeblineIndia'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.