Hello. I am trying to understand how i can build a JSON object using the data from the various dialog intents?. Should i use a script task to create a JSON object?. Does kore.AI even support such a functionality or usecase?
It is possible to pass JSON object to an external API using Kore.ai platform.
- Store the information collected across various dialog tasks in session variables, preferably BotUserSession
- If the information collected is not in JSON format, you may use a script node to retrieve the session variables and build the required JSON object as a variable
- Use a Service Node to call the external API and pass the JSON object variable
You may refer here for more information on how to store and retrive information from session: