Skip to main content

I have set up a push notification triggered by a backend notification, using the Intercom API that we call from an internal service. These calls happen every day around 3am, but we want to restrict sending the push messages during office hours.

 

I tried using the "During office hours" parameter, thinking it was going to delay messages coming outside of that range. But testing it turns out that this instead ignores notifications completely if sent outside of office hours.

 

Is there a way to set this up in a way that handles that delaying of messages automatically, or is that something we need to handle on our end to make sure we only send messages during the time period when we want to deliver them?

 

I've included screenshots of my current setup if that can help:

 

Hey @user1928​ Racheal from the Support Engineer team here 👋

 

Using an event trigger will be tricky here, as you noticed, we won't run a check to see who triggered the event outside of office hours. What you can do instead is check for the event within the Audience rule. Using less than 0 days ago will cover a 24 hour span (more on date filters here):

Screen Shot 2022-09-23 at 1.10.41 PMThis way when your office hours start we will run a check to see who triggered that event in the last 24 hours.

 

I hope this helps!


Thank you Racheal, this approach should work perfectly! It would have been even greater if we were able to filter on the event metadata within the Audience rules, but it's fairly easy for us to work around this limitation. Could be a nice feature in the future though.

 

Thanks again, appreciate the fast and detailed answer 👍


Reply