Hello lovely people,
Question of the day: If someone is removed from a segment mid-way through their Campaign Builder Journey, will they no longer receive emails?Explanation:
I’ve built a segment targeting customers who’ve made 1 transaction
Customer A enters the segment
24hrs later, Customer A receives an email
48hrs after that, Customer A receives a follow up email
Customer A now makes a 2nd transaction
Do they now:
Leave the segment but still receive the 3rd email in the campaign 24hrs later
OR
Leave the segment & the campaign
We’ve been trying to build multiple segments covering multiple touch points within a planned journey, but it looks to me like I can just build it all within 1 campaign.
The segment is based upon a custom field which counts the number of transactions on an account. This field is updated automatically via a webhook whenever the transactional count on an account is updated.
48hrs after that, Customer A receives a follow up email
Customer A now makes a 2nd transaction Do they now:
Leave the segment but still receive the 3rd email in the campaign 24hrs later
OR
Leave the segment & the campaign
Answer:
If your segment filter is: anyone with less then 2 transactions is member of the segment, then:
Once the second transaction webhook arrives, your contact will disqualify from the segment, leave the campaign, and scheduled campaign events (3rd email scheduled for him to go out) will not happen.
Also good to know:
Once your last campaign event is done (3rd email) you will still member of this campaign. You can’t schedule new events for this person.
Okay, so if I have a segment filter based around a -1 timestamp, then the following day the customer will be removed from the segment & subsequently any future campaigns. Gotcha.
What I’m saying is, if the contact was added to a segment by a filter and disqualifies to be a member of the segment, then the campaign will not be continueing for this person.
Just like a person without a ticket in the wild west: You get thrown out from the train between stations.
Mautic checks segment membership constantly. You can run the campaign:update command before campaign:trigger. This way contacts are kicked out from the segment BEFORE the actions are executed.
im not sure i follow this “You can run the campaign:update command before campaign:trigger.” Can you explain in terms of Conditions or Actions.
i put condition checks before every cart abandoned email ( to check cart activation link field if its empty then no email if its not empty then email goes) like for all 3 emails. which are sent every 24 hours but while testing the flow i just got the first email to trigger the rest never fired. Do i need to do this or the campaign will always check the souce segment cart abandoned segment to send the next email in the campaign. im thinking the condition check before every email is whats causing the issue.
your earlier comment suggests we dont need to add segments related checks before another email fires because mautic checks segment membership constantly. So if before email 2 fires the user isnt in the segment anymroe mautic will not send him email 2 “What I’m saying is, if the contact was added to a segment by a filter and disqualifies to be a member of the segment, then the campaign will not be continueing for this person.Just like a person without a ticket in the wild west: You get thrown out from the train between stations.”