WhatsApp AI Chatbot for Product Inquiries Using PDF Brochure
detail.loadingPreview
Automate product inquiries via WhatsApp. This workflow uses the WhatsApp Trigger to receive messages, processes them with OpenAI's Chat Model and a Vector Store built from a PDF brochure, and replies to users.
🚀Ready to Deploy This Workflow?
About This Workflow
Overview
This n8n workflow automates handling product inquiries received through WhatsApp. It leverages a PDF brochure as a knowledge base, allowing users to ask questions about products in natural language. The workflow starts by downloading a specified product brochure, extracting its text content, and then creating an in-memory vector store from this data. When a WhatsApp message arrives, it's processed by an OpenAI Chat Model, which can query the vector store to find relevant information. Finally, the system generates a helpful response and sends it back to the user via WhatsApp. This solves the problem of manual customer support for product information, providing instant, AI-driven responses.
Key Features
- WhatsApp Integration: Receives incoming messages directly from WhatsApp users.
- AI-Powered Responses: Utilizes OpenAI's Chat Model for intelligent understanding and response generation.
- Knowledge Base: Ingests and processes a PDF product brochure to answer specific product questions.
- Vector Store: Creates an in-memory vector store for efficient retrieval of relevant information from the brochure.
- Dynamic Reply: Sends personalized responses back to the user via WhatsApp.
- Message Type Filtering: Excludes non-text message types from the WhatsApp trigger.
How To Use
- Configure WhatsApp Trigger: Set up the
WhatsApp Triggernode with your credentials and desired webhook settings. - Download and Extract Brochure: The
HTTP Requestnode downloads the product PDF brochure. TheExtract from Filenode then extracts the text content. - Create Vector Store: The extracted text is processed by
Embeddings OpenAIand then stored in anIn-Memory Vector Storeusing theCreate Product Cataloguenode. EnsureclearStoreis set totruefor initial setup. - Process Incoming Messages: The
WhatsApp Triggernode receives user messages. - AI Response Generation: The
OpenAI Chat ModelandWindow Buffer Memorynodes process the user's query, utilizing theVector Store Toolto retrieve information from the product brochure. - Send Reply: The
Reply To Usernode sends the AI-generated response back to the user on WhatsApp.
Apps Used
Workflow JSON
{
"id": "b08f9918-f69c-4148-930c-0667b46e75fd",
"name": "WhatsApp AI Chatbot for Product Inquiries Using PDF Brochure",
"nodes": 0,
"category": "WhatsApp Automation",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: b08f9918-f69c...
About the Author
N8N_Community_Pick
Curator
Hand-picked high quality workflows from the global community.
Statistics
Verification Info
Related Workflows
Discover more workflows you might like
Automated WhatsApp Meeting Attendee Notifications
This workflow automates WhatsApp notifications for upcoming meetings by extracting attendee information from Google Calendar invites and then using OpenAI to generate personalized messages. It also fetches recent email correspondence to provide context.
WhatsApp AI Message Handler: Automate Audio, Video, and Image Analysis
This workflow automates the handling of various WhatsApp message types, including audio, video, and images. It uses the WhatsApp Trigger and a Switch node to identify message types, then processes media using WhatsApp and HTTP Request nodes, before feeding the information to AI tools like Wikipedia and a memory buffer.