wooden-parrot-76912
10/23/2025, 1:53 PMwhite-nest-40686
10/23/2025, 1:59 PM{user_id}?
or check this https://www.botpress.com/docs/webchat/interact/send-user-data#update-user-datawide-umbrella-5226
10/23/2025, 2:00 PMwide-umbrella-5226
10/23/2025, 2:00 PMwide-umbrella-5226
10/23/2025, 2:00 PMwhite-nest-40686
10/23/2025, 2:10 PMwhite-nest-40686
10/23/2025, 2:11 PMworkflow.webchatUserData pay attention that the key=value you pass are in workflow.webchatUserData.userDatawhite-nest-40686
10/23/2025, 2:15 PMjs
window.botpress.on('webchat:initialized', () => {
console.log('Webchat has been initialized. Loading user...');
window.botpress.updateUser({
data: {
firstName: newFirstName,
lastName: newLastName,
email: newEmail,
},
})
});
if you save in workflow.webchatUserData you read key values:
workflow.webchatUserData.userData.firstName
workflow.webchatUserData.userData.lastName
workflow.webchatUserData.userData.emailwooden-parrot-76912
10/23/2025, 2:32 PMwooden-parrot-76912
10/23/2025, 2:32 PMwooden-parrot-76912
10/23/2025, 2:35 PMwooden-parrot-76912
10/23/2025, 2:42 PMwooden-parrot-76912
10/23/2025, 2:48 PMwide-umbrella-5226
10/23/2025, 2:53 PMwide-umbrella-5226
10/23/2025, 2:53 PMwide-umbrella-5226
10/23/2025, 2:53 PMwooden-parrot-76912
10/23/2025, 2:55 PMwooden-parrot-76912
10/23/2025, 2:56 PMwide-umbrella-5226
10/23/2025, 2:56 PMwide-umbrella-5226
10/23/2025, 2:56 PMwide-umbrella-5226
10/23/2025, 2:56 PMwide-umbrella-5226
10/23/2025, 2:57 PMwide-umbrella-5226
10/23/2025, 2:58 PMwooden-parrot-76912
10/23/2025, 2:58 PMwooden-parrot-76912
10/23/2025, 2:59 PMwooden-parrot-76912
10/23/2025, 2:59 PMwooden-parrot-76912
10/23/2025, 3:02 PMwide-umbrella-5226
10/23/2025, 3:02 PMwide-umbrella-5226
10/23/2025, 3:02 PMwide-umbrella-5226
10/23/2025, 3:04 PMwide-umbrella-5226
10/23/2025, 3:04 PMwooden-parrot-76912
10/23/2025, 3:07 PMwooden-parrot-76912
10/23/2025, 3:07 PMwhite-nest-40686
10/23/2025, 3:07 PMGet User Data is for webchat onlywide-umbrella-5226
10/23/2025, 3:08 PMwide-umbrella-5226
10/23/2025, 3:08 PMwooden-parrot-76912
10/23/2025, 3:08 PMwide-umbrella-5226
10/23/2025, 3:08 PMwooden-parrot-76912
10/23/2025, 3:08 PMwide-umbrella-5226
10/23/2025, 3:08 PMwide-umbrella-5226
10/23/2025, 3:08 PMwide-umbrella-5226
10/23/2025, 3:08 PMwide-umbrella-5226
10/23/2025, 3:09 PMwooden-parrot-76912
10/23/2025, 3:09 PMwide-umbrella-5226
10/23/2025, 3:09 PMwide-umbrella-5226
10/23/2025, 3:09 PMwooden-parrot-76912
10/23/2025, 3:10 PMwide-umbrella-5226
10/23/2025, 3:10 PMwide-umbrella-5226
10/23/2025, 3:10 PMwide-umbrella-5226
10/23/2025, 3:10 PMwide-umbrella-5226
10/23/2025, 3:10 PMwooden-parrot-76912
10/23/2025, 5:57 PMwide-umbrella-5226
10/23/2025, 5:58 PMwide-umbrella-5226
10/23/2025, 5:58 PMwide-umbrella-5226
10/23/2025, 5:58 PMwooden-parrot-76912
10/23/2025, 6:00 PMwooden-parrot-76912
10/23/2025, 6:00 PMwide-umbrella-5226
10/27/2025, 4:40 PM