Skip to content
support@sitepact.com
Request Support
Client Login
Twitter Facebook Linkedin Youtube
Sitepact Website Development
  • Site Care Pricing
    • How Site Care Works
    • Maintenance Pricing
    • Affiliates
    • FAQs
  • White Label
  • Website Design
    • Website Development
    • E-commerce Website Development
    • Recent Works
  • Blog
  • Plugins
  • About
    • About Sitepact
    • What We Do
    • Meet Ryon
  • Contact
  • Site Care Pricing
    • How Site Care Works
    • Maintenance Pricing
    • Affiliates
    • FAQs
  • White Label
  • Website Design
    • Website Development
    • E-commerce Website Development
    • Recent Works
  • Blog
  • Plugins
  • About
    • About Sitepact
    • What We Do
    • Meet Ryon
  • Contact

How to Create WooCommerce Order Confirmation Emails in Mautic

  • Last Updated: March 20, 2026
Subscribe
  • Business, Marketing, WooCommerce, WordPress

The Problem with Default WooCommerce Order Emails

WooCommerce ships with built-in order confirmation emails, and they work. Sort of. A customer places an order, they get a basic email with a table of items and a total. It does the job, but that’s about it.

The default emails give you almost no control over design, no way to track opens or clicks, and no connection to any broader marketing flow. Every order confirmation is a dead end. The customer reads it (maybe), and that’s the last touchpoint until they come back on their own.

When you build your WooCommerce order confirmation email in Mautic instead, you get a completely different set of capabilities:

  • Full design control – Use Mautic’s drag-and-drop email builder to match your brand, add images, and format content however you want
  • Open and click tracking – See exactly who opened the email, what they clicked, and when
  • Campaign integration – Your order confirmation becomes the first step in a post-purchase sequence, not a standalone message
  • Consistent branding – All your emails, whether marketing or transactional, come from the same system with the same look and feel
  • Personalization – Use any contact field or order data in the email body, subject line, or conditional content blocks

This tutorial walks you through the entire process. By the end, you will have a Mautic campaign that sends a custom order confirmation email every time a WooCommerce order is completed, plus follow-up emails for reviews and cross-sells.

Prerequisites

Before you start, you need two things in place:

  1. Mautic connected to WooCommerce – You should already have the Mautic Integration for WooCommerce plugin installed and authenticated. If you haven’t done this yet, follow the setup guide first. It takes about 10 minutes.
  2. Order Sync module enabled – In your WordPress admin, go to WooCommerce > Mautic > Order Sync and make sure the module is enabled. This is what pushes order data and product tags to Mautic contacts when an order status changes.

With those two pieces ready, you are good to go.

Step 1: Understand What Data Gets Synced

Before building anything in Mautic, it helps to know what data you are working with. When a WooCommerce order changes status, the plugin sends a JSON payload to the contact’s mautic_woo_order_data custom field. This payload includes:

  • Order ID and order status (e.g., completed, processing, refunded)
  • Order total and currency
  • Discount total and any coupon codes applied
  • Payment method (e.g., “Credit Card via Stripe”)
  • Order date
  • Line items – each product’s name, SKU, price, and quantity

On top of the JSON data, the plugin also applies product tags to the contact. If someone buys a “Blue T-Shirt” and the order is completed, they get a tag like blue-tshirt_completed. If you have category tags enabled, they also get tags based on the product’s WooCommerce categories.

The plugin also tracks two lifetime value fields: mautic_woo_total_spent and mautic_woo_order_count. These update automatically on every order sync for registered customers. You will use these later when building campaign conditions.

The key takeaway here is that by the time an order is completed, the Mautic contact already has the order data, the product tags, and the lifetime value fields. Your campaign just needs to react to those changes.

Step 2: Create the Email Template in Mautic

Log into your Mautic instance and go to Channels > Emails. Click New and select Template Email (not “Segment Email”). Template emails are what you send through campaigns or API calls to individual contacts.

Set Up the Basics

Give your email a name like “Order Confirmation” and set the subject line. You can personalize the subject using contact fields. For example:

Thanks for your order, {contactfield=firstname}!

Choose your preferred email builder (the drag-and-drop builder or the code editor) and start designing.

Add Order Data to the Email Body

The most important part is pulling in the actual order information. The plugin stores the complete order as a JSON string in the mautic_woo_order_data contact field. You can insert it using:

{contactfield=mautic_woo_order_data}

