Campaign templates and import/export

Looks like ActiveCampaign just launched a marketplace where you can download ā€˜recipes’ similar to being able to export and share campaigns and the like:

3 Likes

Hi folks,

This is one of the Strategic Initiatives for 2020-21 - if you’d like to be involved with this project please do give your availability for the kick-off call on this Doodle poll.

Please also join #i-resource-management on Slack!

1 Like

Hi all - any update on this functionality?

Hi @entrepositive it’s something we want to include in our Campaign Library initiative but we currently don’t have any resources available to work on this. Would you like to work on it, or contribute towards the initiative financially so that we can advance on this?

5 Likes

Hi @rcheesley - thanks for the quick response.

This is, like many suggestions here, a great idea. And I’m beginning to understand the inner workings in the Mautic community.

Contributing work…I’m afraid I’d just get in the way there.

Contributing financially…I’m happy to throw into a pot, if there will be others on this as well. I enjoy the idea of a collective initiative and I’ll be a willing team player, to the degree it makes sense.

EP

2 Likes

If we take a look at n8n, i think this is the single most important feature after a snap install or so which would make a gigantic impact. Sharing templates including all necessary emails, campaign actions and so on would make life for most newbies so much easier and lower the entrance barrier for folks.

I want to set some time aside and start building this. Did someone start looking into that? I am happy for each contact/hint

Hi @alexhammer this project was funded by NLNet: https://mautic.org/blog/mautic-campaign-library-strategic-initiative-receives-grant-nlnet-foundation

The project is already in flight, thankfully you can catch up with progress on the Community Portal: Blog - Campaign Library initiative - Mautic Community Portal

1 Like

Hi @rcheesley thanks for the quick reply :raising_hands:
I found the PR in github towards the 7.x branch. Is this the one?

Yes, it’s staged for release in the 7.0 release.

2 Likes

You’re right—Mautic currently lacks a built-in campaign import/export feature, which would be great for reusable templates. Some workarounds involve using the API or manually recreating campaigns. Hopefully, this gets more traction in the community or as a future feature update. Have you checked if any plugins address this?

@andrewmorgan as you can see above, this project is in active development already.

HI @alexhammer @andrewmorgan @entrepositive, I’m the project manager for the campaign import and export features. We’re coming close to the end of the development phase now, and looking for people who would be willing to help us test. Would you be interested in that at all? I’d be very grateful for your input! Let me know.
Thanks
David

1 Like

Hey David,

Absolutely, let me know how I can help. Feel free to DM me as well if that’s better for you.

1 Like

Hello dcjarvis,

I’m very interested to hear how the campaign import and export feature will work in Mautic 7.

I would really appreciate a brief description on how it will function in reality without beta testing as it might impact work I’m doing on Mautic 6 ?

Will it change the way email themes are currently stored, designed and used to create an email campaign. Or is it an export and import feature of email campaigns already sent which are stored in the database ? Would you please clarify the functionality.

Thanks.

Hi there, I don’t think it will affect what you’re doing… basically if you export a campaign that requires an email theme to deliver an email that’s a part of the campaign, the relevant data will be part of the export, whether that’s as structured JSON data or as associated assets, themes and dynamic content. All of this will be included in the export, which is delivered to users as a ZIP file. Then on import the same zip format is used to import the data to the correct places in Mautic so that the campaign can function. Does that make sense? Happy to answer any further questions!
Thanks,
David

Hello dcjarvis,

Can I take it as read that the email themes i.e. twig file design and structure is not going to change anytime soon ? And you are exporting and importing email campaigns in there current form as per Mautic 6.x ? Is my thinking correct ?

In our case creating a custom theme and then modifying it with the grapesjs builder which is stored in the database does not give us enough design flexibility. And to re-use the design you have to clone the email campaign and make modifications with the grapesjs builder with the theme stored in the database. That process does not work for us.

Therefore in our case I plan to create a separate custom theme for every campaign and not use grapesjs builder for modifications. The custom theme will be ready to go. Yes I know that will create lots of custom themes and thats ok for us.

Outside of Mautic I plan to code up a theme generator app which will be used to create custom themes and I want to make sure themes are not changing anytime soon or it will complicate our design goals ?

I hope that is compatible with your export and import feature ?

Thanks.

Hi @andrew_c3
I can’t really answer your question in total as I don;t know, but I know that the twig file structure is not being affected by what we are doing with campaign export and import. From how your describe your approach I don’t think there will be an impact. Campaign export just identifies any entities that are required for the campaign to function and then exports the data for each of those dependencies into a JSON based file. We also identify if any external plugins are used - on import we check for those and get the user to install them first before the import can work. So if you are using a new builder app/theme generator, then I assume that will be registered as a plugin within Mautic.

If you’d like more insight you can download the current code from this PR: Campaign import/export process by levente999 Ā· Pull Request #14504 Ā· mautic/mautic Ā· GitHub

Thanks

Hi, i can test it! :partying_face:

HI there, thanks very much for volunteering! I will PM you with some details and instructions! Thanks, David