Back to All

June 2022

WhatsApp AI Knowledge Base Agent with MongoDB Vector Search

N8N

Project's Category

Intro

This one listens for WhatsApp messages, whether text, voice, image or document, and answers using GPT4o mini backed by a MongoDB knowledge base built from the team's own Google Docs.

Problems

Customers were sending questions in every format WhatsApp allows, text, voice notes, screenshots, PDFs, and the team's product documentation only lived in Google Docs nobody outside the company could search. Every question meant someone translating between the two.

Solutions

We built an n8n workflow that routes each incoming WhatsApp message by type, downloading and converting voice notes, images and documents before anything else happens. The extracted text gets embedded and matched against a MongoDB vector store holding the team's product documentation, and GPT4o mini answers using whatever it finds plus the conversation's memory. A separate manual workflow reimports and reindexes the Google Docs into MongoDB whenever the documentation changes.

Final Thoughts

Keeping indexing as its own manual workflow instead of running it on every message means updating the knowledge base costs nothing extra per conversation. Someone just reruns the import whenever the docs actually change.

Back to All

June 2022

WhatsApp AI Knowledge Base Agent with MongoDB Vector Search

N8N

Project's Category

Intro

This one listens for WhatsApp messages, whether text, voice, image or document, and answers using GPT4o mini backed by a MongoDB knowledge base built from the team's own Google Docs.

Problems

Customers were sending questions in every format WhatsApp allows, text, voice notes, screenshots, PDFs, and the team's product documentation only lived in Google Docs nobody outside the company could search. Every question meant someone translating between the two.

Solutions

We built an n8n workflow that routes each incoming WhatsApp message by type, downloading and converting voice notes, images and documents before anything else happens. The extracted text gets embedded and matched against a MongoDB vector store holding the team's product documentation, and GPT4o mini answers using whatever it finds plus the conversation's memory. A separate manual workflow reimports and reindexes the Google Docs into MongoDB whenever the documentation changes.

Final Thoughts

Keeping indexing as its own manual workflow instead of running it on every message means updating the knowledge base costs nothing extra per conversation. Someone just reruns the import whenever the docs actually change.

00

Our Latest Work

See All Projects

To embed a website or widget, add it to the properties panel.

Building the automation systems that handles business processes.

Clear Communication

Reliable

Professional

Reliable Quality

00

Our Latest Work

See All Projects

To embed a website or widget, add it to the properties panel.

Building the automation systems that handles business processes.

Clear Communication

Reliable

Professional

Reliable Quality

NoQodePro

Partnering with NoQodePro was a game-changer.

With NoQodePro, your company gets more than just a website. We design experiences that resonate with your customers and drive meaningful engagement.

NoQodePro

Partnering with NoQodePro was a game-changer.

With NoQodePro, your company gets more than just a website. We design experiences that resonate with your customers and drive meaningful engagement.

NoQodePro

Partnering with NoQodePro was a game-changer.

With NoQodePro, your company gets more than just a website. We design experiences that resonate with your customers and drive meaningful engagement.

Create a free website with Framer, the website builder loved by startups, designers and agencies.