Our productLive

PromptCV AI Sales Assistant

A Bangla RAG assistant that answers and converts Messenger leads

A retrieval-augmented assistant that answers PromptCV.app's Messenger inbox in Bangla, checks every reply before it's sent, spots buying intent and tracks ad leads to orders.

Type
Our product
Status
Live
Timeline
Live since July 2026
Platforms
Facebook Messenger

Illustration. Product screens are not public yet.

Overview

The PromptCV AI Sales Assistant answers questions in PromptCV.app's Facebook Messenger inbox, in Bangla, about features, pricing and how to order, including leads that arrive from Click-to-Messenger ads. We designed, built and operate it, and it has answered the inbox since July 2026.

What we did

  • Conversation design
  • AI engineering
  • Backend engineering
  • Marketing automation
  • DevOps

The challenge

Ad campaigns for PromptCV.app send people straight into Messenger, where they ask about features, prices and payment, often in several short messages at once. Slow or inaccurate answers waste the money spent bringing them there.

A generic chatbot was not an option. The assistant had to answer only from what is true about the product, never repeat a marketing claim the business can't back up, recognize when someone is ready to buy, follow up without being pushy, and keep AI costs bounded on a busy day.

What we built

We built a retrieval-augmented assistant. Gemini writes each reply grounded in PromptCV's own knowledge base, retrieved with MongoDB Atlas hybrid search that combines vector similarity with text matching, so exact terms such as plan names and prices are found reliably.

The assistant waits about five seconds to collect a burst of short messages, then answers them as one, with the conversation history in context. Every reply is checked against PromptCV's marketing-claims policy before it's sent and repaired once if it fails. Buying-signal detection, follow-ups that respect quiet hours, canned answers for common questions and ad referral tracking through to orders complete the sales loop.

Cost is managed as carefully as quality. Per-user and global limits cap AI spend, and turning off the model's thinking tokens cut measured cost by about 35%. We also tested a provider about 21 times cheaper; it sold worse, so we rolled back to Gemini.

Design decisions

Conversation design came first: short, specific answers in natural Bangla, one question at a time, and a clear path to ordering. Follow-ups are timed around quiet hours so they help rather than intrude.

The team stays in control. A password-protected dashboard can pause and resume the assistant and shows token usage, and Telegram alerts flag anything that needs a person.

Architecture

A Node.js service on the Messenger Platform, with retrieval, memory and scheduling on MongoDB Atlas, deployed in Docker behind Caddy on AWS EC2 and shipped automatically with GitHub Actions.

  • Messenger ingest

    Webhook handling with a short wait that batches bursts of messages into one conversation turn.

  • Hybrid retrieval

    Atlas Vector Search combined with text search over the product knowledge base.

  • Reply generation and guardrails

    Gemini replies grounded in retrieved facts, checked against the claims policy and repaired before delivery.

  • Signals and follow-ups

    Buying-signal detection, canned answers and scheduled follow-ups that respect quiet hours.

  • Control and attribution

    Spend limits, an admin dashboard with pause and resume, Telegram alerts and ad referrals tracked to orders.

Technologies

  • Node.js
  • Gemini API
  • MongoDB Atlas
  • Atlas Vector Search
  • Messenger Platform
  • Docker
  • Caddy
  • AWS EC2
  • GitHub Actions
  • Telegram Bot API

How it was delivered

Phased so that each stage reduced risk and produced something usable.

  1. 01

    Knowledge and retrieval

    A structured product knowledge base and hybrid retrieval tuned for Bangla questions about features and pricing.

  2. 02

    Conversation engine

    Message batching, conversation memory and the pre-send claims check with automatic repair.

  3. 03

    Sales features

    Buying signals, follow-ups with quiet hours, canned answers and ad attribution through to orders.

  4. 04

    Operations

    Spend limits, the admin dashboard, Telegram alerts and automatic deployment to AWS EC2.

Results so far

  • Answering PromptCV.app's Messenger inbox in Bangla since July 2026
  • Every reply checked against the marketing-claims policy before sending
  • Ad-driven conversations traceable through to orders
  • Model cost cut by about 35% by turning off thinking tokens
  • A 21× cheaper model tested and rejected because it sold worse
  • Scheduled posts and comment replies built, awaiting Meta Business Verification

Related reading

Have a project like this?Let's talk about how we'd approach it.

Tell us what you want to build and where you are today. We'll reply with questions, next steps and an honest view of how we can help.