# AutoReview - VS Code Extension

The VS code extension allows you to extract key information from any open definition.json flow files.

### Open File

The extenion requires a open json file. First export your solution as a zip. Extract the zip file and navigate to the workflows folder.

<figure><img src="/files/4EMLOglJ0JdydUeprrgq" alt="" width="563"><figcaption></figcaption></figure>

Open any flow JSON Source File with VS Code. Press ctrl+p to open the command palette.

<figure><img src="/files/tQTJfityvOonmIayQiMF" alt="" width="563"><figcaption></figcaption></figure>

### Commands

**Flow Details:** Opens up a quick popup message in the bottom right with number of actions, trigger type, and if it is premium

<figure><img src="/files/QsLeAWukCOIumnwBPKWk" alt="" width="549"><figcaption></figcaption></figure>

**Flow Review:** Opens to json file with all of the flow details (schema: [Data JSON](/autoreview/data-json.md))

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

{% hint style="info" %}
The VS Code data json has an additional field:  **environmentCount.** This shows the number of environment variables in the avtion, useful for SharePoint actions to ensure both site and list are envirnoment variables.
{% endhint %}

**Flow Actions:** Json array of all actions within the flow.

<figure><img src="/files/f8Lsl9S2eDySzrZRewoz" alt="" width="563"><figcaption></figcaption></figure>

**Flow Connections:** Json array of all connections within the flow.

<figure><img src="/files/I5AdH473kmc7mmIPCtuJ" alt="" width="563"><figcaption></figcaption></figure>

**Flow Diagram:** Svg diagram of the flow.

<figure><img src="/files/AGzPh1RBhKNbFCtvR8uk" alt="" width="563"><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.powerdevbox.com/autoreview/autoreview-vs-code-extension.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.
