Are you using (to send data to the bot) window.botpress.sendEvent ?
gentle-policeman-89141
12/12/2025, 8:39 AM
when you use window.botpress.sendEvent you send a json object to the bot. what I always do is send a root level "type" field. Then you can store the data in several ways. 1) after incoming hook.
Copy code
if (event?.payload?.payload?.type === 'your-event-type') {
workflow.yourVariable = (extract data from payload)
}