Automate product training & customer support via WhatsApp, GPT-4 & Google Sheets
Needs changesWhat this workflow does
This AI workflow has 16 nodes and runs on WhatsApp events (messages). Along the way it connects WhatsApp Business Cloud, Google Sheets and OpenAI Chat Model.
How it runs
Trigger: On WhatsApp events (messages).
- Check If Training (Switch): routes items into 2 branches
- Extract URL from Text (Code): runs custom JavaScript code
- AI Agent: runs an AI agent, with model: OpenAI Model; 2 tools (Read Product Sheet, Log Customer Issues); memory: Conversation Memory
- Fetch HTML Page (HTTP Request): calls an HTTP API
- WhatsApp Business Cloud: send
- Clean HTML Content (Code): runs custom JavaScript code
- Save Raw Product Info (Google Sheets): append
- AI Agent: runs an AI agent, with model: OpenAI Model; 1 tool (Update Product Sheet); memory: Short-Term Memory
Services it uses
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 Agent - Customer Support Agent (v1.7), AI Agent - Enhance Product Details (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.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) AI Agent - Customer Support Agent (v1.7), AI Agent - Enhance Product Details (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)
- WhatsApp Business Cloud
n8n-nodes-base.whatsApp - WhatsApp Trigger
n8n-nodes-base.whatsAppTrigger - Switch
n8n-nodes-base.switch - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Google Sheets
n8n-nodes-base.googleSheets - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Google Sheets Tool
n8n-nodes-base.googleSheetsTool - AI Agent
@n8n/n8n-nodes-langchain.agent
From the author
WhatsApp AI Agent: Auto-Train Product Data & Handle Customer Support Who Is This For This workflow is ideal for eCommerce founders, product managers, customer support teams, and automation builders who rely on WhatsApp to manage product information and…