title: botpress to open chat in new window using javascript
body: <p>I am making a chat-bot using bot-press. If the user enters keyword "google" I want it to open in new tab. I have tried following code but it gives error.</p>
  
  <p>if(event.text.includes('google')){ window.open('<a href="https://www.google.com/search?q=" rel="nofollow noreferrer">https://www.google.com/search?q=</a>' + event.text )   }</p>
  
  <p>I get this error :- window is not defined</p>
  
  <p>Is it possible?</p>