Cannot read properties of undefined (reading 'payl...
# 🤝help
g
I'm attempting to send a custom trigger and since the update I can no longer see the events coming in... We used to have an events button. I've attached the layout as a ss and the code I'm calling to trigger this is
Copy code
document.getElementById('showAndTrigger').addEventListener('click', function() {
             console.log("showing bot...")
             window.botpressWebChat.sendEvent({ type: "show" })
                     window.botpressWebChat.sendEvent({ type: 'trigger', payload: {flow:"llm"} })
                     console.log("triggering bot...")
             });
based on the jsfiddle for triggering events. Any help would be appreciated, we basically want to set a var that controls the initial conversation routing

https://cdn.discordapp.com/attachments/1138586256528384151/1138586256725512303/image.png

e
I am getting a similar issue in making a GET request to an api
g
We found this to be a bug. One of our devs that had beta access can see the necessary things but we can't.
63 Views