Del via


AutoReview (Preview)

Auto Code Review your flows. Use My flow action or workflows table to export your flows key information as json, or the following files: Review - Code Review of flow, with score, errors and warnings. Report - All variables, actions and connections. Diagram - Visual representation of the flow.

This connector is available in the following products and regions:

Service Class Regions
Logic Apps Standard All Logic Apps regions except the following:
     -   Azure Government regions
     -   Azure China regions
     -   US Department of Defense (DoD)
Power Automate Premium All Power Automate regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Power Apps Premium All Power Apps regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Contact
Name Power DevBox Support
URL https://powerdevbox.com/contact.html
Email info@powerdevbox.com
Connector Metadata
Publisher Power DevBox
Website https://powerdevbox.com/
Privacy policy https://powerdevbox.com/privacy.html
Categories Productivity;IT Operations

AutoReview

Creates automatic code review for your Power Automate flows. A Review document scores your flow to configurable metrics. A Report returns the flow information and a Diagram file creates a visual representation of the flow.

Publisher

Power DevBox

Prerequisites

A Power Automate license and a compliant DLP policy (access to Power Automate Managment Connectors or Dataverse Connectors)

Supported Operations

Info

Returns latest information on the connector, including version and key links. Find more information on the connector here.

JSON

Returns the AutoReview review in a json format

File

Returns a file of either the flow Review, Report, or Diagram

Obtaining Credentials

A api key is required, available to request here

Getting Started

Use either 'Get Flow' action or Dataverse 'Get Row by ID' action to return a flows definition/clientData values. Pass these values and other metadata into the AutoReview Connector.

Known Issues and Limitations

The Dataverse connector requires the definition input to be the clientData inside a json expression json(outputs('Get_a_row_by_ID')?['body/clientdata'])

Creating a connection

The connector supports the following authentication types:

Default Parameters for creating connection. All regions Not shareable

Default

Applicable: All regions

Parameters for creating connection.

This is not shareable connection. If the power app is shared with another user, another user will be prompted to create new connection explicitly.

Name Type Description Required
Key securestring The Key for this api True

Throttling Limits

Name Calls Renewal Period
API calls per connection 100 60 seconds

Actions

AutoReview HTTP

Raw AutoReview data

Diagram (V2)

Returns image of the flow

Files (V1)

Returns generated files

Files (V2)

Returns generated files

Info (V2)

Latest information about AutoReview

JSON (V2)

Returns raw AutoReview data as a json

AutoReview HTTP

Raw AutoReview data

Parameters

Name Key Required Type Description
Path
path string

v2/autoreview

Returns

Diagram (V2)

Returns image of the flow

Parameters

Name Key Required Type Description
Display Name
displayName True string

Name of flow

Flow ID
name True string

Unique identifier (name/resourceid)

Owner
owner True string

Flow owner

Environment
environment True string

Flow Environment

Returns

Name Path Type Description
image
data.image string

svg content

info
data.info string

Nomnoml.com/ code

Files (V1)

Returns generated files

Parameters

Name Key Required Type Description
Display Name
displayName True string

Name of flow

Flow ID
name True string

Unique identifier (name/resourceid)

Owner
owner True string

Flow owner

Environment
environment True string

Flow environment

Type
type True string

Type of file to return

Complexity
complexity array of string

Configure own complexity scores

Scoring
scoring array of string

Configure own scoring

Returns

Files (V2)

Returns generated files

Parameters

Name Key Required Type Description
Display Name
displayName True string

Name of flow

Flow ID
name True string

Unique identifier (name/resourceid)

Owner
owner True string

Flow owner

Environment
environment True string

Flow environment

Type
type True string

Type of file to return

Complexity
complexity array of string

Configure own complexity scores

Scoring
scoring array of string

Configure own scoring

Returns

Name Path Type Description
file
data.file string

file content

info
data.info string

additional information

Info (V2)

Latest information about AutoReview

Returns

Name Path Type Description
version
version string

version

apiKey
apiKey string

apiKey

message
message string

message

information
information string

information

diagram
diagram string

diagram

JSON (V2)

Returns raw AutoReview data as a json

Parameters

Name Key Required Type Description
Display Name
displayName True string

Name of flow

