Hello Friends.
I am new in kore ai.
Here I have question how to access REST api response.
Here I have added my dialog task screen hot. What I try to do?
I need to send message to user using message node. So I try to access “phone,body” parameter from API response but not success and bot finally give me error.
So please help me. How I can resolve my problem?
Thanks.
Hello @divyesh.trambadia ,
Welcome to Kore Community
The response of the service not is saved in the context object. To retrieve the information, you should use
context.<node name>.response.body.<object name>
For your usecase, pone will be obtained using- context.wscall.response.body.phone
The following documentation should be helpful:
The Context object is the container object that persists data for dialog execution and across all intents i.e. dialog tasks, action, alert & info tasks, and FAQs.
Thank you for stopping by!!