n8n for E-Commerce: Order, Inventory & Fulfillment Workflows

Affiliate/Ads disclaimer: Some links on this blog are affiliate/ads links to support this project going on, meaning I may earn a commission at no extra cost to you.


Published: April 18, 2026
Updated: May 7, 2026
n8n for E-Commerce: Order, Inventory & Fulfillment Workflows
⚡ n8n Workflow Automation T3 · E‑Commerce
n8n for E‑Commerce: Order, Inventory & Fulfillment Workflows

n8n connects Shopify, WooCommerce, shipping carriers, and communication tools to automate every stage of an order’s lifecycle. When a customer places an order, n8n triggers inventory adjustments, generates shipping labels, sends confirmation emails, and posts a Slack notification—all within seconds. This guide covers end‑to‑end workflow patterns for lean e‑commerce operations. [1]

How do you automatically process new orders from Shopify with n8n?

Use the Shopify Trigger node set to “New Order” to listen for all incoming purchases. Each order’s JSON payload includes line items, customer details, and payment status. A Set node extracts the required fields, and subsequent nodes can update an external database or trigger fulfillment actions based on the payment status. [1]

For high‑volume stores, add an IF node to separate paid orders from pending ones, routing paid orders to the fulfillment pipeline and pending ones to a retry or notification loop. See n8n IF & Switch branching for conditional routing patterns.

How do you sync inventory between WooCommerce and an external warehouse?

Set up a WooCommerce node that fetches all products with their stock quantities. A Set node maps the WooCommerce fields to the warehouse API’s expected format, and an HTTP Request node pushes the updated stock levels. Repeat on a schedule to keep inventory accurate across both systems. [2]

For near‑real‑time sync, use a Webhook trigger from WooCommerce’s “Stock Updated” event and immediately propagate the change. This pattern avoids overselling and is further explained in the ETL pipelines guide.

How do you generate a shipping label and notify the warehouse?

After the order is paid, connect a ShipStation or Shippo node to create a shipping label. Pass the order’s shipping address and package weight from the Shopify node via a Set node. Once the label is generated, a Slack node notifies the warehouse channel with the tracking number and order ID. [3]

For custom carriers, use the HTTP Request node to call their API and attach the returned PDF label to an email. Handle API failures by wrapping the label creation in an error workflow with retry logic.

How do you send branded order confirmation and shipping emails?

After the order is created, use a Gmail or SMTP node to send the customer a confirmation email. A Set node builds the email body with the customer’s name, order number, line items, and a branded HTML template. Once the shipping label is generated, trigger a second email that includes the tracking link. [4]

Use the “Send HTML” option in the email node and inject dynamic data via expressions. For large newsletters or transactional campaigns, pair this with the marketing automation guide.

How do you notify the support team on Slack for high‑value orders?

After the order is processed, an IF node checks if the total exceeds a threshold (e.g., $200). If true, a Slack node posts a rich message to a #vip-orders channel containing the order ID, customer name, and a direct link to the admin panel. This triggers a personalised service follow‑up. [5]

Customise the Slack message with a button to assign the task to a support agent. For incident management, integrate PagerDuty as described in the DevOps alerting guide.

How do you automate return and refund processes with n8n?

Listen for a “Return Requested” event via a Shopify or WooCommerce trigger. An HTTP Request node calls the refund API, and an IF node checks if the returned item is restockable. A database node updates inventory, while an email node sends the return confirmation and an Airtable node logs the reason for analysis. [1]

For partial refunds or exchanges, build a sub‑workflow with the Execute Workflow node that handles the complex logic and can be called from multiple return sources. Log every return step to Google Sheets for monthly reporting.

References

This guide is for informational purposes only. For the most current and authoritative information, always refer to the official n8n website (n8n.io) and the n8n documentation. Product details and features may change over time.

Leave a Reply

Your email address will not be published. Required fields are marked *