Skip to main content

Hi,

The situation is like this.

We have a page that is already integrated with Intercom web chat. I would like to know if there’s any way that we can enter this page by URL with some query parameters, and the chatbox can automatically show up and prefill with the specific wording. 

 

Thanks in advance!!

Hey @Henry Dai 👋

 

You can achieve this by using one of our JS API methods. Here you can find the exact method you can use for this.

 

For example, if you run the below method as soon as your page loads, the user will see the new message section opened automatically with the pre-populated text you provide in the composer. In your case, you can insert the value of pre-filled message from your URL query parameter.

 

Intercom('showNewMessage', 'pre-populated message comes here');

 

Hope this helps!

 


Thanks! That’s helpful! 


Reply