← All writing

I Replaced a Human Sales Team with a WhatsApp Bot. Here's What Actually Happened.

I run AI University (aiuniversity.pk) — an online platform teaching AI to Pakistani audiences in Urdu. We sell a 5-book AI ebook bundle for Rs 350-500. Not a high-ticket product, but one that sells consistently through Meta click-to-WhatsApp ads.

For months, the sales process was manual. A customer clicks an ad, lands in WhatsApp, and a human closer handles the conversation — answers questions, sends payment details, confirms the payment, and delivers the PDF. My closer earned 25% commission. The baseline was about 7 sales per day on Rs 1,000/day ad spend.

Then I built a fully automated 24/7 WhatsApp sales funnel. No human in the loop.

This is the honest story — what worked, what broke, and what I'd do differently.

The stack

This isn't a no-code Zapier workflow. It's a real system:

  • WhatsApp Business API (official Meta API, not the grey-market alternatives)
  • Node.js backend handling webhook events and conversation logic
  • n8n for workflow orchestration and connecting services
  • Payment webhooks from local Pakistani payment providers (JazzCash, EasyPaisa, bank transfers)
  • Vision-based payment verification — when payment webhooks fail (which happens ~15% of the time), the system can verify payment screenshots using AI
  • Automatic PDF delivery — once payment is confirmed, books are delivered instantly via WhatsApp
  • Google Sheets as the lightweight CRM (for this price point, a full CRM is overkill)

Total development time: about 3 weeks of evenings and weekends, building it while running the manual process in parallel.

What went right

24/7 availability. The bot responds at 2 AM on a Friday. My human closer didn't. Pakistan has a massive late-night mobile browsing culture — people are scrolling Facebook at midnight. The bot captures sales that used to vanish.

Consistency. The bot sends the same pitch, in the same tone, every time. No bad days, no slow responses, no forgetting to follow up.

Speed. From first message to payment link: under 30 seconds. A human took 5-15 minutes. In low-ticket sales, speed is everything. The customer's attention span is measured in seconds, not minutes.

Data. Every conversation is logged. I know exactly where people drop off, what questions they ask, which ad creative produces which type of buyer. With the human closer, I had gut feelings. Now I have numbers.

What broke

Pakistani payment infrastructure is unreliable. This was the biggest problem. JazzCash and EasyPaisa webhooks fail silently about 15% of the time. The payment goes through on the customer's end, but my system doesn't get notified. The customer sends a payment screenshot, and the bot needs to verify it.

My solution: I built a vision-based verification system. The customer sends a screenshot, the AI reads the transaction details, cross-references the amount and reference number, and confirms the payment. It works about 90% of the time. The other 10% goes to a human review queue.

This one feature — handling payment verification in a country where payment webhooks are unreliable — took more engineering effort than the entire conversation flow.

Customers don't read. The bot sends clear instructions: "Send Rs 500 to this account number, then send your payment screenshot here." What customers actually do: send a screenshot of their account balance. Ask if the bot is real. Send voice notes. Message "hello" seventeen times. Ask questions in a mix of three languages.

Every one of these behaviors required its own handling logic. The "simple" bot is actually a complex state machine with dozens of edge cases.

The "I want to talk to a human" problem. Some customers don't trust bots. They want to know there's a real person. I added a fallback: if someone explicitly asks for a human (or the bot can't handle their query after 2 attempts), it escalates to my assistant on WhatsApp with full conversation context. This is a safety valve, not a failure — it catches maybe 8% of conversations.

The real numbers

I'm going to be honest about what this looks like financially, because most "I automated X" posts on LinkedIn only share the good numbers.

Before automation:

  • ~7 sales/day
  • Rs 1,000/day ad spend
  • 25% commission to closer
  • Net: roughly Rs 1,600-2,100/day after commission and ad spend

After automation:

  • The sales rate is comparable, but available 24/7
  • No commission cost
  • Small hosting/API costs (Rs 2,000-3,000/month total for API, VPS, n8n)
  • The real gain is time — I'm not managing a sales person, not handling their off days, not dealing with quality inconsistency

The unit economics of selling Rs 350-500 ebooks in Pakistan with Rs 1,000/day ad spend are tight. This isn't a "I 10x'd my revenue" story. It's a "I built a system that runs without me" story.

What I'd do differently

Start with the unhappy paths. I spent the first week building the perfect happy-path flow. I should have spent it cataloging every way a customer can deviate from the expected behavior, because that's where 70% of the engineering work ended up.

Build payment verification from day one. I initially assumed payment webhooks would be reliable. In Pakistan, they're not. If you're building any automated sales system in a developing market, plan for payment verification as a core feature, not an afterthought.

Set expectations about the bot. My early version tried to pretend it was human. That backfired — customers felt deceived. Now the bot introduces itself clearly: "This is AI University's automated assistant. I can help you learn about our AI ebooks and process your order. You can ask for a human at any time." Transparency increased trust and reduced complaints.

The broader lesson

The automation is not about replacing humans with AI. It's about understanding which parts of a process are mechanical (send the same message, verify a payment, deliver a file) and which require judgment (handle an unusual complaint, decide on a custom discount, manage a refund dispute).

The mechanical parts: automate ruthlessly.
The judgment parts: keep humans in the loop.

The mistake most businesses make is trying to automate the judgment parts first — building an "AI customer service agent" that handles complaints. Start with the boring, repetitive, high-volume mechanical work. That's where the real ROI is.