Unable to access the custom payload value in botbuilder tasks

Hi Team ,

We are trying to pass the user email in index.html botoptions.info in customData . The same we could able to access in botbuilder. using the {{context.session.BotUserSession.lastMessage.messagePayload.botInfo.customData.email}} .

However we are unable to use this in service call URL’s. Could you please assist us.

We have even tried this link : How to use customData from web SDK at fields of Simple Tasks - Alerts , Actions or Information tasks

Hi @dushyantk2,

We have responded to Arul from your team through ticket as below:

We have tested this scenario at our end and it’s working as expected.

We have used the webhook. site API for the testing and we could the customData can be read from the context and updated with the corresponding values. Please find the attached screenshots for the reference.
image1 image2 image3

You can see the updated API details, URL that we have used in the Service node and Custom data that we have passed in the WebSDK.

As communicated before, please use the datapath as below.

context.session.BotUserSession.lastMessage.messagePayload.botinfo.customData.

Let us know if you need any further clarification.

Regards,
Yoga Ramya.