# Edit Workflow JSON

In addition to building workflows in the visual editor, a workflow can be configured in JSON for advanced control.

If you are working with a recently released or custom block, you may need to use the JSON Editor to fully configure it. This is an advanced feature, we recommend using the visual editor for most cases.

To use the JSON editor, click on the left sidebar of the Workflow editor with the arrow pointing right. A window will appear in which you can edit the JSON of a Workflow:

<figure><img src="https://662926385-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M6S9nPJhEX9FYH6clfW%2Fuploads%2Fgit-blob-67f8a6929c878bf547af2775c6ea1b6fbdc065e6%2FCleanShot%202025-01-29%20at%2022.05.54%402x.png?alt=media" alt=""><figcaption><p>Using the JSON Editor</p></figcaption></figure>

The JSON Editor consists of three core components: the workflow inputs, steps, and outputs. Each of the input definitions corresponds to a workflow input, the steps to the workflow blocks, and the outputs to the fields returned by the workflow.

Reference our Inference documentation to learn more about the [workflows schema](https://inference.roboflow.com/workflows/definitions/) and how to [configure individual blocks](https://inference.roboflow.com/workflows/blocks/).


---

# 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/json-editor.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.
