Hello Community,
We are thrilled to announce an enhancement to the web request step in the JSM Virtual Service Agent. You can now store the response of an API call in a variable and use it in subsequent steps within your conversation flow. This improvement allows you to create more dynamic and responsive interactions with help-seekers.
Response storage: Capture the API response in a variable, allowing you to access the status code, headers, and body content for use in later steps.
Enhanced flow control: Use the stored response to tailor the conversation flow based on specific conditions, such as status codes or response content.
Improved user experience: Provide personalized feedback or actions based on the API response, enhancing the overall user interaction.
Create a ‘Send web request’ step: Add a ‘Send web request' step to your conversation flow.
Configure the request: Set up the HTTP method, URL, headers, and body as needed.
Store the response: Define a response variable to capture the API response. This variable can be referenced in subsequent steps to access specific data like status codes or JSON properties.
Utilize the response: Use the response variable in conditions or messages to dynamically adjust the conversation flow.
For detailed instructions on setting up and using this feature, you can read more about the 'Send web request’ step, or find out how to create a conversation flow.
We believe this enhancement will significantly improve your ability to create sophisticated and responsive interactions. We look forward to seeing how you leverage this new capability!
If you have feedback on this feature or the VSA in general, we'd love to hear from you. Please schedule some time to chat with us.
Best regards,
The JSM Virtual Service Agent Team