This outputs the raw JSON, which is useful for debugging or if you are processing the data with a custom Mautic plugin. For a customer-facing email, you will want to format it more nicely. Here are some approaches:

  • Simple approach – Reference the field directly in a text block and pair it with standard contact fields like {contactfield=firstname} and {contactfield=lastname} for the greeting. The JSON data shows the order details.
  • Custom tokens – If you have the Email Trigger feature enabled in the Order Sync settings, the plugin passes individual tokens like {order_id}, {order_total}, {payment_method_title}, {product_name}, and {product_sku} directly to the Mautic email. These render as clean, readable values.
  • Twig templates – If your Mautic instance supports Twig (Mautic 5+), you can decode the JSON field and loop through items for a fully formatted order table.

For most stores, the custom token approach is the easiest. A basic order confirmation email body might look like this:

Hi {contactfield=firstname},

Thank you for your order! Here are your details:

Order #{order_id}
Product: {product_name} (SKU: {product_sku})
Payment: {payment_method_title}
Total: {order_total} {currency}

Save the email template when you are finished. Take note of the template ID in the URL – you will need it if you use the direct email trigger feature.

Step 3: Build the Campaign

Now you need a Mautic campaign to send this email when an order is completed. Go to Campaigns in Mautic and click New.

Set the Campaign Trigger

For the contact source, choose “Contact tags were modified” or use a segment-based trigger. The tag-based approach is the most straightforward.

When the plugin syncs a completed order, it applies product tags in the format product-slug_completed. If you want the campaign to fire for any completed order (not just a specific product), you have a couple of options:

  • Use a general tag – In the Order Sync settings, you can configure general tags that are applied on every order sync. Set something like order_completed and trigger your campaign on that tag.
  • Use the email trigger feature – Enable “Email Triggers” in Order Sync settings and map the “Completed” status to your Mautic email template ID. The plugin fires the email directly via the Mautic API, no campaign needed for the initial confirmation.

For this tutorial, let’s use the general tag approach since it gives you more flexibility for follow-up emails.

In your Order Sync settings in WordPress (WooCommerce > Mautic > Order Sync), add order_completed to the General Tags field. Now every completed order will tag the contact with order_completed.

Add the Send Email Action

Back in Mautic, set your campaign source to a segment that includes contacts with the order_completed tag, or use the “Contact tags were modified” trigger for the order_completed tag.

Add an action: “Send email” and select the order confirmation template you created in Step 2. You can send it immediately or add a short delay of 1-2 minutes to make sure all the data has finished syncing.

Publish the campaign. That is it for the basic order confirmation. Every time a WooCommerce order hits “completed” status, the contact gets tagged, the campaign triggers, and your custom email goes out.

Step 4: Extend It with Follow-Up Emails

This is where Mautic campaigns really shine. Your order confirmation is no longer a dead end. It is the start of a post-purchase sequence.

Review Request (7 Days Later)

After the order confirmation action, add a 7-day delay, then add another “Send email” action with a review request template. Something like:

Hi {contactfield=firstname}, how are you enjoying your {product_name}? We'd love to hear your thoughts. Leave a review here: [link]

Product reviews drive social proof and SEO. Automating the ask means you never forget to follow up.

Cross-Sell Email (14 Days Later)

Add another delay (7 more days after the review request, so 14 days from the original order) and send a cross-sell email. Use the product tags on the contact to personalize the recommendation.

For example, if the contact has the tag blue-tshirt_completed, you know they bought a blue t-shirt. Create a segment for contacts with that tag and recommend matching items like pants, accessories, or the same shirt in a different color.

You can also use the mautic_woo_total_spent field to add conditions. If a customer has spent over $200, send them a VIP offer. If their mautic_woo_order_count is 1, send a first-time buyer discount for their next purchase. These fields update automatically with every synced order, so your conditions always reflect the latest data.

Campaign Conditions for Smarter Flows

Mautic campaigns support decision nodes and conditions. Here are some practical ways to use the synced data:

  • Did they open the confirmation email? If not, resend it with a different subject line after 24 hours.
  • Order count check – If mautic_woo_order_count is greater than 3, skip the cross-sell and send a loyalty thank-you instead.
  • Total spent threshold – If mautic_woo_total_spent is above a certain amount, move them into a VIP segment with different messaging.
  • Product-specific paths – Use tag-based conditions to send different follow-ups depending on what the customer bought.

