acceptable-kangaroo-64719
08/03/2023, 11:59 AMjs
window.botpressWebChat.sendPayload({ type:'text', text:"This is what the user sees", payload:{
url: window.location.href;
}
})
});
And then in your bot, add an execute code card with workflow.url = event.payload.payload.url