# Send an email to a random % of a segment

**URL:** <https://forum.mautic.org/t/send-an-email-to-a-random-of-a-segment/18481>\
**Category:** General Discussion\
**Created:** [March 8, 2021, 12:29pm UTC](https://forum.mautic.org/t/send-an-email-to-a-random-of-a-segment/18481 "2021-03-08T12:29:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![movementbruce](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/movementbruce/32/543_2.png) [@movementbruce](https://forum.mautic.org/u/movementbruce)\
**Post date:** [March 8, 2021, 12:29pm UTC](https://forum.mautic.org/t/send-an-email-to-a-random-of-a-segment/18481/1 "2021-03-08T12:29:54Z")

</div>

Morning! I have only been using Mautic for a short time now and can’t seem to figure out how to send an email to a random % of a segment.

For instance, I have one huge list, but only want to send to 50% randomly this week, then next week, I can send the other half a different email that didn’t receive the first, without breaking up that segment. The second part is simple, finding the first 50% is seeming difficult. Any suggestions on how to best accomplish this?

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [March 8, 2021, 2:15pm UTC](https://forum.mautic.org/t/send-an-email-to-a-random-of-a-segment/18481/2 "2021-03-08T14:15:40Z")

</div>

If you have 50%-50% with a time difference, you can randomly assign a number to your contacts in excel, update the list and create 2 segments based on this random number.

---

<div class="post-metadata">

**Author:** ![movementbruce](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/movementbruce/32/543_2.png) [@movementbruce](https://forum.mautic.org/u/movementbruce)\
**Post date:** [March 8, 2021, 3:10pm UTC](https://forum.mautic.org/t/send-an-email-to-a-random-of-a-segment/18481/3 "2021-03-08T15:10:06Z")

</div>

Hrmmm that is an interesting concept. Given that, I should be able to send to any number of contacts, just by doing a greater than or less than in the filter. I like it and that could work

---

<div class="post-metadata">

**Author:** ![ekke](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ekke/32/296_2.png) [@ekke](https://forum.mautic.org/u/ekke)\
**Post date:** [April 16, 2021, 2:05pm UTC](https://forum.mautic.org/t/send-an-email-to-a-random-of-a-segment/18481/4 "2021-04-16T14:05:29Z")

</div>

Suggestion for a similar but more internal solution:  
Create a little campaign to assign each contact to sub-segments, based on the “Date Last Active”. For a 50% cut, the campaign condition would look like this  
`Date Last Active -> regexp -> [0-4]$`

Best,  
Ekke

---

<div class="post-metadata">

**Author:** ![attila.nagy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/attila.nagy/32/670_2.png) [@attila.nagy](https://forum.mautic.org/u/attila.nagy)\
**Post date:** [November 5, 2021, 5:07pm UTC](https://forum.mautic.org/t/send-an-email-to-a-random-of-a-segment/18481/5 "2021-11-05T17:07:10Z")

</div>

Two plugins have been developed to solve this problem. The description on this page will tell you exactly what the settings are and how they can be used for business.

[Segment Randomizer](https://www.leadengine.hu/en/downloads/segment-randomizer-mautic-plugin/)

[Campaign Goals](https://www.leadengine.hu/en/downloads/campaign-goals-mautic-plugin/)
