Library / Customer Support & Helpdesk
Customer Support & Helpdesk
Answer WhatsApp support chats from Pinecone with Gemini and escalate via Gmail
An AI agent answers WhatsApp messages using only a Pinecone knowledge base, and emails the support team for complaints, refunds, cancellations or questions it cannot answer.
What it does
# Answer WhatsApp support chats from a Pinecone knowledge base with human escalation # 📥 Open full documentation on Notion ## How it works A customer messages your WhatsApp Business number. The AI Support Agent searches your Pinecone knowledge base (embeddings by Google Gemini) and answers only from that verified content, so it never invents a policy or a price. If it cannot find the answer, or the customer asks for a human, or the request is a complaint, refund or cancellation, the agent emails your support team and tells the customer that a person will follow up. The reply goes back over WhatsApp, and the conversation is remembered per phone number. Canvas map, left to right: 1. Receive the message & configure 2. AI support agent (RAG + escalation) 3. Reply on WhatsApp ## Setup 1. Select your WhatsApp credentials on WhatsApp Trigger and Send WhatsApp reply (same phone number). 2. Select your OpenRouter credential on OpenRouter Chat Model. 3. Create a Pinecone credential and an index, load your FAQ and policy documents into it, then select that index on Company knowledge base. 4. Select your Google Gemini credential on Gemini Embeddings. The embedding model must match the one used to load your documents, otherwise the search returns nothing. 5. Select your Gmail credential on Escalate to human support. 6. Open Configuration and set business_name, support_email, chat_model and reply_language. ## Requirements - A WhatsApp Business Cloud (Meta) account with a phone number. - An OpenRouter API key. - A Pinecone account with an index already populated with your support content. - A Google Gemini API key for the embeddings. - A Gmail account to receive the escalation emails. ## Customization - Every adjustable value lives in Configuration: models, reply language, support email, Top-K, memory window and the escalation notice sent to the customer. - Change chat_model to any OpenRouter model id to swap the brain without touching a node. - Tune how eagerly the bot escalates by editing the system message of AI Support Agent. - Raise knowledge_top_k if answers feel incomplete, lower it if the agent drifts off topic. The agent answers from your knowledge base only, but it is still an AI: review the escalation emails to see what it could not handle. --- Need help customizing? Contact me for consulting and support : Linkedin # MY NEW YOUTUBE CHANNEL 👉 Subscribe to my new
The steps
- WhatsApp Trigger
- Configuration
- Only incoming text messages
- AI Support Agent
- OpenRouter Chat Model
- Conversation Memory
- Company knowledge base
- Gemini Embeddings
- Escalate to human support
- Send WhatsApp reply
Similar automations
Chatbots & Messaging BotsAnswer customer chats and escalate complaints with Llama 3.2, Google Sheets, and Slack30 stepsRAG & Knowledge BasesLoad Google Drive Docs into Pinecone with Context-Aware Chunking13 stepsRAG & Knowledge BasesIndex Google Drive Documents in Pinecone with Contextual Chunking13 stepsRAG & Knowledge BasesRoute secure SaaS helpdesk chats with SoterAI, Groq, Pinecone and Cohere20 steps