Inspector
Inspector shows the structure of your data at one point in the workflow and passes it on to the next node.
Screenshot placeholder
When to use it
Use it to check what a step really produced, without stopping the run. The palette describes it as "Inspect data structure".
Settings
| Field | What it does | Notes |
|---|---|---|
| Inspect path | Which data to look at | A Jinja2 expression. Default {{ output }} |
| Display format | How the data is shown | JSON (pretty-printed) (default), YAML, Table (arrays) or Raw |
| Max depth | How many levels of nesting to show | 1 to 10. Default 5 |
| Output key | Key the data is passed on under | Default inspected. Hint: inspected data is passed through to downstream nodes under this key |
Inputs and outputs
- One input at the top and one output at the bottom.
- The data is passed through to the next nodes under the Output key.
Example
Illustrative. After a lookup that returns a list of customers, set Display format to Table (arrays) to read the list as rows.
Tips
- Choose Table (arrays) for lists and JSON for nested data.
- Lower Max depth if the data is deep and hard to read.
- To stop the run while you look, use Breakpoint.