The challenge
Support teams answered the same questions repeatedly, and the answers lived in documents that weren't easy to search quickly.
What we built
We built an AI support agent on WhatsApp using n8n, Supabase, PostgreSQL and ChatGPT. It pulls content from documents in Google Drive (PDFs, CSVs and more) into a dynamic knowledge base and answers users in real time. It also learns from previous conversations.
How we built it
- 1
Meeting customers where they are
WhatsApp was already the channel customers preferred, so the agent was built directly on the WhatsApp API instead of asking people to use a new chat widget.
- 2
A knowledge base that stays current
n8n syncs documents from Google Drive, including PDFs and CSVs, into a Supabase and PostgreSQL knowledge base. When the team updates a document in Drive, the agent's answers update with it.
- 3
Learning from conversations
Previous conversations are stored and used as context, so the agent can follow up on earlier questions and the team can review what customers are asking most.
The outcome
Customers get accurate answers on WhatsApp in real time, and support staff are freed from answering the same questions repeatedly.
The same setup now also serves employee self-service and internal FAQs.

