Поділитися через


AutoReview (Preview)

Auto Code Review your flows. Use My flow action or Dataverse workflows table (must json the clientData field). Export either raw json or following export 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

Files

Returns generated files

Information

Latest information about AutoReview

JSON

Returns raw AutoReview data as a json

Files

Returns generated files

Parameters

Name Key Required Type Description
Naming Reference
sReference string

sReference

Naming Char
char integer

char

Naming Type
Type string

Type

Naming Letter
Letter string

Letter

Reference Complexity
sReference string

sReference

Action Name
Name string

Name

Action Value
Complexity integer

Complexity

Referenc Ratings
sReference string

sReference

Complexity Amber Value
complexityAm integer

complexityAm

Complexity Red Value
complexityRe integer

complexityRe

Actions Amber Value
actionsAm integer

actionsAm

Actions Red Value
actionsRe integer

actionsRe

Variables Amber Value
variablesAm integer

variablesAm

Varaibales Red Value
variablesRe integer

variablesRe

Exceptions Amber Value
exceptionsAm integer

exceptionsAm

Exceptions Red Value
exceptionsRe integer

exceptionsRe

Reference Scoring
sReference string

sReference

Scoring Name
Name string

Name

Scoring Value
Score integer

Score

Scoring Note
Note string

Note

Display Name
displayName True string

Name of flow

Flow ID
name True string

Unique identifier (also shown as name/resourceid)

Owner
owner True string

Flow owner

Environment
environment True string

Flow environment

Definition
definitionString True string

Definition

Returns

Name Path Type Description
file
file string

file

data
data string

data

Information

Latest information about AutoReview

Returns

Name Path Type Description
version
version string

version

next version
next version string

next version

apiKey
apiKey string

apiKey

messages
messages array of object

messages

message
messages.message string

message

date
messages.date string

date

JSON

Returns raw AutoReview data as a json

Parameters

Name Key Required Type Description
Naming Reference
sReference string

sReference

Naming Char
char integer

char

Naming Type
Type string

Type

Naming Letter
Letter string

Letter

Reference Complexity
sReference string

sReference

Action Name
Name string

Name

Action Value
Complexity integer

Complexity

Display Name
displayName True string

Name of flow

Flow ID
name True string

Unique identifier (also shown as name/resourceid)

Owner
owner True string

Flow owner

Environment
environment True string

Flow environment

Definition
definitionString True string

Definition

Returns

Name Path Type Description
name
data.name string

name

id
data.id string

id

environment
data.environment string

environment

owner
data.owner string

owner

trigger
data.trigger string

trigger

triggerParam
data.triggerParam string

triggerParam

triggerData
data.triggerData string

triggerData

triggerConfig
data.triggerConfig string

triggerConfig

triggerExpress
data.triggerExpress string

triggerExpress

triggerInputs
data.triggerInputs string

triggerInputs

triggerRecur
data.triggerRecur string

triggerRecur

premium
data.premium boolean

premium

connectionRefs
data.connectionRefs integer

connectionRefs

connectors
data.connectors integer

connectors

steps
data.steps integer

steps

variables
data.variables integer

variables

complexity
data.complexity integer

complexity

varNaming
data.varNaming boolean

varNaming

varNameConsts
data.varNameConsts boolean

varNameConsts

varNameUse
data.varNameUse boolean

varNameUse

composes
data.composes integer

composes

exception
data.exception integer

exception

exceptionHandleScope
data.exceptionHandleScope boolean

exceptionHandleScope

exceptionScope
data.exceptionScope boolean

exceptionScope

exceptionTerminate
data.exceptionTerminate boolean

exceptionTerminate

exceptionLink
data.exceptionLink boolean

exceptionLink

mainScope
data.mainScope boolean

mainScope

variableArray
data.variableArray array of

variableArray

actionArray
data.actionArray array of object

actionArray

name
data.actionArray.name string

name

step
data.actionArray.step string

step

type
data.actionArray.type string

type

id
data.actionArray.id string

id

hashId
data.actionArray.hashId string

hashId

tier
data.actionArray.tier string

tier

connector
data.actionArray.connector string

connector

imgURL
data.actionArray.imgURL string

imgURL

runAfter
data.actionArray.runAfter string

runAfter

exception
data.actionArray.exception string

exception

index
data.actionArray.index integer

index

complexity
data.actionArray.complexity integer

complexity

detail
data.actionArray.detail string

detail

filter
data.actionArray.filter string

filter

pagination
data.actionArray.pagination string

pagination

secure
data.actionArray.secure string

secure

retry
data.actionArray.retry string

retry

timeout
data.actionArray.timeout string

timeout

position
data.actionArray.position string

position

positionInfo
data.actionArray.positionInfo string

positionInfo

environmentVariables
data.actionArray.environmentVariables string

environmentVariables

environmentB
data.actionArray.environmentB boolean

environmentB

notes
data.actionArray.notes string

notes

parent
data.actionArray.parent string

parent

branch
data.actionArray.branch string

branch

positionIndex
data.actionArray.positionIndex string

positionIndex

positionType
data.actionArray.positionType string

positionType

nested
data.actionArray.nested string

nested

apiActionArray
data.apiActionArray array of object

apiActionArray

name
data.apiActionArray.name string

name

step
data.apiActionArray.step string

step

type
data.apiActionArray.type string

type

id
data.apiActionArray.id string

id

hashId
data.apiActionArray.hashId string

hashId

tier
data.apiActionArray.tier string

tier

connector
data.apiActionArray.connector string

connector

imgURL
data.apiActionArray.imgURL string

imgURL

runAfter
data.apiActionArray.runAfter string

runAfter

exception
data.apiActionArray.exception string

exception

index
data.apiActionArray.index integer

index

complexity
data.apiActionArray.complexity integer

complexity

detail
data.apiActionArray.detail string

detail

filter
data.apiActionArray.filter string

filter

pagination
data.apiActionArray.pagination string

pagination

secure
data.apiActionArray.secure string

secure

retry
data.apiActionArray.retry string

retry

timeout
data.apiActionArray.timeout string

timeout

position
data.apiActionArray.position string

position

positionInfo
data.apiActionArray.positionInfo string

positionInfo

environmentVariables
data.apiActionArray.environmentVariables string

environmentVariables

environmentB
data.apiActionArray.environmentB boolean

environmentB

notes
data.apiActionArray.notes string

notes

parent
data.apiActionArray.parent string

parent

branch
data.apiActionArray.branch string

branch

positionIndex
data.apiActionArray.positionIndex string

positionIndex

positionType
data.apiActionArray.positionType string

positionType

nested
data.apiActionArray.nested string

nested

exceptionArray
data.exceptionArray array of

exceptionArray

connectionArray
data.connectionArray array of object

connectionArray

conName
data.connectionArray.conName string

conName

appId
data.connectionArray.appId string

appId

opId
data.connectionArray.opId string

opId

count
data.connectionArray.count integer

count

error
data.error string

error

actionObjectArray
data.actionObjectArray array of object

actionObjectArray

step
data.actionObjectArray.step string

step

connector
data.actionObjectArray.connector string

connector

name
data.actionObjectArray.name string

name

id
data.actionObjectArray.id string

id

hashId
data.actionObjectArray.hashId string

hashId

object
data.actionObjectArray.object string

object

type
data.actionObjectArray.type string

type

index
data.actionObjectArray.index integer

index

parent
data.actionObjectArray.parent string

parent