
Turn your WhatsApp number into a 24/7 order-taker: menu, automatic totals, delivery details, bank-transfer payment and instant order alerts. Runs on Cloudflare's free plan.
Tired of answering "how much?" and "what's your account number?" all day? This ready-to-deploy template turns the official WhatsApp Cloud API into an automatic order assistant for your business.
Customers say "hi", get your menu, reply with something like "1 x 2", and the bot works out the total, collects their name, phone and delivery address, sends your bank details and asks for a transfer receipt. When an order or receipt comes in, you get a WhatsApp alert with the customer, order and address, so all you do is confirm payment and deliver.
It runs on Cloudflare Workers with a D1 database, so there's no server to rent, and small volumes fit inside Cloudflare's free tier. Your menu, prices, business name and bank details live in one simple config file. A step-by-step beginner guide walks you through Meta setup, your permanent token, deployment and testing.
WHAT'S INCLUDED:
• Complete Cloudflare Workers source code (JavaScript)
• Menu + "item x qty" order flow with automatic naira totals
• Customer details capture, bank-transfer instructions, receipt (image/PDF) handling
• Owner WhatsApp alerts for new orders and receipts (with optional approved-template support)
• Duplicate-reply protection (Meta webhook retries handled), optional webhook signature check
• D1 database schema storing sessions and orders
• Offline test script and dry-run mode
• SETUP.md beginner guide (Meta app, WhatsApp number, permanent token, Cloudflare, deploy, webhook, testing, customising)
• Single-business licence
WHO IT'S FOR: Nigerian small businesses selling on WhatsApp (food, skincare, fashion, provisions, perfumes), and freelancers/developers who set up WhatsApp ordering for clients.
REQUIREMENTS:
• A computer with Node.js 18+
• Facebook/Meta developer account and Meta Business portfolio
• A phone number not already active on the WhatsApp app
• Free Cloudflare account
• Comfortable pasting commands into a terminal (no coding needed for menu changes)
• Note: Meta may charge for some WhatsApp conversations; see Meta's pricing page.