{"product_id":"n8n-whatsapp-ai-sales-agent-openai-gemini-rag","title":"n8n WhatsApp AI Sales Agent: OpenAI + Gemini RAG","description":"\u003ch3\u003eTurn WhatsApp chats into AI-powered, catalogue-grounded sales conversations\u003c\/h3\u003e\n\u003cp\u003eThis \u003cstrong\u003en8n WhatsApp AI Sales Agent\u003c\/strong\u003e workflow listens for new customer messages on WhatsApp, understands them (text, voice, images, and videos), and replies with \u003cstrong\u003eretrieval-augmented answers\u003c\/strong\u003e grounded in your indexed \u003cstrong\u003eproduct brochure PDF\u003c\/strong\u003e—using \u003cstrong\u003eOpenAI\u003c\/strong\u003e and \u003cstrong\u003eGoogle Gemini\u003c\/strong\u003e.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eBuilds a knowledge base (manual run):\u003c\/strong\u003e downloads a product brochure PDF, extracts its text, splits it into chunks, generates \u003cstrong\u003eOpenAI embeddings\u003c\/strong\u003e, and indexes everything into an \u003cstrong\u003ein-memory vector store\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eTriggers on incoming WhatsApp messages:\u003c\/strong\u003e loads workflow configuration including models, prompts, WhatsApp phone number ID, and the vector store key.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eUnderstands different message types:\u003c\/strong\u003e\n    \u003cul\u003e\n      \u003cli\u003e\n\u003cstrong\u003eAudio\/voice:\u003c\/strong\u003e transcribes audio using \u003cstrong\u003eOpenAI\u003c\/strong\u003e.\u003c\/li\u003e\n      \u003cli\u003e\n\u003cstrong\u003eImages:\u003c\/strong\u003e describes images using \u003cstrong\u003eOpenAI Vision\u003c\/strong\u003e.\u003c\/li\u003e\n      \u003cli\u003e\n\u003cstrong\u003eVideo:\u003c\/strong\u003e describes videos using \u003cstrong\u003eGoogle Gemini\u003c\/strong\u003e.\u003c\/li\u003e\n      \u003cli\u003e\n\u003cstrong\u003eText:\u003c\/strong\u003e uses the message text directly.\u003c\/li\u003e\n    \u003c\/ul\u003e\n  \u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAnswers with RAG + per-customer chat memory:\u003c\/strong\u003e uses an \u003cstrong\u003eOpenAI chat model\u003c\/strong\u003e with \u003cstrong\u003eper-customer memory\u003c\/strong\u003e and a vector-store retrieval tool to respond based on the indexed product catalogue.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSends WhatsApp replies:\u003c\/strong\u003e returns the agent’s answer via WhatsApp, or a predefined message for unsupported WhatsApp message types.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eAutomate product questions on WhatsApp (pricing, specs, availability) with answers pulled from your brochure.\u003c\/li\u003e\n  \u003cli\u003eQualify leads by maintaining per-customer conversation context and guiding customers through the catalogue.\u003c\/li\u003e\n  \u003cli\u003eAccept voice notes, product photos, or short video inquiries and respond in a consistent sales tone.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIntegrations\/Credentials:\u003c\/strong\u003e WhatsApp Business Cloud (trigger + sending\/access), \u003cstrong\u003eOpenAI\u003c\/strong\u003e (chat, embeddings, transcription, vision), \u003cstrong\u003eGoogle Gemini\u003c\/strong\u003e (video analysis).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n flow components (nodes):\u003c\/strong\u003e \u003cem\u003eset\u003c\/em\u003e, \u003cem\u003eswitch\u003c\/em\u003e, \u003cem\u003eWhatsApp\u003c\/em\u003e, \u003cem\u003esticky note\u003c\/em\u003e, \u003cem\u003eHTTP request\u003c\/em\u003e, \u003cem\u003emanual trigger\u003c\/em\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eKnowledge base setup:\u003c\/strong\u003e configure a \u003cstrong\u003epublic direct URL\u003c\/strong\u003e to your product brochure PDF in the knowledge base settings.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45758763565235,"sku":"N8N-17765","price":28.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/GdY6u9Bje0U6kQqJJs7LD_vmoIDHjY.png?v=1785835066","url":"https:\/\/buyflowscripts.com\/products\/n8n-whatsapp-ai-sales-agent-openai-gemini-rag","provider":"N8N Commerce","version":"1.0","type":"link"}