WhatsApp automation
Workflow Description
Intelligent WhatsApp automation that processes incoming messages through an AI agent with contextual memory, advanced language models, and search capabilities, delivering fast and relevant responses while managing multiple conversations seamlessly.
How it works
- 1.Activate the trigger when receiving WhatsApp messages
- 2.Process message through LLM chain and analyze with Gemini model
- 3.Store context in buffer memory and apply conditional routing logic
- 4.Query additional information via Wikipedia tool when needed
- 5.Generate intelligent response from the agent and apply delay before sending
- 6.Send response via WhatsApp while preserving conversation context
Use cases
- Automated customer support that answers inquiries intelligently based on conversation history
- Virtual assistant providing web information retrieval with persistent conversation memory
- Multi-tier support system that routes different inquiry types to appropriate processing paths
Requirements
- Active WhatsApp Business account with API enabled and authentication credentials
- API key for Google Gemini or alternative supported language model
- Configured buffer memory settings for efficient context storage between messages
Service Value
Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.
Apps Used
Details
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (35)
WhatsApp Trigger
Whats App Trigger
Get Audio URL
Whats App
Get Video URL
Whats App
Get Image URL
Whats App
Download Video
HTTP Request
Download Audio
HTTP Request
Download Image
HTTP Request
Window Buffer Memory
Memory Buffer Window
Get User's Message
Set
Split Out Message Parts
Split Out
Wikipedia
Tool Wikipedia
Redirect Message Types
Switch
Sticky Note
Sticky Note
Sticky Note1
Sticky Note
Sticky Note2
Sticky Note
Sticky Note3
Sticky Note
Sticky Note4
Sticky Note
Get Text
Wait
Sticky Note5
Sticky Note
Sticky Note6
Sticky Note
Respond to User
Whats App
Sticky Note7
Sticky Note
Sticky Note8
Sticky Note
Image Explainer
LLM Chain
Format Response
Set
Sticky Note9
Sticky Note
Google Gemini Chat Model
Gemini Model
Sticky Note10
Sticky Note
Google Gemini Audio
HTTP Request
Google Gemini Video
HTTP Request
Google Gemini Chat Model1
Gemini Model
Google Gemini Chat Model2
Gemini Model
Format Response1
Set
Text Summarizer
LLM Chain
AI Agent
Agent