AI Agents

WhatsApp automation

35 nodes 203 128 Automatic trigger
Download

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. 1.Activate the trigger when receiving WhatsApp messages
  2. 2.Process message through LLM chain and analyze with Gemini model
  3. 3.Store context in buffer memory and apply conditional routing logic
  4. 4.Query additional information via Wikipedia tool when needed
  5. 5.Generate intelligent response from the agent and apply delay before sending
  6. 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

WhatsApp Memory Tool LLM Chain Gemini AI Agent

Details

Trigger Automatic trigger
Nodes 35
Apps 6
Views 203
Downloads 128

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (35)

/

WhatsApp Trigger

Whats App Trigger

#1

Get Audio URL

Whats App

#2

Get Video URL

Whats App

#3

Get Image URL

Whats App

#4

Download Video

HTTP Request

#5

Download Audio

HTTP Request

#6

Download Image

HTTP Request

#7

Window Buffer Memory

Memory Buffer Window

#8

Get User's Message

Set

#9

Split Out Message Parts

Split Out

#10

Wikipedia

Tool Wikipedia

#11

Redirect Message Types

Switch

#12

Sticky Note

Sticky Note

#13

Sticky Note1

Sticky Note

#14

Sticky Note2

Sticky Note

#15

Sticky Note3

Sticky Note

#16

Sticky Note4

Sticky Note

#17

Get Text

Wait

#18

Sticky Note5

Sticky Note

#19

Sticky Note6

Sticky Note

#20

Respond to User

Whats App

#21

Sticky Note7

Sticky Note

#22

Sticky Note8

Sticky Note

#23

Image Explainer

LLM Chain

#24

Format Response

Set

#25

Sticky Note9

Sticky Note

#26

Google Gemini Chat Model

Gemini Model

#27

Sticky Note10

Sticky Note

#28

Google Gemini Audio

HTTP Request

#29

Google Gemini Video

HTTP Request

#30

Google Gemini Chat Model1

Gemini Model

#31

Google Gemini Chat Model2

Gemini Model

#32

Format Response1

Set

#33

Text Summarizer

LLM Chain

#34

AI Agent

Agent

#35