Skip to main content
Answered

Show a banner for a specific time after trigger

  • November 22, 2023
  • 1 reply
  • 190 views

Hi!
I want to show a banner for 24 hours using an API call. (Use case: inform customers about a specific event start and finish, for example, maintenance windows, and that even will happen frequently so we want to automate this process)
I created a banner manually and added a rule to trigger it on an event I can create through the API.

The problem is that I want to show the banner only for 24 hours and then, disable it.
I did not find any API call that allows me to do so and the stop sending date does not cover a delay from creation.

Is there any way to do this?
Thanks!

Best answer by Jacob Cox

Hi @Marcos Singermann !

Basically, it sounds like you want to pause the Banner after 24-hours. Unfortunately, there isn’t a way to control Proactive Messages like Banners via the API.

 

The closest solution I can think of is to create a Rule for the Banner so it will only send to Users and Leads who have a certain Tag. You could then Tag all those Users via the API so they now qualify for the live Banner. After 24 hours has passed you could Un-Tag them. Since they would no longer qualify for the Banner, they would no longer see it. The one drawback is that this will only work for Leads and Users. You can’t tag Visitors, because they are anonymous. If this page is behind a log-in wall you should be all good, though! 🤞

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

1 reply

Jacob Cox
Intercom Team
Forum|alt.badge.img+5
  • Sr. Technical Support Engineer
  • 441 replies
  • Answer
  • November 26, 2023

Hi @Marcos Singermann !

Basically, it sounds like you want to pause the Banner after 24-hours. Unfortunately, there isn’t a way to control Proactive Messages like Banners via the API.

 

The closest solution I can think of is to create a Rule for the Banner so it will only send to Users and Leads who have a certain Tag. You could then Tag all those Users via the API so they now qualify for the live Banner. After 24 hours has passed you could Un-Tag them. Since they would no longer qualify for the Banner, they would no longer see it. The one drawback is that this will only work for Leads and Users. You can’t tag Visitors, because they are anonymous. If this page is behind a log-in wall you should be all good, though! 🤞


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