tr Skip to content

Create a customer label in Gmail for new WooCommerce order

Each new WooCommerce order creates a label in your Gmail account, named from the order data you map, so you have a ready label for sorting that customer’s emails.

WooCommerce Gmail

2 steps Setup ~5 min Used on 2.9k sites Free to import

The Create a customer label in Gmail for new WooCommerce order workflow on the FlowMattic canvas, with 2 steps across WooCommerce, Gmail
The workflow as it appears in the builder after import. Each step opens for editing.

What this workflow does

Store owners who handle customer email in Gmail often sort conversations by buyer. Making a label by hand for every order is slow and easy to skip on a busy day. This workflow makes the label for you as each order comes in.

The WooCommerce trigger picks up every order placed in your shop. The order data, such as the customer's name, email and order number, becomes available to map. The Gmail step then creates a label in your connected Gmail account, using whatever order fields you place in the label name.

Be clear about what the flow does. It creates the label and stops there. It does not apply the label to any message, move mail, or send anything. To get emails under the new label, set up a Gmail filter yourself or add further steps after import. Each run appears in Task History with the label name that was sent.

Per-customer folders for a small shop

A handmade goods store names each label after the buyer, giving the owner a place to file that customer's questions and delivery emails.

Order-number labels for custom work

A print shop that trades proofs by email creates a label per order number, so each job's emails can be kept together.

Preparing labels for a support assistant

A shop owner has labels created automatically so the assistant who answers customer emails only has to file messages, not make labels first.

How this workflow runs

What happens at each step once the workflow is on, and what you need before you import it.

  1. Step 1Trigger
    WooCommerce New Order Created

    Runs once for each order placed in WooCommerce. The order details, including customer name, email and order number, are passed on for the label name.

  2. Step 2Action
    Gmail Create Label

    Creates a label in the Gmail account you connect, named from the order fields you map, for example the customer's name or the order number. The step only creates the label.

What you need

  • FlowMatticCore
  • WooCommerce PluginPlugin
  • Gmail AccountAccount

After importing, map your own data. To keep the template universal, not every step is pre-filled. Open each step in the builder and connect your accounts and fields (channels, lists, sheets, recipients) before you switch the workflow on.

Make it yours

Changes worth making after you import it.

  • Use a name pattern that stays unique, such as the order number plus the customer's last name, so two buyers with the same name do not collide.
  • Gmail treats a slash in a label name as nesting, so a name like Customers/ followed by the buyer's name keeps all order labels under one parent label.
  • Add a Filter after the trigger if you only want labels for some orders, for example orders above a set total or with a particular payment method.

Questions about this workflow

Does the workflow put WooCommerce order emails under the Gmail label?

No. It only creates the label. Messages are not labeled or moved by this workflow, so add a Gmail filter or extra steps if you want that.

What happens if a repeat customer places another order?

The step runs again for that order. If the label name is the same as one that already exists, Gmail may refuse to create it, and Task History shows the reply.

Does a Gmail label get created for every WooCommerce order?

Yes, as imported. Every new order runs the Gmail step. A Filter after the trigger lets you limit it.

Does this change the WooCommerce order?

No. The order is read and nothing is written back to your store.

Import this workflow into your WordPress site

Download the JSON, import it from the Workflows screen and connect your accounts. Every run stays on your server, with no per-task fees.

30-day money-back guarantee Unlimited workflows and runs Self-hosted

Customers who run it every day

Rated 4.8 out of 5 by customers
Read more reviews

Flowmattic is a noteworthy option for businesses looking for a self-hosted alternative to Zapier. With its user-friendly interface and a strong set of features, it is a top pick for those in need of a reliable WordPress automation solution.

Creative-Minded Multimedia

The main advantage of the plugin that it can turn your WordPress installation into a powerhouse, just imagine that you can replace all other integration with only this one.