Open chatbot on event

How do I open the chatbot when it reaches a particular URL automatically?
Suppose I visit, localhost:3001/contactus, it should automatically open the chatbot.

Hey @trishantpahwa !

To open the chatbot window, you can use window.botpressWebChat.sendEvent({ type: 'show' }). See example here.

In order to detect if you are on the /contactus page, you can use the strategy describe here.

Hope this helps!