Back to Knowledge Base
Workflow Automation 14 Min Read • Updated September 2026

Build a WhatsApp Order Bot for Your Shop With n8n and VPS

Step-by-step guide to building an automated WhatsApp order bot for retail and ecommerce using n8n, Razorpay payment links, and a self-hosted Linux VPS.

Production Architecture Guide

WHATSAPP ORDER BOT

Engineered for extreme performance, 99.95% uptime SLA, and sub-10ms Indian latency on SkyRainCloud KVM cloud nodes.

Small retail shops, restaurants, and D2C brands across India lose substantial sales when customers browse on WhatsApp but have to wait hours for a staff member to reply with product catalogs and bank details. Building an automated WhatsApp order bot transforms your business into a 24/7 automated sales counter. By connecting Meta’s WhatsApp Cloud API to a self-hosted n8n engine on a high-speed VPS, you can automatically present interactive product menus, calculate totals, generate instant Razorpay UPI payment links, and alert your warehouse staff the second payment clears. Here is the complete build blueprint.

The Architecture: Customer Chat to Automated Warehouse Dispatch

An automated conversational commerce pipeline operates across four coordinated stages: 1. Customer Trigger: The customer sends *"Menu"*, *"Order"*, or clicks a WhatsApp ad. 2. Interactive Selection: n8n sends an interactive List Message or Button Message displaying available categories (e.g., *"Coffee Beans"*, *"Merchandise"*, *"Gift Boxes"*). 3. Cart Assembly & Payment: The user selects items and quantities. n8n aggregates the line items, computes taxes and delivery fees, and calls the Razorpay API to generate a dynamic UPI payment link. 4. Order Confirmation: Once Razorpay triggers a payment.captured webhook back to n8n, the bot texts the customer an official invoice PDF and sends an instant dispatch alert to the store manager's phone.

Tools and Prerequisites Needed Before Starting

To build this production order system with zero recurring SaaS tool fees: - SkyRainCloud KVM VPS: A 2 vCPU / 4GB RAM Ubuntu server running self-hosted n8n in Docker. - Meta WhatsApp Cloud API Account: A registered business phone number and permanent access token. - Razorpay or Cashfree Payment Gateway: Active API Key and Key Secret with UPI payment link generation enabled. - Google Sheets or PostgreSQL Database: To store product inventory, prices, customer phone numbers, and order histories.

Building the Workflow Inside n8n (Visual Step-by-Step)