Flow ID
name True string

Unique identifier (name/resourceid)

Owner
owner True string

Flow owner

Environment
environment True string

Flow environment

complexity
complexity array of string

Configure own complexity scores

Scoring
scoring array of string

Configure own scoring

Returns

Name Path Type Description
name
data.name string

Flow display name

id
data.id string

Flow resorurce Id or workflowsid

environment
data.environment string

Environment

owner
data.owner string

Email of owner

trigger
data.trigger string

Trigger name

triggerParam
data.triggerParam string

Stringifed JSON of parameters

triggerData
data.triggerData string

Stringifed JSON of key info

triggerConfig
data.triggerConfig string

Stringifed JSON of settings

triggerExpress
data.triggerExpress string

Any trigger conditions

triggerInputs
data.triggerInputs string

Any trigger inputs

triggerRecur
data.triggerRecur string

Trigger schedule (if applic)

premium
data.premium boolean

Uses premium connectors

connectionRefs
data.connectionRefs integer

Count of Connection References

connectors
data.connectors integer

Count of api actions

steps
data.steps integer

Count of all actions

variables
data.variables integer

Count of variables

complexity
data.complexity integer

Complexity score

varNaming
data.varNaming boolean

All Vars follow naming convention

varNameConsts
data.varNameConsts boolean

All vars follow const convention

varNameUse
data.varNameUse boolean

All vars used

composes
data.composes integer

Count of composes

exception
data.exception integer

Count of exception actions

exceptionHandleScope
data.exceptionHandleScope boolean

Exception scope used

exceptionScope
data.exceptionScope boolean

Exception scope named Exception

exceptionTerminate
data.exceptionTerminate boolean

Terminate in exception block

exceptionLink
data.exceptionLink boolean

Exception expression link used

mainScope
data.mainScope boolean

Scope named Main

variableArray
data.variableArray array of object

Array of variables

name
data.variableArray.name string

Variable name

type
data.variableArray.type string

Type of variable

value
data.variableArray.value string

Initialised Value

used
data.variableArray.used boolean

Is the variable used

named
data.variableArray.named boolean

Var follow naming convention

actionArray
data.actionArray array of object

Actions in an array

name
data.actionArray.name string

Action display name

step
data.actionArray.step string

Action Name

type
data.actionArray.type string

Action Type

id
data.actionArray.id string

Action ID

hashId
data.actionArray.hashId string

Unique reference for flow

tier
data.actionArray.tier string

Premium or Standard

connector
data.actionArray.connector string

Connection group

imgURL
data.actionArray.imgURL string

Icon url

runAfter
data.actionArray.runAfter string

Run after action and method

exception
data.actionArray.exception string

RunAfter include Failed

index
data.actionArray.index integer

Order action processed

complexity
data.actionArray.complexity integer

Complexity score

detail
data.actionArray.detail string

Stringified json of inputs

filter
data.actionArray.filter string

Get Items filter parameter

pagination
data.actionArray.pagination string

Get Items pagination threshold

secure
data.actionArray.secure string

Secure properties

retry
data.actionArray.retry string

Retry type

timeout
data.actionArray.timeout string

Timeout time

position
data.actionArray.position string

What the action runs after

positionInfo
data.actionArray.positionInfo string

Inside a container

environmentVariables
data.actionArray.environmentVariables string

Environment vars in action

environmentB
data.actionArray.environmentB boolean

Contains environment variable

notes
data.actionArray.notes string

Action notes

parent
data.actionArray.parent string

Name of parent container

branch
data.actionArray.branch string

Branching name

positionIndex
data.actionArray.positionIndex string

Index of parent container

positionType
data.actionArray.positionType string

Parent Runs after type

nested
data.actionArray.nested string

Levels of nesting

apiActionArray
data.apiActionArray array of object

API type actions

name
data.apiActionArray.name string

API Action display name

step
data.apiActionArray.step string

API Action name

type
data.apiActionArray.type string

API Action type

id
data.apiActionArray.id string

API Action ID

hashId
data.apiActionArray.hashId string

Unique action id

tier
data.apiActionArray.tier string

API Premium or Standard

connector
data.apiActionArray.connector string

API Connection group

imgURL
data.apiActionArray.imgURL string

