https://discord.gg/botpress logo
@000Bo is there any examples of doing
# 💻developers
e
@wooden-beard-40210 is there any examples of doing this?
w
and use the event 'TRIGGER'
Copy code
window.botpressWebChat.onEvent(
  (event) => {
    if (event.type === 'TRIGGER') {
      
    }
  },
  ['TRIGGER']
)
and you can get the action with event.value