# Microsoft Power Automate

> Manage solution cloud flows and inspect desktop flows, runs and solution components through Dataverse.

App · 15 actions. Web page: https://docs.lodol.com/docs/integrations/microsoft-power-automate

## Actions

### Delete flow

Delete a Power Automate flow from the environment, by its flow ID.

**Inputs**

- Flow (`flow_id`, text, required): Flow id.

**Outputs**

- `data` (object): Microsoft Power Automate response data.

**Example output**

```json
{
  "data": {}
}
```

### Disable flow

Turn off a Power Automate cloud flow, by its flow ID, so it stops running until turned on again.

**Inputs**

- Flow (`flow_id`, text, required): Flow id.

**Outputs**

- `data` (object): Microsoft Power Automate response data.

**Example output**

```json
{
  "data": {}
}
```

### Enable flow

Turn on a Power Automate cloud flow, by its flow ID, so it runs when triggered.

**Inputs**

- Flow (`flow_id`, text, required): Flow id.

**Outputs**

- `data` (object): Microsoft Power Automate response data.

**Example output**

```json
{
  "data": {}
}
```

### Get connectionreference

Get one connection reference by its ID, with its display name and when it last changed.

**Inputs**

- Record id (`record_id`, text, required): Record id.

**Outputs**

- `data` (object): Microsoft Power Automate response data.

**Example output**

```json
{
  "data": {
    "connectionreferencedisplayname": "example",
    "connectionreferenceid": "example",
    "modifiedon": "example"
  }
}
```

### Get flow

Get one Power Automate flow by its ID, with its name, description, on or off state, category and when it last changed.

**Inputs**

- Flow (`flow_id`, text, required): Flow id.

**Outputs**

- `data` (object): Microsoft Power Automate response data.

**Example output**

```json
{
  "data": {
    "category": 1,
    "description": "example",
    "modifiedon": "example",
    "name": "example",
    "statecode": 1,
    "workflowid": "example"
  }
}
```

### Get flowsession

Get one desktop flow run (flow session) by its ID, with its name and when it last changed.

**Inputs**

- Record id (`record_id`, text, required): Record id.

**Outputs**

- `data` (object): Microsoft Power Automate response data.

**Example output**

```json
{
  "data": {
    "flowsessionid": "example",
    "modifiedon": "example",
    "name": "example"
  }
}
```

### Get solution

Get one solution in the Power Automate environment by its ID, with its display name and when it last changed.

**Inputs**

- Record id (`record_id`, text, required): Record id.

**Outputs**

- `data` (object): Microsoft Power Automate response data.

**Example output**

```json
{
  "data": {
    "friendlyname": "example",
    "modifiedon": "example",
    "solutionid": "example"
  }
}
```

### Get workflowlog

Get one flow run log entry by its ID, with its name and when it last changed.

**Inputs**

- Record id (`record_id`, text, required): Record id.

**Outputs**

- `data` (object): Microsoft Power Automate response data.

**Example output**

```json
{
  "data": {
    "modifiedon": "example",
    "name": "example",
    "workflowlogid": "example"
  }
}
```

### List cloud flows

List the cloud flows in the Power Automate environment that belong to solutions, with an optional filter. Returns each flow's ID, name, description, on or off state and when it last changed.

**Inputs**

- Top (`top`, number): Top. From 1 to 1000. Default: `100`.
- Next page token (`skiptoken`, text): Use next_page_token from the preceding result; leave empty for the first page.
- Filter (`filter`, text): Filter.

**Outputs**

- `data` (object): Microsoft Power Automate response data.

**Example output**

```json
{
  "data": {
    "@odata.nextLink": "example",
    "next_page_token": "example",
    "value": []
  }
}
```

### List connectionreferences

List the connection references that flows in the environment use, with an optional filter. Returns each one's ID, display name and when it last changed.

**Inputs**

- Top (`top`, number): Top. From 1 to 1000. Default: `100`.
- Next page token (`skiptoken`, text): Use next_page_token from the preceding result; leave empty for the first page.
- Filter (`filter`, text): Filter.

**Outputs**

- `data` (object): Microsoft Power Automate response data.

**Example output**

```json
{
  "data": {
    "@odata.nextLink": "example",
    "next_page_token": "example",
    "value": []
  }
}
```

### List desktop flows

List the desktop flows in the Power Automate environment, with an optional filter. Returns each flow's ID, name, description, state and when it last changed.

**Inputs**

- Top (`top`, number): Top. From 1 to 1000. Default: `100`.
- Next page token (`skiptoken`, text): Use next_page_token from the preceding result; leave empty for the first page.
- Filter (`filter`, text): Filter.

**Outputs**

- `data` (object): Microsoft Power Automate response data.

**Example output**

```json
{
  "data": {
    "@odata.nextLink": "example",
    "next_page_token": "example",
    "value": []
  }
}
```

### List flowsessions

List desktop flow runs (flow sessions) in the Power Automate environment, with an optional filter. Returns each run's ID, name and when it last changed.

**Inputs**

- Top (`top`, number): Top. From 1 to 1000. Default: `100`.
- Next page token (`skiptoken`, text): Use next_page_token from the preceding result; leave empty for the first page.
- Filter (`filter`, text): Filter.

**Outputs**

- `data` (object): Microsoft Power Automate response data.

**Example output**

```json
{
  "data": {
    "@odata.nextLink": "example",
    "next_page_token": "example",
    "value": []
  }
}
```

### List solutions

List the solutions in the Power Automate environment, with an optional filter. Returns each solution's ID, display name and when it last changed.

**Inputs**

- Top (`top`, number): Top. From 1 to 1000. Default: `100`.
- Next page token (`skiptoken`, text): Use next_page_token from the preceding result; leave empty for the first page.
- Filter (`filter`, text): Filter.

**Outputs**

- `data` (object): Microsoft Power Automate response data.

**Example output**

```json
{
  "data": {
    "@odata.nextLink": "example",
    "next_page_token": "example",
    "value": []
  }
}
```

### List workflowlogs

List flow run log entries in the Power Automate environment, with an optional filter. Returns each entry's ID, name and when it last changed.

**Inputs**

- Top (`top`, number): Top. From 1 to 1000. Default: `100`.
- Next page token (`skiptoken`, text): Use next_page_token from the preceding result; leave empty for the first page.
- Filter (`filter`, text): Filter.

**Outputs**

- `data` (object): Microsoft Power Automate response data.

**Example output**

```json
{
  "data": {
    "@odata.nextLink": "example",
    "next_page_token": "example",
    "value": []
  }
}
```

### Update flow

Change a Power Automate flow's name or description, found by its flow ID.

**Inputs**

- Flow (`flow_id`, text, required): Flow id.
- Name (`name`, text): Name.
- Description (`description`, text): Description.

**Outputs**

- `data` (object): Microsoft Power Automate response data.

**Example output**

```json
{
  "data": {}
}
```
