Testing Workflows
Last updated
Was this helpful?
After you have created your workflow, you can Validate the workflow, Test the Node, perform an End-to-End Unit Test before you Publish it, and finally test it in your application or bot.
NOTE: The Workflow and Hyperflow Test buttons only work with applications/bot that are associated with Webchat or Chatbot channels.
Click on the Validate button to sanity check the designed Workflows for any rudimentary errors.
Click on the Test button for individual nodes to unit test them.
Click on "Play" to test the node.
Click on the Test button to run an end-to-end unit test on the workflow without publishing it.
Provide the input parameters and test published/draft versions.
Explore execution output and debugging data.
Stop testing to continue editing.
When you are testing your workflow, in the AI Workflow Studio, error messages now show up in a red box, and the related node with the error has a black outline.
You can simulate user queries in AI Lens for Webchat or Copilot applications/bots.
The right panel displays the model confidence score and other model insights, under the ‘show more’ option. If any new phrases are added to the knowledge or action intents, Administrators need to retrain and publish the AI model in AI Lens with the buttons on the top right before testing the phrases.
You can verify which workflows are triggered and inspect variable extraction and execution details when using AI Lens while running Workflows.
1. Use Settings > AiseraGPT to navigate to the application/bot you want to test.
2. Choose AI Lens from the left menu in the Aisera Admin UI.
3. Ask the application/bot a question.
4. Choose the Show More link to see the flowDebugInfo and flowDebugInfo2 methods as they are running.
Unlike chatbot conversations, AI Lens conversations are not logged because this view is used for the purpose of testing and training the model only.
Below example highlights key features of testing with AI Lens.
Retrain and publish the AI model,
Model insights,
Simulate conversational AI experience.
Here is the user experience of the ‘View tickets’ flow in a webchat. In the following example, the user has selected the Most Recent tickets button and reopened a closed ticket. A notification is automatically sent to the user via an email with the ticket details.
Test for infinite loops Test for infinite loops when workflows are configured for Go Back or use Goto nodes.
Last updated
Was this helpful?
Was this helpful?
