Ai customer support assistant · WhatsApp ready · works for any business
Needs changesWhat this workflow does
This AI workflow has 11 nodes and runs on WhatsApp events (messages). Along the way it connects HTTP Request, OpenAI Chat Model, WhatsApp Business Cloud and Postgres Chat Memory. It also calls lemolex.app.n8n.cloud over HTTP.
How it runs
Trigger: On WhatsApp events (messages).
- AI Agent: runs an AI agent, with model: OpenAI Chat Model; 2 tools (get_page, list_links); memory: Postgres Users Memory
- 24-hour window check (Code): runs custom JavaScript code
- If: checks a condition and branches into true / false
- cleanAnswer (Code): runs custom JavaScript code
- Send Pre-approved Template Message to Reopen the Conversation (WhatsApp Business Cloud): uses WhatsApp Business Cloud
- Send AI Agent's Answer (WhatsApp Business Cloud): send
Services it uses
HTTP calls to: lemolex.app.n8n.cloud
Before you upgrade to n8n 3.0
2 things in this workflow are removed in n8n 3.0. Fix them before you upgrade:
- AI Agent v1 (old agent modes) in AI 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.
- HTTP Request Tool (legacy) in list_links, get_page: replace with HTTP Request node connected to the AI Agent's Tool input.
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) AI Agent (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
| HTTP Request Tool (legacy) list_links, get_page | HTTP Request node connected to the AI Agent's Tool input |
Nodes used (8)
- AI Agent
@n8n/n8n-nodes-langchain.agent - HTTP Request Tool
@n8n/n8n-nodes-langchain.toolHttpRequest - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - WhatsApp Trigger
n8n-nodes-base.whatsAppTrigger - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - WhatsApp Business Cloud
n8n-nodes-base.whatsApp - Postgres Chat Memory
@n8n/n8n-nodes-langchain.memoryPostgresChat
From the author
AI Customer-Support Assistant that auto-maps any business site, answers WhatsApp in real time, and lets you earn or save thousands by replacing pricey SaaS chat tools. --- ⚡ What the workflow does Live “AI employee” - the bot crawls pages on demand (products,…