VA API Response formatting

arpitha
Tera Expert

Hi,

I am using VA API to connect with another bot, I am receiving a successful response. as async response where those responses are stored in ServiceNow and from where the "VA Bot to Bot" Rest message is called. I need to format the response sent to the primary bot  as below, Can someone help me how to achieve this 

 

{
"answer": "{\"answer\":\"Welcome to XYZ, how can I help?\",\"instructions\":{}}",
"matchedContext": "",
"conversationPayload": "{}"
}

 

Thanks In advance 

Arpitha

0 REPLIES 0