How to Remove Contact from Segment When They Join Another Segment

Your software
My Mautic version is: 4.0.1
My PHP version is: 7+
My Database type and version is:

Your problem
My problem is:

First, filters are not working to create segments.

How can I automatically remove a contact from a segment when they join a different segment?

Or is there a way to exclude segments when creating a “segment email/one time broadcast”?


  1. Have you set up your cronjob for running segments: /var/www/mautic/bin/console Mautic:segments:update

  2. You can create a segment and in the filters you can add a filter for segments exclude “the segment you want to have taken out”

Thank you Mike, I have not set up the cronjob.

Is this the proper way to set it up?

I think you need to put add php to the beginning of the command and I would use small M for mautic