Conversational WhatsApp Assistant with Gemini AI and Pinecone Memory
๐ Description
This template creates an intelligent AI assistant for WhatsApp that can: Respond naturally** to messages using Google Gemini AI Remember previous conversations** for each user Access a knowledge base** for answering frequently asked questions Automatically save** all conversations for long-term memory
๐ ๏ธ Requirements
-
WAMM.pro Account (FREE tier available) What is WAMM.pro?** - A platform that enables WhatsApp automation using proprietary API technology Free tier:** 50 messages/month PRO tier:** Unlimited messages + advanced features Link:** wamm.pro
-
Pinecone Account (for AI memory) For storing conversations and knowledge base Free tier available
-
Google AI Account (for Gemini) For the conversational AI model
-
OpenAI Account (for embeddings) For generating memory vectors
๐ Step-by-step Setup
Step 1: WAMM.pro Configuration
Create account at wamm.pro Account Manager โ Add WhatsApp profile Scan QR code with your WhatsApp Note down: Instance ID and Access Token
Step 2: Webhook Configuration
In WAMM.pro: Integrations โ Webhooks โ Messages Webhooks
Add Webhook with the n8n URL
Required configuration:
From others: โ
Relevant + โ
Without media + โ
Exclude no text
To others: โ
Relevant + โ
Without media + โ
Exclude no text
To myself: โ
None (to avoid responding to own messages)
Step 3: Pinecone Configuration
Create 2 indexes: historywa - for conversation memory knowledge - for knowledge base Index settings: Dimensions: 3072 Metric: cosine Embedding model: text-embedding-3-large
Step 4: n8n Configuration
Configure credentials:
WAMM: Instance ID + Access Token
Pinecone: API Key
Google Gemini: API Key
OpenAI: API Key for embeddings
๐ง How it Works
Workflow Flow:
๐ฑ WhatsApp Message โ (webhook) ๐ฏ AI Agent (Gemini) โ (uses tools) ๐ Memory Tool + Knowledge Tool โ (response generated) ๐ค WAMM Send Message โ (saves) ๐พ Pinecone Memory Storage
Available AI Tools:
Memory Tool - Searches previous conversations with the user Knowledge Tool - Searches the general knowledge base
Special Features:
Natural conversations** - AI doesn't mention "searching history" Persistent context** - Remembers names, preferences, previous conversations User language detection** - Automatically responds in user's language Organized memory** - Each user has their own memory space
๐ Benefits
โ
Zero maintenance - Runs automatically
โ
Scalable - Supports multiple users simultaneously
โ
Intelligent memory - Uses similarity search for relevant context
โ
Extensible - Easy to add new features
โ
Cost-effective - Free tiers available for all services
๐ฏ Use Cases
Automated customer support** with memory
Personal assistant** for WhatsApp
Business chatbot** with specific knowledge
Conversation automation** with persistent context
๐ Security
Data** stored in Pinecone as vector embeddings
No plain text** message storage
Each user** has separate memory space
API keys** secured in n8n credentials
๐ Possible Extensions
CRM** integrations
Scheduling** and reminders
Advanced multi-language** support
Analytics** and conversation reports
Custom knowledge bases** per user
๐ก Tip: For optimal results, populate the knowledge base with frequently asked questions specific to your business!
Related Templates
Convert JSON Objects to Base64 Strings with File Processing
Encode JSON to Base64 String in n8n This example workflow demonstrates how to convert a JSON object into a base64-encod...
AI Agent with Ollama for current weather and wiki
This workflow template demonstrates how to create an AI-powered agent that provides users with current weather informati...
Automate Daily YouTrack Task Summaries to Discord by Assignee
Daily YouTrack In-Progress Tasks Summary to Discord by Assignee Keep your team in sync with a daily summary of tasks cu...
๐ Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments