How do I start an automation when a contact joins or leaves a segment?
Use the Joined a segment or Left a segment trigger and pick the segment. The automation starts for each contact that starts (or stops) matching its criteria. Example: anyone who joins the "No appointment in 6 months" segment gets the follow-up message.
Role: any member with access to the workspace.
Steps
- Open (or create) the automation.
- On the trigger, open the Contacts, tags and lists category and choose Joined a segment or Left a segment.
- Under Segment, pick the segment.
- Save and publish.
When the trigger fires
- While the automation is active, the segment is recalculated every hour. Contacts that joined or left since the last calculation fire right after.
- Only contacts that change after you publish fire. Contacts already in the segment when you publish do not start the automation. To reach them, use mass send on the same segment.
- The first time the segment is calculated is only a starting point and fires nobody.
- The contacts of one calculation are released gradually, not all at the same instant.
Contacts that leave and come back do not fire again
Each contact fires once per waiting period. The default is 30 days: a contact that joins, leaves and comes back to the segment within 3 days starts the automation only once. This also stops the loop where the automation applies a tag, the tag brings the contact back into the segment, and the automation starts again.
To change the period, adjust the automation's Lead cooldown. With the default cooldown value (1 hour), the segment trigger uses the 30 days. With No cooldown, the contact fires every time it joins.
The cooldown belongs to the whole automation, not to each trigger: if it has other start triggers (another segment, a tag, or "Left a segment" for the same segment), a recent start through any of them also holds the contact here.
Limit of 1,000 contacts per calculation
If a single calculation brings more than 1,000 contacts joining (or leaving), the automation fires for none of them: it is paused and you get a notification. This protects against accidental sends, such as editing the segment criteria and suddenly including the whole base.
After the notification:
- Check the segment criteria.
- Resume the automation in the editor.
The contacts from the calculation that went over the limit do not fire after you resume. Only the next ones do.