Add Emails to an Existing Mautic Campaign
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.
*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.
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:
This will only work from within the Mautic installation folder. It will show you the number of contacts and events deleted.
Now type in:
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!
Thank you SO much for this. We were ripping our hair out over this issue and are very thankful for this workaround.
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.
I think do the right steps, but: 0 new plugins were installed and 0 updated.
Can u show any other way to install?
My version is 2.12.0.
Compatibility
This plugin has been tested with up to v2.12.0 of Mautic.
Solved!
After Unzip file the folder name created is ThirdSetMauticResetBundle-master.
Is needed rename to ThirdSetMauticResetBundle.
Thanks man, this would have been a deal breaker with Mautic for me, you are a life saver
I know what you mean man – glad it helped!
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:
[SymfonyComponentConsoleExceptionCommandNotFoundException]
Command “mautic:campaigns:process_resets” is not defined.
Please what am I doing wrong?
I’m using Mautic 2.12 0.
Please how do I solve this problem?
Thanks.
Sorry man, not sure why you’re running into that error. We’ve actually moved away from Mautic now, and created a WordPress native plugin called Cultivate. https://cultivate-crm.com
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.
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.]
No need for this plug-in any longer according to the GitHub Page
The ability for contacts to go through a campaign multiple times was added to Mautic in v2.14 (see #6132 in the v2.14 release notes). Mautic 2.14 was released on 2018-07-25. If you are using Mautic 2.14 or greater, you are advised to use Mautic’s built in functionality instead of this plugin.
If you are using a version of Mautic older than 2.14, this plugin may still be of value but all users are encouraged to upgrade.
Once you have upgraded to Mautic 2.14, this plugin can safely be deleted.