AI Agents

Intelligent WhatsApp Chatbot with AI-Powered Responses

28 nodes 280 143 Automatic trigger
Download

Workflow Description

Automates incoming WhatsApp messages using an AI agent powered by OpenAI, contextual memory, and semantic search over a knowledge base to deliver personalized, relevant replies at scale without manual intervention.

How it works

  1. 1.Receive incoming WhatsApp message and trigger the workflow
  2. 2.Process text by splitting documents and extracting relevant data
  3. 3.Perform vector search against knowledge base to retrieve matching information
  4. 4.Route request through AI agent using OpenAI with conversation memory
  5. 5.Send intelligent response back to user via WhatsApp

Use cases

  • Automated customer support: answer FAQs and common inquiries based on company knowledge base
  • Lead qualification: gather information and provide product details to prospective customers
  • Appointment scheduling: confirm and process booking requests directly within WhatsApp

Requirements

  • WhatsApp Business account connected to n8n with active webhook
  • OpenAI API key with access to GPT models
  • Knowledge base documents (PDF, text, or web content) containing accurate information

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

WhatsApp OpenAI Memory Vector Store Document Default Data Loader Text Splitter AI Agent

Details

Trigger Automatic trigger
Nodes 28
Apps 7
Views 280
Downloads 143

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 (28)

/

WhatsApp Trigger

Whats App Trigger

#1

OpenAI Chat Model

OpenAI

#2

Window Buffer Memory

Memory Buffer Window

#3

Vector Store Tool

Tool Vector Store

#4

Embeddings OpenAI

OpenAI

#5

OpenAI Chat Model1

OpenAI

#6

When clicking ‘Test workflow’

Manual Trigger

#7

Embeddings OpenAI1

OpenAI

#8

Default Data Loader

Document Default Data Loader

#9

Recursive Character Text Splitter

Text Splitter Recursive Character Text Splitter

#10

Extract from File

Extract From File

#11

get Product Brochure

HTTP Request

#12

Reply To User

Whats App

#13

Reply To User1

Whats App

#14

Product Catalogue

Vector Store In Memory

#15

Sticky Note

Sticky Note

#16

Sticky Note1

Sticky Note

#17

Create Product Catalogue

Vector Store In Memory

#18

Sticky Note2

Sticky Note

#19

Sticky Note3

Sticky Note

#20

Sticky Note4

Sticky Note

#21

Sticky Note5

Sticky Note

#22

Sticky Note6

Sticky Note

#23

Sticky Note7

Sticky Note

#24

Handle Message Types

Switch

#25

Sticky Note8

Sticky Note

#26

Sticky Note9

Sticky Note

#27

AI Sales Agent

Agent

#28