n8n for E-Commerce: Automate Orders, Inventory, and Customer Messages

S

SNBD Host Team

July 13, 2026

Running an e-commerce business in Bangladesh in 2026 means managing orders from your website, Facebook, Instagram, and maybe Chaldal or Shajgoj all at once — while manually tracking stock in spreadsheets, responding to WhatsApp inquiries, and reconciling bKash payments. It's genuinely exhausting.

n8n is the automation layer that ties all of this together. This guide shows you specific workflows you can build for a Bangladesh e-commerce operation, whether you're running WooCommerce, Shopify, or a custom platform.

The Four Core Automation Areas

For a typical Bangladesh online shop, automation pays off most in these areas:

  1. Order processing and confirmation
  2. Inventory monitoring and restock alerts
  3. Customer communication (WhatsApp, SMS, email)
  4. Payment reconciliation (bKash, Nagad, COD tracking)

We'll build a workflow for each.

Workflow 1: Instant Order Confirmation + Fulfillment Trigger

When a new order arrives in WooCommerce, the default behavior is a standard email confirmation. That's not enough for Bangladesh customers who expect a WhatsApp message within minutes.

Trigger: WooCommerce Trigger node → "Order Created" event

Workflow steps:

  1. Extract order details: customer name, phone, items, total BDT, payment method
  2. IF payment method is "bKash" → branch to payment verification flow
  3. IF payment method is "COD" → proceed directly
  4. Send WhatsApp message to customer phone with order summary
  5. Add row to Google Sheet (order tracking)
  6. Post to your team's Telegram group: "New order: #12345 - ৳3,500 - Mirpur, Dhaka"
  7. If order includes items from supplier X → send supplier email with quantity needed

This workflow replaces about 15 minutes of manual work per order. For a shop processing 30 orders per day, that's 7.5 hours saved — every single day.

Workflow 2: Inventory Monitoring and Restock Alerts

Running out of stock silently is one of the biggest revenue killers for online shops. This workflow monitors your WooCommerce inventory and alerts you before it becomes a problem.

Trigger: Schedule node → runs every day at 8 AM

Workflow steps:

  1. HTTP Request node → call WooCommerce REST API: GET /wp-json/wc/v3/products?stock_status=instock&per_page=100
  2. Loop over all products
  3. IF stock_quantity is less than your reorder threshold → add to "low stock" list
  4. After loop: IF low stock list is not empty → send Telegram/WhatsApp message listing all low-stock items with current quantities

You can make this smarter by pulling sales velocity from your order history and calculating days-of-stock-remaining rather than using a fixed threshold. n8n's Code node lets you write simple JavaScript to do this calculation inline.

Automatic Supplier Email

Extend this workflow to automatically draft a restock email. After collecting low-stock items, use an LLM node (see our AI agent guide) to draft a purchase order email, then send it via Gmail. You review and send with one click — or automate it fully if you trust the process.

Workflow 3: Customer Message Handling

Bangladesh customers ask the same questions repeatedly: "where's my order?", "can I return this?", "do you accept bKash?". Instead of having someone answer these manually, build a workflow that handles them automatically.

For WhatsApp: Set up a webhook (as described in our WhatsApp bot guide) that routes messages based on keywords:

  • "order" or "অর্ডার" → query order API by phone number → reply with latest order status
  • "return" or "ফেরত" → send returns policy message + create support ticket
  • "payment" or "bKash" → send payment instructions
  • "price" → send product catalog link

For Facebook Messenger: n8n has a Facebook Messenger trigger node. The logic is identical — different trigger, same response branches.

Order Status Lookup

This is the most valuable piece. Connect n8n to your order database (via HTTP Request to your API, or directly via the MySQL/PostgreSQL nodes if you have database access). When a customer messages "order status", the workflow:

  1. Extracts the customer's phone number from the incoming message metadata
  2. Queries your database for orders associated with that phone number
  3. Returns the most recent order's status, items, and expected delivery date

A customer who gets an instant, accurate order status update via WhatsApp is far less likely to request a refund or file a chargeback.

Workflow 4: bKash Payment Reconciliation

If you accept bKash manual payments (not the merchant API), reconciliation is usually done by someone checking screenshots or transaction SMS messages against your order list. n8n can partially automate this.

Simple approach: Create a form (using n8n's Form trigger or a Google Form) where customers submit their bKash transaction ID after payment. n8n captures this, adds it to a reconciliation spreadsheet, and sends a "payment received — pending verification" WhatsApp reply.

Advanced approach: If you have the bKash Merchant API (requires business registration with bKash), n8n can poll the API for new transactions, match them to pending orders by amount and timestamp, and automatically mark orders as paid.

Even the simple approach saves significant time. A team member can verify 50 transactions in a spreadsheet far faster than hunting through chat logs and screenshots.

Connecting All Four Workflows

The real power comes when these workflows talk to each other. Example: when a payment is verified in Workflow 4, it triggers Workflow 1 to send the order confirmation and starts the fulfillment process. n8n workflows can trigger each other using the "Execute Workflow" node.

This creates an end-to-end system: order arrives → payment verified → confirmation sent → inventory updated → supplier notified → customer gets delivery update. All without human intervention for the routine cases.

What This Setup Costs

Here's a realistic cost breakdown for a Bangladesh e-commerce operation running these automations:

  • n8n hosting: ৳499–৳999/month on SNBD HOST
  • WhatsApp Business API: Free for first 1,000 conversations/month, then per-conversation fees
  • OpenAI API (if using AI features): ৳300–৳800/month for typical volumes
  • Total: ৳800–৳1,800/month

Compare that to the cost of a single employee handling order confirmations and customer messages manually — typically ৳12,000–৳20,000/month. The automation pays for itself within the first week.

Getting Started

If you're new to n8n, start with Workflow 1 — the order confirmation automation. It's the highest-impact change and the simplest to implement. Once that's running, add inventory monitoring, then customer messaging.

Get your n8n instance running at SNBD HOST starting from ৳499/month. Our setup team can help you configure the initial WooCommerce connection so you don't start from scratch.

n8ne-commerceautomationwoocommercebangladeshinventory
S

Written by

SNBD Host Team

The SNBD Host team shares hosting guides, automation tips, and business growth strategies for Bangladeshi entrepreneurs.

Share Article