Connect WooCommerce to Gmail — Send Each New Order Instantly

This n8n workflow watches WooCommerce for a new order and automatically send an email via Gmail. Set it once and it runs 24/7.

difficulty Beginnersetup 25 minresult A hands-off pipeline where every new WooCommerce order is automatically send an email via Gmail in Gmail.
  1. 1

    Add the WooCommerce Trigger node

    Start with a WooCommerce Trigger node — connect your WooCommerce store (URL + consumer key/secret) and set Event to order.created. This fires the workflow the moment a new order arrives.

  2. 2

    Map the fields with a Set node

    Add a Set node after the trigger to shape the data cleanly. Create fields: order_id to {{ $json.id }}, email to {{ $json.billing.email }}, total to {{ $json.total }}, and status to {{ $json.status }}. This turns the raw payload into tidy values your destination can use.

  3. 3

    Send it to Gmail

    Add a Gmail node set to operation Send. Connect your Google account, set To, Subject and Message from the Set-node fields to fire off a clean notification or confirmation email.

  4. 4

    Activate and test

    Click Activate in the top-right of the canvas. Trigger a test order in WooCommerce, then confirm it appears in Gmail. Once it works, you're done — every new order now flows through automatically.

Frequently asked questions

Do I need any coding skills to set this up?

No. n8n is a visual, drag-and-drop tool. You connect your WooCommerce and Gmail accounts, point the nodes at the right form/sheet/channel, map the fields, and activate. No code required.

Can I filter which orders get sent to Gmail?

Yes. Add an `IF` node between the Set node and the Gmail node with a condition (for example, only send when an amount is above a threshold or a field equals a value). Wire the TRUE branch to Gmail and leave FALSE empty to skip the rest.

Can I send each order to more than one place at once?

Absolutely. Branch the workflow after the Set node: connect it to multiple destination nodes so the same order lands in Gmail and, say, Slack or a spreadsheet simultaneously.

About this recipe. Recipes on FlowRecipesHub are written for business owners, not developers, and are tested before publishing — how recipes get made. Some ingredient links are affiliate links that cost you nothing — full disclosure.