Forum Discussion

Ujjawal23's avatar
Ujjawal23
Copper Contributor
Nov 06, 2023

Getting Response Body

Hi,

I am trying to use the contents of a http response body in my conversation flow. In the data connection element of the health bot, the response variable is named as 'res'. The process is like the data connection element connects to a logic app where user's credentials are verified and then a welcome message with user's name is displayed ("welcome {Firstname}"). I can see the message in logic apps's response body but how do i access this in my bot?

  • Hi Ujjawal23 

    The response variable that you named 'res' is a property of the scenario object, and can be accessed by scenario.res.

     

Resources