Answered

[Android] Is it possible to launch a custom bot directly from a button ?

  • 25 January 2021
  • 2 replies
  • 44 views

Hi,

I wish to have a user interact with a specific intercom bot directly by clicking on a button.

Is that possible?

 

I am aware that we can launch Intercom from a custom button using

 

```

Intercom.client().displayMessenger();

```

This opens up the default messenger window based on the conditions mentioned in the docs (https://developers.intercom.com/installing-intercom/docs/android-configuration#section-create-a-custom-launcher

 

However, I wish to always open up a single custom bot whenever the user clicks on the button regardless of any other conditions.

 

Is that possible ?

icon

Best answer by Keerthi 26 January 2021, 12:28

View original

2 replies

Badge +3

I believe this can be handled through intercom itself. You just need to send the event when the button is clicked to Intercom. Then, this event can be used in the rules for the custom bot through Intercom

what kind of event do you send to intercom when the button is clicked?

Reply