Question

Why aren't my Outbound Bots triggering?

  • 6 September 2022
  • 1 reply
  • 57 views

Outbound bots are not triggering. Outbound Chats work very well but they don't have the bot button options. Outbound Bots only trigger after I refresh the page and not when I first land on it. Shouldn't they work the same if they have the same rules?


1 reply

Userlevel 4
Badge +5

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

 

When a message has a URL rule or the likes of that, when they first visit the page a call is made to Intercom which communicates the URL, time one page, etc. to Intercom, but another call needs to be made to Intercom for the fact that user has matched the message to be communicated back to Intercom. If you add some code like this to your site, that should solve the issue:

setTimeout(function(){
 
Intercom("update", {last_request_at: parseInt((new Date()).getTime()/1000)})
 
}, 500)

Something else to possible look into is to make sure Intercom websockets which facilitate real time communication between the Messenger and Intercom servers are not being blocked by your CSP. More on that here!

 

Reply