Using custom data in welcome message


Can i use the customData coming from index.html to show in welcome message ?

Welcome {{context.session.BotUserSession.lastMessage.messagePayload.botInfo.customData.userName}} to the API Marketplace Assistant. How may I help you today?

I am trying to use it like below but it doesnt seem to be working. I plan to use other info like userEmail down the line in a service Node to a call, will I be able to use it like this only or if there’s any easier way. = {{context.session.BotUserSession.lastMessage.messagePayload.botInfo.customData.userEmail}}


@janak.jay , This information should be available under UserContext. Could you please access it from there?


1 Like

Thanks, This worked and i am using same way for service node.

Great, let us know if you need any further assistance.