Send segment email but exclude some users

Hey i want to send segment email but exclude some user by some parameters like the way i can do that in a campaign.

As example let say i want to send am email for most of the segments but i want to filter it and send the email only to users that have more than 20 points.

Is that something that possible?
Thanks

1 Like

Hey, I think you can solve this in different ways…
I would recommend to make a new segment with the existing segment and use a filter for the points to create it. I recommend a new segment with two conditions. One “segment membership including xy” and Two - “points greater than 20”.
Hope that helps.

1 Like

Hey thanks for the good suggestion,

It’s a good idea but when you have like 20+ segments it’s going to make it a bit harder to duplicate all of them and create new segment for all. I think i might also need to change all the current funnles to insert the users to the new segments as well.

It might be a good idea maybe to make only one segment from all the existsting one, and make sure all funnels get the users to the new segment as well but it seems like a lot of work.

So it’s good suggestion but i hoped there will be a simpler one.
Thanks again

You create a new segment and include the all 20 segment by using filter in new segment then add a second filter to have point greater than 20.

No need to duplicate all 20+ segment … just filter it in the new segment in the filter setting

1 Like

Hey thanks for your ansewr,
How can you create segment and include inside 20 segments?

  • And does your option keep updating new contacts added to all 20 segments? or do i need to recreate the segment each time?

  • Also let say i have created filter and it excluded users with less than 20 points and i send email again after 1 month and than the user have more than 20 point but it was already excluded.
    So i guess that mean i have to recreate the segment each time to include users that were excluded right?

Thanks again

Just go create a new segment just like how you create the other 20 segment.

In filter setting, add segment and include then select all the segments you want it to filtered
and add a second filter for point then select greater than and input 20 .

If any other 20 segment contact has been changed (add / remove) it will already update the filtered segment.

Here an example screenshot of the filter segment that will only pull contacts from those 4 segments I included that have at least 20 or more points.

1 Like

BTW …

I use tags instead of segment to maintain the contacts in filtered segments because in my world a contact can be a member in more than one categories, newsletters or events so I find it easier to maintain contact using tags.

Here an example of an upcoming events sending out invitation including contacts with any of those tags but excluding those contact that have the either already registered or unsubscribed tags

If contact registered for the event, they still will not lose the original tag and a registered tag will be added to them. Since that tag excludes them from receiving invitation so they will not get invitation email again

Thank you, are you sure something like that works?
If i do that it say there is no contacts on the segment.

Also if i create a scheduled email with the new segment it also not showing pending emails when i choose the segment with all 20 segments.

Are you running segment update via cronjob? How many minutes in between update?

Here the link on more information about cronjob to update segments

Yes, i have created my own cron script.
The segment update script runnig each minute.

Is this the one that update the filters? mautic:segments:update
I use that one on my code.

I normally not use filters so maybe there is other cron i am missing?

Go to CLI and type something like this

php /path/to/mautic/bin/console mautic:segments:update --no-interaction --no-ansi

It should display the result of the segment update.

1 Like

Yes, you are right. It seems like the problem coming from my code and i will have to check that.

Thanks a lot,
You been very helpful and you saved me a lot of time.

1 Like

By the way, the new segment will be updated automatically, so no need to recreate it. All contacts that meet the criteria will be added or excluded from the segment. So a very good approach - I see it more transparent than ActiveCampaign.

We have this feature implemented for segment emails.
Screen Shot 2022-11-15 at 09.35.06

We did not push it to the community yet as there is a long backlog of features and bug fixes that need testing in order to be merged to the product. Please join the community with testing the open pull request so pushing such features to the community is not a waste of time for the developers.

3 Likes

That looks great! A customer of ours requested this too. So I think this is a very valuable feature for a lot of users. Thanks for working on that! :sunflower:

1 Like