# Answer WhatsApp support chats with OpenRouter, Pinecone, Gemini and Gmail

> Quick overview This workflow triggers on incoming WhatsApp messages, uses an OpenRouter chat model with Pinecone retrieval (Gemini embeddings) to answer from your support knowledge base, and escalates unanswered or sensitive requests to a human via Gmail before replying back on WhatsApp. How it works 1. Triggers when a new WhatsApp message is received on your WhatsApp Business number. 2. Loads workflow settings (business name, models, support email, language, memory window) and extracts the customer message, phone number, and WhatsApp phone number ID. 3. Ignores events that don’t contain an incoming text message. 4. Uses an OpenRouter chat model with per-customer conversation memory and queries a Pinecone knowledge base (with Google Gemini embeddings) to generate an answer based only on retrieved content. 5. If the request can’t be answered from the knowledge base or needs human help (e.g., refund/complaint/cancellation or the customer asks for a person), emails the support team via Gm

- **Domain**: `n8n-workflow-18701.n8n.io`
- **Provider**: n8n.io (https://n8n.io)
- **Kind**: workflow
- **Live-responds (last probe)**: None
- **Signed card**: False
- **Streaming**: False
- **Quality score**: 40%

## URLs
- Agent card: https://n8n.io/workflows/18701
- Page (HTML): https://agenstry.com/agents/n8n-workflow-18701.n8n.io
- Documentation: https://n8n.io/workflows/18701
