---
title: "Workflow"
icon: "arrow-progress"
---

The Variable Inspector shows you all the data flowing through your workflow. It captures inputs and outputs from each node after they run, so you can see what's happening and test different scenarios.

![](https://assets-docs.dify.ai/2025/06/38f26d7339f64abfdfb6955b1c34f4ae.png)

## Viewing variables

After any node runs, its output variables appear in the inspector panel at the bottom of the screen. Click any variable to see its full content.

![](https://assets-docs.dify.ai/2025/06/94a4741c25204db5fd1281ec475093d9.png)

## Editing variables

You can edit most variable values by clicking on them. When you run downstream nodes, they'll use your edited values instead of the original ones. This lets you test different scenarios without re-running the entire workflow.

<Info>
Editing variables here doesn't change the "Last run" record for the node that originally created them.
</Info>

For example, if an LLM node generates SQL like `SELECT * FROM users`, you can edit it to `SELECT username FROM users` in the inspector and then re-run just the database node to see different results.

![](https://assets-docs.dify.ai/2025/06/fb8c49fc0c8c63866f1a9379e8752d9e.png)

## Resetting variables

Click the revert icon next to any variable to restore its original value, or click "Reset all" to clear all cached variables at once.

![](https://assets-docs.dify.ai/2025/06/b713290543a0feb95ecab65336e97483.png)