# Preview a Workflow

You can preview a workflow in the Roboflow Workflows editor.

To preview a Workflow, click the "Run Preview" button at the top of the Workflow editor:

<figure><img src="/files/cR2KXusi2ibGVsM6Sh86" alt=""><figcaption><p>Click "Run Preview" to preview a Workflow.</p></figcaption></figure>

The Preview Workflow interface will appear in which you can test your workflow in the browser.

The interface has two panels:

1. Input, in which you can provide the inputs your Workflow requires, and;
2. Output, in which you can see the output of your Workflow on the provided inputs.

For example, here is the Preview Workflow interface for a workflow that accepts a single image:

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

All Workflows will return a JSON payload. If your Workflow contains an image output (i.e. a Workflow that uses a Visualization block to show the results from a model), you can preview the images, too.

The JSON payload will open by default.

Here is an example of a JSON payload:

<figure><img src="/files/B6LxiVwJTsJuEakC6OlV" alt=""><figcaption><p>The JSON output from a Workflow.</p></figcaption></figure>

If your Workflow returns an image, you can click "Show Visual" to show the output from the Workflow:

<figure><img src="/files/eNJ43NRBQI8Ww8joHegA" alt=""><figcaption><p>The output from a model that uses a bounding box visualization block.</p></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.roboflow.com/workflows/preview-a-workflow.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.
