Library / Chatbots & Messaging Bots
Chatbots & Messaging Bots
Sell via WhatsApp with an OpenAI Sales Agent
When a WhatsApp message arrives, an OpenAI sales agent with memory and a vector store answers product questions in the chat.
What it does
## Try It Out! ### This n8n template builds a simple WhatsApp chabot acting as a Sales Agent. The Agent is backed by a product catalog vector store to better answer user's questions. * This template is in 2 parts: creating the product catalog vector store and building the WhatsApp AI chatbot. * A product brochure is imported via HTTP request node and its text contents extracted. * The text contents are then uploaded to the in-memory vector store to build a knowledgebase for the chatbot. * A WhatsApp trigger is used to capture messages from customers where non-text messages are filtered out. * The customer's message is sent to the AI Agent which queries the product catalogue using the vector store tool. * The Agent's response is sent back to the user via the WhatsApp node. ### Need Help? Join the [Discord]({{ $env.WEBHOOK_URL }} or ask in the [Forum]({{ $env.WEBHOOK_URL }}
The steps
- WhatsApp Trigger
- OpenAI Chat Model
- Window Buffer Memory
- Vector Store Tool
- Embeddings OpenAI
- OpenAI Chat Model1
- When clicking ‘Test workflow’
- Embeddings OpenAI1
- Default Data Loader
- Recursive Character Text Splitter
- Extract from File
- get Product Brochure
- Reply To User
- Reply To User1
33 steps in total.
Similar automations
Chatbots & Messaging BotsWhatsApp Chatbot with OpenAI Memory and Google Sheets7 stepsChatbots & Messaging BotsWhatsApp Chatbot with OpenAI Memory5 stepsChatbots & Messaging BotsAnswer FAQs in a WhatsApp Bot with Postgres22 stepsChatbots & Messaging BotsRun a Quiz Bot on WhatsApp with Postgres30 steps