Knowledge Base

Trigger Email on New WooCommerce Order

With the AMS you have the ability to move away from the standard emails being sent out from WooCommerce.  This presents a great way to have nicer order notifications and better tracking using the AMS.

Today we will focus on how this can work using MakeWebBetter Mautic WooCommerce Integration.



  1. You have the purchased plugin installed on your wordpress site.
  2. You have authenticated it with your instance of the AMS
  3. You have granted permissions for the product to create all custom fields inside your AMS.


Firing It All Up:

  1. Create a segment that will capture all current orders.  In order to do this go ahead and create a new segment – we called ours Today’s Purchases.
    Inside this segment add the filter mwb_last_order_date “greater than” – 1 days
    Add a filter tag = purchased-now
  2. Create a new Template Email.  Inside this email you can call all the custom fields pertaining to the particular order.  An example would be something like:Hi {contactfield=firstname}Thanks for your order!
    We are excited to ship the following products you purchased: {mwb_last_products}.

    Just to confirm the following details:
    Your order will be shipped to:

    The current status of your order is: {contactfield=mwb_last_order_stat}

    The above is an example, however there are so many fields you can actually call inside your mailer.  You can even add in images of the products purchased

  3. Go ahead and create your Order Campaign.
  4. Begin the Campaign with the segment we just created.
  5. Add in Send Mail Action.
  6. Add in the mailer you just created.  Make sure to set to send immediately.
  7. Add an action to remove the tag “purchased-now”. This will allow you to process multiple orders for the same user in one day.
  8. And you are good to go

If something doesn’t make sense feel free to write questions in the comments section below.

Protected: Installing Metabase BI & Building Customized BI For the AMS

Password Protected

To view this protected post, enter the password below:

Safest way to upgrade Mautic (AMS)

How many times have you gone to do an upgrade of Mautic and it failed only to leave you hanging without a system and running around looking for a solution. At Surge we believe in fail safe methodologies to ensure 100% uptime for our customers. With the release of...

Installing the Firebase Plugin for Mobile App Push Notification

How incredible would it be if the AMS could send Push Notifications to your app?  Well yes you can do this with OneSignal, however not everyone is using OneSignal and we have found that many of our customers are using Firebase. So there is a company that has released...

I sent an email and made a sale!

This is a sentence I am always surprised to hear from our clients.  So many people are under the impression that e-mails don't work anymore.  People are focused on social platforms, text messages and whatsapp. We meet so many clients that have legacy data that they...

Using Campaigns to Manage Sales Follow Up Cycle

In continuation from our previous post on "Using Campaigns to Improve Sales Cycle" we now move into using Mautic campaigns to help the sales team follow up with leads that come in. Firstly we consulted with our clients on their needs, and in a very general case what...

Using Campaigns to Improve Sales Cycle

The AMS has many hidden features that can be used in conjunction to improve your overall sales cycle. At Surge we have used advanced campaigns and logic to help increase a business overall sales cycle and to boost conversion rates. How did we do this ? We started off...

E-Mail Frequency – Is Too Little Too Much or Vice-a-Versa

What a question to ask ? Probably the most debated question among marketeers throughout time (or at least since email was around). Everyone has their own opinion, and each opinion is valid and correct. There is no real right or wrong answer over here. At Surge we...

Unique Discount Code Distribution System

Challenge There is an inherent challenge when working with mautic and setting up unique discount codes. There are many instances where you might want to distribute a unique one time discount code. We have found this necessary in a few instances for example: Signup to...

Updating Mautic WhiteLabeler to correct version

Often when there is a new release of Mautic, those of us using Mautic Whitelabeller have the frustration that it is not compatible with the current version. Here are the steps to correct this: Unzip the file, then go and edit the file compare.php

SSL Issues with www and non-www records

I have used certbot LetsEncrypt for hundreds of sites and usually I go ahead and set up the certifications without a problem and everything works well. Well this was the case until we came to a launch of a pretty big client, it was late at night and I set up the...