Testing Workflows
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.
Validate changes
Click on the Validate button to sanity check the designed Workflows for any rudimentary errors.
Quick-action buttons
Node testing
Click on the test button for individual nodes to unit test them.
Click on "Play" to test the node.
End-to-End Unit Testing
Click on the Test button to run an end-to-end unit test on the workflow without publishing it.
Click to start test.

Provide the input parameters and test published/draft versions.

Explore execution output and debugging data.
Stop testing to continue editing.
Workflow Error Visualization
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.
Application testing (AI Lens)
You can simulate user queries in AI Lens. 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.
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.
AI Lens features
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.
Best Practices
Test for infinite loops Test for infinite loops when workflows are configured for "Go Back" or use "Goto" nodes.
Last updated