Skip to main content
Answered

Event propagation delay in intercom workflow trigger audience rule

  • October 13, 2024
  • 3 replies
  • 39 views

I have a workflow where in the audience rule I've set custom event which I am firing with condition (event name - count - has any value).

But the message prompt doesn't appear at the initial page render. When I refresh the page then I'm able to see the message prompt. 

I verified that the custom event is firing properly from the network tab. Also the custom event logs in the intercom side is also showing up the correct event at the right time, but not sure why the workflow message prompt is not showing up during the first time. But only visible when we refresh the page. In that case the count also becomes two.

Additionally, I have also used alternative audience rule event name - first occured - has any value still it doesn't work properly for the initial first time page loads. 

Is there a better way to fix/resolve this issue?

Best answer by mateusz.leszkiewicz

Hi @Ajay Chauhan, It’s Mat from the Support Engineering Team 😀

This is actually an expected behaviour since the data in the Intercom are updated upon the refresh of the page.

You can resolve that issue by calling Intercom(‘update’) method after your event is being triggered.

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

3 replies

mateusz.leszkiewicz
Intercom Team
Forum|alt.badge.img+5

Hi @Ajay Chauhan, It’s Mat from the Support Engineering Team 😀

This is actually an expected behaviour since the data in the Intercom are updated upon the refresh of the page.

You can resolve that issue by calling Intercom(‘update’) method after your event is being triggered.


  • Author
  • New Participant
  • 1 reply
  • October 13, 2024

Got it. Thanks @mateusz.leszkiewicz 

If I understand correctly, currently I just have

Intercom('trackEvent', event)

Now I need to add Intercom('update', userData) in the codea after firing the event right?


mateusz.leszkiewicz
Intercom Team
Forum|alt.badge.img+5

That’s correct. @Ajay Chauhan 


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