Skip to content
WhitecrestLet’s talk

Support & knowledge

WhatsApp Support RAG Agent.

A WhatsApp support agent that answers only from an indexed knowledge base. Anything it cannot verify or that is sensitive is escalated to a human by email.

WhatsApp Support RAG Agent workflow

01 / The challenge

Support bots that guess erode customer trust.

Many AI support bots ignore what happens when the model does not know the answer. A bot that improvises beyond its knowledge base does more harm than no bot. On WhatsApp, a wrong answer about a refund or cancellation quickly becomes a support ticket.

02 / The approach

Grounded answers with a clear path to a human.

Incoming WhatsApp text messages go to an OpenRouter agent that retrieves from a Pinecone knowledge base with Gemini embeddings and per-customer memory. Answerable questions get a WhatsApp reply; others trigger a Gmail escalation and a holding message.

  • Retrieval-grounded answers: replies come only from content retrieved from the Pinecone index.
  • Per-customer memory: a windowed memory keyed to each phone number keeps multi-turn threads coherent.
  • Escalation rules: refunds, cancellations and requests for a person go to the support team by Gmail.
  • Input filtering: delivery receipts, reactions and other non-text events are dropped before the agent runs.

Stack

  • n8n
  • WhatsApp Business API
  • Pinecone
  • OpenRouter
  • Gemini Embeddings
  • Gmail
  • RAG

More automations

Support & knowledge

Your next project

Something in mind?
Let’s find your starting point.

Discuss your project