Mautic Community Forums

How to create a Campaign to send one out of 30 emails randomly

I have created around 30 emails, each one of them has one or two “Tips” on how to use my certain products. Now, I want to build a Campaign to send one of the 30 emails randomly to all contacts in a segment on every few days.

Any idea how can I get it done?

Do you want the contacts to receive all emails eventually or only a portion of them?

If you can develop a plugin then I think there might be a way. you can subscribe to campaign trigger event and change the email you wish to send.

If you want to send unique email every time then you’ll have to keep a count(may be store email ids in a custom field and match to ensure last sent mail wasn’t this), else if you want to choose randomly that would be fairly easy with event subscriber approach.