Add Emails to an Existing Mautic Campaign

Written by
Kyler
on August 19, 2017

If you’re like us, you change or add to your email campaigns. Sometimes quite often. By default, Mautic (as of v2.9.2) will not send the new emails you add to the people who are already active in the campaign. New contacts will receive everything, but existing leads will not. This scenario didn’t work for us, as we needed the ability to continue to add emails to our existing Mautic campaigns.

Thanks to the Third Set Reset Bundle, there’s a solution!

Third Set Mautic Reset Bundle

This plugin allows you to send contacts through a campaign multiple times. By default this still doesn’t work, because if you send contacts back through a campaign, they’ll receive all of the original emails AGAIN. But don’t worry, Mautic allows you to work around this. So let’s get this setup on your Mautic installation!

SIGN OUT of Mautic before executing the following:

1) Click the link below, then click Clone or Download and download the ZIP file.

https://github.com/thirdset/ThirdSetMauticResetBundle

2) Unzip the file and copy the resulting folder to the plugins folder in your Mautic installation.

3) Delete your cache (app/cache/prod) files. You can literally delete the entire prod folder.

4) Sign in to Mautic, and click on the top right gear icon.

5) Click Plugins.

6) Click the top right Install/Upgrade Plugins button. You should see the Reset plugin.

Mautic reset plugin

*If you don’t see the plugin, sign out of Mautic, toast the cache and then sign back in and click the install/update plugins button again.

Add Reset Tag to Contacts

The plugin works by looking for a tag in a contact, and then resetting the campaign for that contact based on the specific tag. The tag must be in the format of ‘reset_CAMPAIGN-ID-NUMBER.’ When you edit your Mautic campaign, if you look at the URL, you’ll the see the ID number. If the number is 2, your tag will look like:

reset_2

Now you need to add this specific tag to your contacts in the campaign:

1) Edit your campaign.

2) Add an action based off the very first segment or form launcher.

3) Name your action, set it to run immediately. Place your tag in the Add tags field. Again, make sure this is using the ID of the campaign. Click update.

Mautic: modify tags action

Set Campaign Email Type

At this point, if you run the reset command, all of your contacts would receive every email in the campaign all over again. Let’s fix that: You don’t need to modify the emails themselves, but simply specify the email type for each email send in your campaign.

Make sure the email is set to Marketing vs Transactional. Marketing emails are only sent to a contact one time. Period. So when the contacts are reset and sent back through the campaign, they will not receive duplicate emails.

Run The Reset Trigger

That’s it! Now you’re ready to run the reset trigger. Access a command line via SSH. Navigate to the folder your mautic installation is contained within, and type the following command:

php app/console mautic:campaigns:process_resets

This will only work from within the Mautic installation folder. It will show you the number of contacts and events deleted.

Now type in:

run-parts /etc/cron.daily

Voila!

Now you’re in business. Now you know how to effectively add emails to an existing campaign! Eventually, Mautic may incorporate this into the product, but until now this allows for you to get you campaigns active and continue to grow them!

Is Your Business Growing?
Are there potential customers you're not reaching? If you don't get to them, your competitors will. You must have a strategy. A solid online marketing plan. Do you know the difference between social media and website marketing? How are you growing your business online? Did you know SEO really works?
Get our FREE marketing tips below, and a coupon to save on Outer Gain!


Yes! Please add me to your list and send me the free marketing tips. I agree with site privacy and cookie policies.

Kyler and Sandi Boudreau
Written By
Kyler Boudreau

Kyler Boudreau lives with his wife and daughter on the beautiful island of Kauai. Kyler is an independent filmmaker (see theatereleven.com). His wife, Sandi Boudreau, is a Crown Diamond level distributor with Young Living.

12 thoughts on “Add Emails to an Existing Mautic Campaign

    1. Hey man – you’re welcome! I know the feeling. Wish they’d build this in for an easier method, but they have a lot on their plate.

  1. Hello Kyler,

    Thanks for this post. I tried the steps you wrote above, but when I run the cron job, I was getting the following error:

    [Symfony\Component\Console\Exception\CommandNotFoundException]
    Command “mautic:campaigns:process_resets” is not defined.

    Please what am I doing wrong?

  2. I would like to thank you for the post. I am new to mautic and trying to explain to you my problem what I am currently facing.

    I have a campaign at a relative time period and email will trigger after 1 day,2 days and 3 days from the date [7-Sep-2018]. Means contact will get email on 8th,9th and 10th sep respectively.
    Now the problem is when I add any new contact or reset process, the campaign is starting from the beginning from the date of the reset process. Also if I add another contact on 2nd or 3rd day, again campaign process starts from the beginning.

    What I want that if I add a contact on 9-9-2018 then that contact should have 2 emails[1day and 2day] and he will wait for the next email that will trigger on 10th.

    For the more clear picture, I have defined below the test case-

    Campaign :
    After 1 day – Send email 1
    After 2 day – Send email 2

    Contacts: A,B.

    After 1 and 2 days: A & B will get Email 1 & Email2.

    On 9-Sep: Added contact C

    Now C will get email 1, after 1 day[Problem is here, I was expecting email 1 & 2 on the same date[9 Sep] from the date 7-Sep.

    If I update campaign and add 3rd email on 9th sep:
    Campaign :
    After 3 day – Send email 3

    After the reset process, campaign event starts again from the date of process reset. Now A and B will get 3rd email on 12-Sep [Problem is also here, I was expecting a 3rd email on 10 sep from the date 7-Sep.]
    And all process will start for ‘C’ again.

  3. Please ignore my previous mail and I have updated my problem.

    I have a campaign at a relative time period and email will trigger after 1 day,2 days and 3 days from the date [7-Sep-2018]. Means contact will get email on 8th,9th and 10th sep respectively.
    Now the problem is when I update campaign by adding new email[Email 3 on 10th sep] and do reset process, the campaign is starting from the beginning from the date of the reset process.

    What I want that if I update campaign then newly added email[Email 3] should be sent on 10th Sep 2018 [But in actual it is sending from the reset process time].

    For the more clear picture, I have defined below the test case-

    Campaign :
    After 1 day – Send email 1
    After 2 day – Send email 2

    Contacts: A,B.

    After 1 and 2 days: A & B will get Email 1 & Email2.

    On 9-Sep: Added contact C

    Now C will get email 1, after 1 day[That is ok]

    If I update campaign and add 3rd email on 9th sep:
    Campaign :
    After 3 day – Send email 3

    After the reset process, campaign event starts again from the date of process reset. Now A and B will get 3rd email on 12-Sep [Problem is also here, I was expecting a 3rd email on 10 sep from the date 7-Sep.]

Leave a Reply

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