Botpress event Trigger

hey , i am integrating botpress with my webisite. i have a contact us page on my website(React).
i want my bot to navigate to contact us view when i navigate to that page on my website. something like event triggering, how can i get it?

Hey @robinrao !

I’m not sure what you mean by making your bot “navigate to contact us view”. Can you provide more details on what you are trying to achieve?

You can communicate with your chatbot from your host page (your React website) using the window.botpressWebChat.sendEvent() function. You can see some examples here.