Skip to main content

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?

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.


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?


That’s correct. @Ajay Chauhan 


Reply