# How to test each step in the Flow?

Testing each step in the Flow involves validating each component’s functionality to ensure it operates as expected. Once a component is tested, you will be provided with sample data. The generated sample data can then be used to validate and refine subsequent steps, contributing to the overall development and reliability of your Flow application.

Here is how to test each step:

1. Select the component you wish to test. In this case, we are selecting the second component of the Flow, labeled as ‘Ask LLM’.

<figure><img src="/files/MX3pgSar82Ztf4QeOtRA" alt=""><figcaption></figcaption></figure>

2. Click the play button located at the top right corner of the side screen.

<figure><img src="/files/tfWMc6J3ZNlXDaBRpESu" alt=""><figcaption></figcaption></figure>

3. Next, on the 'Generate Sample Data' screen that appears, click the ‘Test step’ button.

<figure><img src="/files/7La31BnFCF0BRbE0D5af" alt=""><figcaption></figcaption></figure>

4. The sample data will be generated successfully. Repeat the same step to test each component.

<figure><img src="/files/mwcpPWAD2xbT6Z903i82" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.zbrain.ai/zbrain-documentation/zbrain-builder/flows/how-to-test-each-step-in-the-flow.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
