Templates / Route WhatsApp support requests with Groq, Google Sheets, Gmail, Telegram and AiSensy

Route WhatsApp support requests with Groq, Google Sheets, Gmail, Telegram and AiSensy

Needs changes

by Utkarsh Kapoor ✓ · 12 views · created 2026-07-10 · Support Chatbot, AI Chatbot

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 15 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Google Sheets, Groq Chat Model, Gmail and Telegram. It also calls backend.aisensy.com over HTTP.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Extract Message (Edit Fields (Set)): sets 4 fields: customer_phone, customer_name, message…
  2. Valid Message? (If): checks a condition and branches into true / false
  3. Load Knowledge Base (Google Sheets): uses Google Sheets
  4. Ignore Invalid (Respond to Webhook): sends the response back to the webhook caller
  5. AI Support Agent (AI Agent): runs an AI agent, with model: Groq LLM
  6. Parse Response (Code): runs custom JavaScript code
  7. Send WhatsApp Reply (HTTP Request): calls backend.aisensy.com
  8. Is Complaint? (If): checks a condition and branches into true / false
  9. Is Escalation? (If): checks a condition and branches into true / false
  10. Log to Sheets (Google Sheets): append or update

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

Services it uses

Google SheetsGroq Chat ModelGmailTelegram

HTTP calls to: backend.aisensy.com

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 AI Support Agent (v1.7): 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)
AI Support Agent (v1.7)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (11)

From the author

Quick overview This workflow receives incoming WhatsApp messages via an n8n webhook, loads an FAQ knowledge base from Google Sheets, and uses Groq (Llama 3.3) to classify intent and generate a reply. It sends the response through the AiSensy API, logs the…

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