None of this is possible with default WooCommerce emails. In Mautic, it takes a few clicks to set up and runs on autopilot from there.

Quick Tip: The Direct Email Trigger Approach

If you do not need a full campaign and just want a single order confirmation email, the plugin has a built-in shortcut. In the Order Sync settings, enable Email Triggers and enter your Mautic email template ID next to the “Completed” status.

When an order hits “completed,” the plugin fires the email directly through the Mautic API. No campaign, no segment, no tag trigger needed. The email is sent immediately with order tokens like {order_id}, {order_total}, and {product_name} populated automatically.

This works for any order status. You can map different email templates to “processing,” “on-hold,” “refunded,” “cancelled,” and “failed” statuses as well. Each one triggers its own Mautic email when that status is reached.

The tradeoff is that you lose the campaign context. No follow-up emails, no conditions, no branching logic. For a simple confirmation, it is fast and effective. For a full post-purchase flow, stick with the campaign approach.

Wrapping Up

Default WooCommerce order emails are functional but limited. Moving your order confirmations to Mautic gives you design flexibility, open and click tracking, and the ability to chain follow-up emails into a real post-purchase strategy.

Here is what you set up in this tutorial:

  1. Understood the order data, product tags, and lifetime value fields the plugin syncs to Mautic
  2. Created a custom order confirmation email template using Mautic’s email builder
  3. Built a campaign triggered by order completion tags
  4. Extended the campaign with review requests, cross-sells, and LTV-based conditions

Every order confirmation you send through Mautic is now a starting point for engagement, not a dead end. And because Mautic is self-hosted, you are not paying per-email fees to a SaaS provider to send them.

Need to get started? Get the Mautic Integration for WooCommerce plugin and start building smarter order emails today.

 Rated 5 out of 5
  • Filed Under: Business, Marketing, WooCommerce, WordPress
  • Tags: mautic, woocommerce, wordpress
Picture of SuperUser

SuperUser

Hi, I am Ryon. Avid WordPress developer and Entrepreneur. My Journey in Tech started with WordPress A little over a decade ago. Today, I run a business providing website maintenance services to clients all over the world.
PrevPreviousHow to Segment WooCommerce Customers in Mautic by Purchase History
NextHow to Set Up a WooCommerce Welcome Email Series in MauticNext

24 hour Professional Website Maintenance Service and Website Development Services. WE BUILD & WE MAINTAIN

Request Support
Live Chat
Facebook Linkedin Twitter Youtube

Site Care

  • Site Care Pricing
  • Maintenance Plan
  • How Site-Care Works
  • White-Label Maintenance
  • Affiliate Program
  • Site Care Pricing
  • Maintenance Plan
  • How Site-Care Works
  • White-Label Maintenance
  • Affiliate Program

More...

  • Free eBooks
  • Recommended Hosts
  • Free eBooks
  • Recommended Hosts

Website Development

  • Website Development
  • E-commerce Websites
  • Website Design
  • Site Maintenance
  • Recent Work
  • Website Development
  • E-commerce Websites
  • Website Design
  • Site Maintenance
  • Recent Work

And More...

  • GDPR Policy
  • Privacy Policy
  • Terms & Conditions
  • GDPR Policy
  • Privacy Policy
  • Terms & Conditions

Site Care

  • About Sitepact
  • What We Do
  • Blog
  • Meet Ryon
  • Maintenance Plan
  • White-Label Partnership
  • Frequently Ask Questions
  • Sitemap
  • Contact
  • About Sitepact
  • What We Do
  • Blog
  • Meet Ryon
  • Maintenance Plan
  • White-Label Partnership
  • Frequently Ask Questions
  • Sitemap
  • Contact

Copyright © 2020 Sitepact LLC. All Rights Reserved. | WordPress is Our Foundation & and Built With OceanWP

  • Site Care Pricing
    • How Site Care Works
    • Maintenance Pricing
    • Affiliates
    • FAQs
  • White Label
  • Website Design
    • Website Development
    • E-commerce Website Development
    • Recent Works
  • Blog
  • Plugins
  • About
    • About Sitepact
    • What We Do
    • Meet Ryon
  • Contact
Request Support

sign up for our newsletter

Sign up for our newsletter and receive updates on our latest blog posts and tutorials. 

View our Privacy Policy

VISITING FROM JAMAICA?

We offer special services to Jamaican Businesses and Entrepreneurs. Click this button to go to our Jamaican Website.

Visit Sitepact JA
Watch Video