API Icon url

runAfter
data.apiActionArray.runAfter string

API RunAfter action and method

exception
data.apiActionArray.exception string

API RunAfter include Failed

index
data.apiActionArray.index integer

API Order action processed

complexity
data.apiActionArray.complexity integer

API Complexity score

detail
data.apiActionArray.detail string

API Stringified json of inputs

filter
data.apiActionArray.filter string

API Get Items filter parameter

pagination
data.apiActionArray.pagination string

API Get Items pagina threshold

secure
data.apiActionArray.secure string

API Secure properties

retry
data.apiActionArray.retry string

API Retry type

timeout
data.apiActionArray.timeout string

API Timeout time

position
data.apiActionArray.position string

API What the action runs after

positionInfo
data.apiActionArray.positionInfo string

API Inside a container

environmentVariables
data.apiActionArray.environmentVariables string

API Environment vars in action

environmentB
data.apiActionArray.environmentB boolean

API Contains environment var

notes
data.apiActionArray.notes string

API Action notes

parent
data.apiActionArray.parent string

API Name of parent container

branch
data.apiActionArray.branch string

API branching name

positionIndex
data.apiActionArray.positionIndex string

API Index of parent container

positionType
data.apiActionArray.positionType string

API Parent Runs after type

nested
data.apiActionArray.nested string

API Levels of nesting

exceptionArray
data.exceptionArray array of object

Array of runAfter failed

name
data.exceptionArray.name string

Exept Action display name

step
data.exceptionArray.step string

Exept Action name

type
data.exceptionArray.type string

Exept Action type

id
data.exceptionArray.id string

Exept Action ID

hashId
data.exceptionArray.hashId string

Exept As action id not unique

tier
data.exceptionArray.tier string

Exept Premium or Standard

connector
data.exceptionArray.connector string

Exept Connection group

imgURL
data.exceptionArray.imgURL string

Exept Icon url

runAfter
data.exceptionArray.runAfter string

Exept RunAfter action and method

exception
data.exceptionArray.exception string

Exept RunAfter include Failed

index
data.exceptionArray.index integer

Exept Order action processed

complexity
data.exceptionArray.complexity integer

Exept Complexity score

detail
data.exceptionArray.detail string

Exept Stringified json of inputs

filter
data.exceptionArray.filter string

Exept Get Items filter parameter

pagination
data.exceptionArray.pagination string

Exept Get Items pagin threshold

secure
data.exceptionArray.secure string

Exept Secure properties

retry
data.exceptionArray.retry string

API Retry type

timeout
data.exceptionArray.timeout string

Exept Timeout time

position
data.exceptionArray.position string

Exept What the action runs after

positionInfo
data.exceptionArray.positionInfo string

Exept Inside a container

environmentVariables
data.exceptionArray.environmentVariables string

Exept Environment vars in action

environmentB
data.exceptionArray.environmentB boolean

Exept Contains environment var

notes
data.exceptionArray.notes string

API Action notes

parent
data.exceptionArray.parent string

Exept Name of parent container

branch
data.exceptionArray.branch string

Exept branching name

positionIndex
data.exceptionArray.positionIndex string

Exept Index of parent container

positionType
data.exceptionArray.positionType string

Exept Parent Runs after type

nested
data.exceptionArray.nested string

Exept Levels of nesting

connectionArray
data.connectionArray array of object

Connection references

conName
data.connectionArray.conName string

Connection name

appId
data.connectionArray.appId string

Connection id url

opId
data.connectionArray.opId string

Connection type

count
data.connectionArray.count integer

Count of connection usage

error
data.error string

error

actionObjectArray
data.actionObjectArray array of object

All actions

step
data.actionObjectArray.step string

Obj Action Name

connector
data.actionObjectArray.connector string

connector

name
data.actionObjectArray.name string

Obj Action display name

id
data.actionObjectArray.id string

Obj Acition ID

hashId
data.actionObjectArray.hashId string

Obj As action id not unique

object
data.actionObjectArray.object string

Obj Stringified json action

type
data.actionObjectArray.type string

Obj Action type

index
data.actionObjectArray.index integer

Obj Order action processed

parent
data.actionObjectArray.parent string

Obj Name of parent container