Skip to main content
Answered

Can I trigger a custombot on click on a button directly from react?

  • December 24, 2021
  • 3 replies
  • 240 views

Can I trigger a custombot on click on a button directly from react?

Best answer by Aparna

Hey @user2150​! Just so I am on the same page as you, is it mobile app or website? If it is mobile app then it is not possible to trigger bot from a button.

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

3 replies

  • Employee
  • 328 replies
  • Answer
  • December 26, 2021

Hey @user2150​! Just so I am on the same page as you, is it mobile app or website? If it is mobile app then it is not possible to trigger bot from a button.


  • Author
  • New Participant
  • 2 replies
  • January 3, 2022

Both

For example On https://sidehide.com/app for example they have a question mark that open Intercom Bot I want to reproduce that on my mobile App.

But I would also like to do this in my web APP without necessarily use the system provided in the Intercom Admin Dashboard where it asks me the link of my website and then ask to click on the place/button that should trigger the bot.

 

Is it possible to code this directly in React JS?


Milan
Expert User ✨
Forum|alt.badge.img+5
  • Top Expert
  • 306 replies
  • January 5, 2022

Hi @user2150​ your devs should setup a button on your mobile app that will trigger a javascript command Intercom('showNewMessage'); which results in starting a new conversation in Intercom and then have a custom bot triggered by a new conversation.


Reply


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