If you were looking at a given person’s Journey through a segment triggered campaign, you might’ve seen the term “grace period”. For example:
“Waiting in grace period for a day”
“Waited in grace period for 2 hours”
Once a user matches your campaign’s trigger condition, they start your workflow. They move from action to action, as long as they don’t meet the exit condition. If we notice that the exit condition is met when we try to send them a message, we hit pause on their progress, and put them into an inactive state.
While inactive, there exists a period of time where they can match again, become active, and keep going through the campaign. This is the grace period. If the grace period ends and they’re still inactive, they’ll exit the campaign.
Say you have a campaign that looks like this:
Alice enters this campaign by filling in a particular piece of information in her profile within your app, matching the
Power Users segment conditions.
She finishes waiting five minutes. At this point, Customer.io hits pause and she becomes inactive. We don’t remove Alice from the campaign; instead, we give her a “grace” period to match again.
Well, that depends:
If Alice stopped matching while in a delay, then it’s half the length of the delay, but not less than 24 hours, and no more than 31 days. For example, if your delay is 3 days, then the grace period is 1.5 days. If it’s twenty minutes, the grace period is 24 hours.
If she became inactive while waiting on a time window, then we’ll wait until the end of the second window.
This is much easier with a couple of examples:
Say it’s currently Sunday, 12 noon, and Alice is waiting to receive Campaign Email 1. She becomes inactive on Monday at 8AM.
In Journeys, you can see exactly when a user is in a grace period, because they’ll have the label “Leaving” on their segment-triggered campaign.
To understand this, let’s return to Alice:
Say that half an hour after becoming inactive, Alice fixes her mistake, and re-fills that information in her profile. We still want her to continue the campaign. When she fixes her info, she’ll re-join
Power Users, become active, and receive your next email.
identify(to create the user) and the event call (to trigger the campaign). Without a grace period, the transactional email may not be sent if we we processed the event call before the
We originally added grace periods because precise cutoffs and match times sometimes caused people to not receive a campaign or not continue in campaigns unexpectedly. We want to make sure we actually match everyone who should match.
Grace periods also help make sure that your users continue to get messages when we have the occasional operational issue or some planned downtime.
Hopefully, you now know a little more about how matching and re-matching works in Customer.io. If you have any questions about how this works, get in touch!