Inside your self-hosted n8n dashboard (https://n8n.yourcompany.in), create a workflow featuring these primary nodes: 1. Webhook Node (WhatsApp Inbound): Receives the incoming message payload from Meta. 2. Switch Node (Intent Parsing): Checks whether the message text equals "ORDER" or matches an interactive button ID. 3. Google Sheets / Postgres Node (Fetch Stock): Queries your product catalog table for current pricing and inventory levels. 4. WhatsApp Node (Send Interactive List): Sends a structured WhatsApp List message allowing the user to select products with single taps. 5. Function Node (Calculate Totals): Computes subtotal, GST (CGST/SGST), and packaging charges based on customer selection.

Generating Instant Razorpay UPI Payment Links & Webhook Handling

Frictionless payment collection is the secret to high conversion rates: - HTTP Request Node (Razorpay API): - Endpoint: POST https://api.razorpay.com/v1/payment_links - Headers: Authorization: Basic Base64(KEY_ID:KEY_SECRET) - Body: ``json { "amount": 75000, "currency": "INR", "accept_partial": false, "description": "Payment for Order #1042", "customer": { "contact": "+919876543210" }, "notify": { "sms": false, "email": false } } ` - n8n receives the short_url (e.g., https://rzp.io/i/abc123xyz`) and messages it to the customer via WhatsApp: *"Your order total is ₹750. Click here to pay via UPI (GPay/PhonePe/Paytm): https://rzp.io/i/abc123xyz"*.

Going Live Checklist: Error Handling, Inventory Deduction & Staff Alerts

Before launching the order bot to your customer base, verify these critical safeguards: 1. Inventory Concurrency Locks: Ensure stock is deducted immediately upon order placement or released after 15 minutes if the payment link expires. 2. Staff Telegram / WhatsApp Group Notification: Configure n8n to send a notification to a private internal staff group the moment payment is verified: *"🔔 New Order #1042 received! 2x Dark Roast Coffee. Customer: Rahul (+919876543210). Pack for courier dispatch."* 3. Daily Database Backup: Automate a midnight SQL dump of your orders table on the VPS.

Production Deployment & Data Pipeline Flow

[Customer: "Order Coffee"] ──▶ [Meta WhatsApp API] ──▶ [SkyRainCloud n8n VPS] │ ┌──────────────────────────────────────────────────┴──────────────────────────────────────────────────┐ ▼ ▼ [Interactive Menu Sent] [Razorpay Link Generated] (Customer Selects 2x Packets) (₹750 UPI Payment Link) │ │ └──────────────────────────────────────────────────┬──────────────────────────────────────────────────┘ ▼ [Razorpay Webhook: Captured] │ ┌──────────────────────────────┴──────────────────────────────┐ ▼ ▼ [WhatsApp PDF Receipt to Customer] [Instant Telegram Alert to Warehouse]
Recommended for n8n Bots

KVM Cloud VPS 4GB Plan

Specs: 2 vCPU • 4 GB RAM • 50 GB PCIe Gen4 NVMe • Dedicated Indian Static IPv4 • 1 Gbps Port • 2+ Tbps Anti-DDoS.

Starting at ₹449 / month • Optimized for Docker, n8n & PostgreSQL

Deploy Order Bot VPS →

Frequently Asked Questions

Does a customer have to download an extra app to order from our bot?

No! The entire ordering and checkout experience happens natively inside standard WhatsApp on Android, iOS, or WhatsApp Web.

Can the bot handle UPI payments through GPay, PhonePe, and Paytm?

Yes. Razorpay and Cashfree payment links support all standard Indian UPI apps, debit/credit cards, and net banking with instant automated reconciliation.

How many orders can this self-hosted setup process per minute?

On a 2 vCPU / 4GB RAM VPS, n8n backed by PostgreSQL can process 30 to 60 concurrent order requests per second with negligible response latency.

What are the recurring costs of running this order bot?

Your only recurring cost is the SkyRainCloud VPS (from ₹449/mo) and baseline Meta WhatsApp conversation fees (~₹0.11 to ₹0.15 per utility conversation). You pay zero platform commissions or monthly SaaS builder fees.

Deploy This on SkyRainCloud in Minutes

Spin up high-performance AMD EPYC & AMD EPYC KVM Cloud VPS in Mumbai or Noida. Sub-10ms Indian latency, 1 Gbps unmetered bandwidth, and instant automated provisioning.

Deploy Your Server Now →
2026 Cloud Architecture

Enterprise Developer Infrastructure: Key Differentiators

When deploying modern web runtimes (Node.js, Next.js SSR, Python FastAPI, n8n automations, or Docker container clusters), traditional oversold shared hosting or high-latency overseas cloud providers introduce severe CPU steal time, IOPS bottlenecks, and unpredictable monthly bill shocks. SkyRainCloud delivers true kernel-level KVM virtualization backed by AMD EPYCâ„¢ 7C13 and AMD EPYC 7C13 compute nodes in Tier-3 Mumbai & Noida datacenters.

Sub-10ms

Domestic Peering

Direct NIXI & DE-CIX Mumbai interconnects provide sub-10ms response times across Jio, Airtel, and Vi broadband backbones.

7,000 MB/s

PCIe Gen4 NVMe

Enterprise Gen4 NVMe arrays deliver up to 850,000 IOPS, accelerating npm builds, Docker pulls, and database writes.

2+ Tbps

Inline DDoS Shield

Continuous L3/L4/L7 automated packet scrubbing filters volumetric floods without dropping legitimate API requests.

Feature-by-Feature Comparison: SkyRainCloud vs Traditional Providers

Feature SkyRainCloud Developer VPS Legacy Indian & Hyperscaler Hosts
Compute Silicon AMD EPYCâ„¢ 7C13 / AMD EPYC 7C13 (3.70 GHz) Older Xeon E5-2680 v4 / Shared vCPU Slices
Virtualization Type 100% Dedicated KVM (Zero Overselling) OpenVZ / Oversold Containers with CPU Steal
Storage Speed Pure Enterprise Gen4 NVMe (7,000 MB/s) Standard SATA SSD (500 MB/s) or Spun Disks
Bandwidth & Ports 1 Gbps Dedicated Unmetered Port 100 Mbps Shared or Expensive Per-GB Egress
Billing & Currencies ₹649/mo Flat (Instant UPI, Zero Forex) USD Billed with 3.5% Forex Markups + 18% Tax

Ready to Deploy High-Performance Indian Cloud VPS?

Instant automated activation in under 60 seconds with instant UPI / Net Banking.

❓ Knowledge & Help Center • 2026 Enterprise Guide

Frequently Asked Questions

Everything you need to know about SkyRainCloud hosting solutions, high-frequency AMD & Intel architectures, datacenter peering, SLA uptime, and seamless deployment.

The optimal hosting option depends directly on your workload requirements, traffic architecture, and compute bottlenecks:

  • Cloud VPS Hosting (AMD EPYC & Intel Xeon Platinum): The premier choice for production web applications, SaaS platforms, microservices, Docker/Kubernetes clusters, and multi-tenant databases starting from ₹649/mo with unmetered 1 Gbps port connectivity.
  • AMD EPYC Enterprise Servers: High-performance multi-threaded compute boosting up to 3.70 GHz—ideal for high-tickrate Minecraft networks, low-latency game hosting, and enterprise cloud microservices.
  • Windows Dedicated RDP Hosting: Tailored specifically for remote graphical environments, automated browser farms, MetaTrader 4/5 algorithmic execution, and enterprise accounting software (Tally ERP).
  • Bare Metal Dedicated Servers: 100% unshared physical Dual Intel Platinum 8168 or AMD EPYC 7C13 hardware with up to 128 physical threads and dedicated iLO/IPMI remote management for hypervisor virtualization.

SkyRainCloud provides transparent, fixed billing with zero hidden renewal markups, zero egress transfer penalty fees, and complete support for Indian UPI & Net Banking:

  • Minecraft & Game Servers: From ₹99/month on extreme single-core performance hardware with DDR5 ECC memory.
  • KVM Cloud VPS (Intel Platinum & AMD EPYC): Starting from ₹649/month with dedicated enterprise PCIe Gen4 NVMe arrays and full root access.
  • Windows RDP Servers: Starting from ₹649/month with licensed Windows Server 2022/2019 pre-activated.
  • Bare Metal Dedicated Servers: Starting from ₹15,999/month featuring 48 Cores / 96 Threads, 128GB ECC RAM, 1TB NVMe, and unshared 1Gbps uplink.

You can deploy in high-speed, enterprise-certified Tier-3 datacenters engineered for minimum packet round-trips:

  • Mumbai, India (Sub-5ms Ping): Direct peering with DE-CIX India, Extreme IX, NIXI Mumbai, and national fiber backbones (Jio, Airtel, Tata Communications) for sub-5ms response across Western & Southern India.
  • Noida / Delhi NCR, India (Sub-5ms Ping): Redundant high-capacity routing across Northern India, UP, Haryana, Punjab, and Rajasthan, tailored for enterprise compliance and low latency.
  • Singapore (APAC Gateway): Strategic Southeast Asian hub providing low latency connectivity across East Asia, Australia, and international gaming corridors.

To ensure guaranteed compute allocations, eliminate resource abuse, and prevent noisy-neighbor degradation on our enterprise hardware, we do not operate unverified free trials. Instead, we offer:

  • An accessible entry barrier starting from just ₹99/mo for game nodes and ₹649/mo for production VPS.
  • A transparent 24-hour money-back satisfaction guarantee for qualified first-time deployments.
  • Free real-time latency verification on our public Looking Glass & Ping Tester before purchasing.

Every SkyRainCloud hosting subscription is backed by an industry-standard 99.95% Network & Power SLA contractually supported by service outage credits:

  • Facilities feature N+1 generator redundancy, dual autonomous A+B UPS power paths, and dual-loop precision cooling.
  • Multi-homed BGP network routing with automatic carrier failover ensures seamless uptime even during upstream transit maintenance.
  • Track independent 24/7 status, incident logs, and latency telemetry on uptime.skyraincloud.in.

Yes. Enterprise-tier 2+ Tbps multi-layered DDoS mitigation is included completely free with every service tier without traffic throttling:

  • Instant real-time mitigation against Layer 3/4 volumetric floods (UDP floods, SYN floods, DNS amplification, ICMP attacks).
  • Advanced stateful Layer 7 inspection filters malicious HTTP requests, botnets, and game query protocol exploits without disconnecting legitimate users.
  • Zero latency overhead: clean traffic flows unimpeded with sub-1ms scrub time directly at our edge routing nodes.

Yes. Every service tier includes an intuitive, full-featured management panel optimized for complete administrative autonomy:

  • Game Servers: Custom Pterodactyl Panel featuring interactive web console, one-click mod/plugin installers, SFTP file access, automated snapshots, and player managers.
  • Cloud VPS & VDS: High-performance VirtFusion Cloud Panel with instant OS reinstalls (Ubuntu, Debian, AlmaLinux, Windows), HTML5 noVNC console, rDNS management, ISO mounts, and resource telemetry.
  • Dedicated Bare Metal: Out-of-band iLO / IPMI KVM hardware access with virtual media redirection for custom hypervisor or operating system installation.

Deploying a server on SkyRainCloud takes under 60 seconds from selection to live uptime:

  1. Select your plan (Cloud VPS, AMD EPYC Minecraft Gaming, Windows RDP, or Enterprise Dedicated).
  2. Choose your datacenter zone (Mumbai, Noida, or Singapore) and configure your memory and operating system.
  3. Complete checkout using instant Indian UPI, Net Banking, Credit/Debit Cards, or PayPal.
  4. Your server provisions automatically in real-time, delivering root credentials to your registered email and Client Portal.