Skip to main content
Question

Is it possible to delay push messages triggered by backend notifications until office hours?

  • September 21, 2022
  • 2 replies
  • 108 views

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:

 

Did this topic help you find an answer to your question?

2 replies

Racheal
Intercom Team
Forum|alt.badge.img+5
  • Customer Support Engineer
  • 512 replies
  • September 23, 2022

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!


  • Author
  • New Participant
  • 1 reply
  • September 26, 2022

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings