> For the complete documentation index, see [llms.txt](https://docs.powerdevbox.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.powerdevbox.com/autoreview/autoreview-vs-code-extension.md).

# 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="https://587669603-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4lWqApvE0FgYB0xwkqLD%2Fuploads%2FuvrsLRa8qe0XVon5INDc%2Fimage.png?alt=media&amp;token=b778cb3c-3ad3-4ca8-b3ec-8ed012f4f978" 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="https://587669603-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4lWqApvE0FgYB0xwkqLD%2Fuploads%2FdtNFmQdAjAtMSua8rX44%2Fimage.png?alt=media&amp;token=be333be7-8adf-4919-8c6b-5e6070ef44c2" 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="https://587669603-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4lWqApvE0FgYB0xwkqLD%2Fuploads%2FdeWU9uK1GaI1BNGaURUC%2Fimage.png?alt=media&amp;token=e7d0de25-b837-4614-b365-922ea2d425ea" 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="https://587669603-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4lWqApvE0FgYB0xwkqLD%2Fuploads%2FCxBTPQdCbB9h7d32jggv%2Fimage.png?alt=media&amp;token=1c37bc58-0e6f-4b61-8591-e24315994299" 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="https://587669603-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4lWqApvE0FgYB0xwkqLD%2Fuploads%2FQGJoSXGBlVVzvsELCAKt%2Fimage.png?alt=media&amp;token=c47150a5-bf23-497a-a15b-4dc56b39984b" alt="" width="563"><figcaption></figcaption></figure>

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

<figure><img src="https://587669603-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4lWqApvE0FgYB0xwkqLD%2Fuploads%2FVNCyjfeDQ4mjWB8ysnQE%2Fimage.png?alt=media&amp;token=b407ba7e-1ce9-4330-9c37-28609d4eef11" alt="" width="563"><figcaption></figcaption></figure>

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

<figure><img src="https://587669603-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4lWqApvE0FgYB0xwkqLD%2Fuploads%2FY7HdQPCVyDRfy8fXEkf5%2Fimage.png?alt=media&amp;token=da96131c-dc19-4f63-adb9-43144a7e6d7e" alt="" width="563"><figcaption></figcaption></figure>
