Advanced Request
Last updated
Last updated
The Advanced Request allows you to test specific cases in a targeted way, similar to tools like Postman and Insomnia. This function is particularly useful for executing customized requests that require detailed inputs, headers, and responses, supporting efficient troubleshooting of complex scenarios.
To do so, open dialog simulator and then click on the Advanced Request
icon (code symbol) in the input box.
The advanced request has some predefined fields to execute the task, but you can add new Header and Value pairs according to your needs. You can add up to 7 Header + Value pairs in total, including those already in place.
Define key headers and their respective values for the request.
For more information on headers and which ones are mandatory, check the Conversation API documentation .
If the optional Header + Value pair is not filled, it will be ignored in the execution, even if one of the fields in the pair is filled.
A default structure is presented to guide you in. This default is not executable as-is; you must complete it with valid JSON.
The fields to execute an Advanced Request are
Text (user input)
Code (Answer name, Flow name, Welcome message)
Context (variables)
You can add new fields if needed.
For more information on the Request Body check the Conversation API documentation.
The default structure changes based on whether the user execute Welcome Flow or not:
Executing Welcome Flow:
NOT executing the Welcome Flow:
When adding a field for Intents, keep in mind that you'll have to also mention the confidence score.
Once the advanced request is processed, the response body will show the output for analysis.
For more information on Response Body, check the Conversation API documentation.