G
GTM Vault
Browse
  • Dashboard
    • Automations
    • Skills
    • Prompts
    • Makers
  • Sign in
All Automations

Building your first WhatsApp chatbot

Creates an AI-powered WhatsApp chatbot that acts as a sales agent using product catalog data from vector storage for intelligent customer responses.

workflowlead_generation
Jimleukby Jimleukon n8n
Nodes

28

Triggers

2

Platform

n8n

Tech Stack
WhatsApp
WhatsApp
OpenAI
OpenAI
AI Agent
TO
Tool Vector Store
DO
Document Default Data Loader
TE
Text Splitter Recursive Character Text Splitter
VE
Vector Store In Memory
How It Works

This workflow builds a WhatsApp chatbot backed by an AI agent that can intelligently answer customer questions about products. It processes product catalog documents, stores them in a vector database for quick retrieval, and responds to WhatsApp messages using contextual product information.

1

Import and process product catalog

Retrieves product brochure data via HTTP request and extracts text contents for processing.

2

Build vector store knowledge base

Uploads processed text content to in-memory vector store to create searchable product catalog database.

3

Capture WhatsApp messages

Uses WhatsApp trigger to receive customer messages and filters out non-text message types.

4

Process messages with AI agent

Sends customer messages to AI agent which queries the product catalog using vector store tools.

5
Attached Files
workflow.json

Send intelligent responses

Returns AI-generated responses with relevant product information back to customers via WhatsApp.

What You'll Need

Whats App TriggerOpenAIWhatsApp Business
  • WhatsApp Business Account with API access
  • OpenAI API key for language model
  • Product catalog or brochure data source
  • Webhook URL for WhatsApp integration

This automation has 3 configurable settings you'll customize during setup.