# LogicGate Risk Cloud

> Create, update and track records in LogicGate Risk Cloud, such as risks, controls, issues and vendors.

App · 22 actions. Web page: https://docs.lodol.com/docs/integrations/logicgate

## Actions

### Add record comment

Post a comment on a record. Its step must allow comments.

**Inputs**

- Record (`record_id`, text, required): The record's ID.
- Comment (`content`, text, required): The comment. Risk Cloud shows it as rich text, so basic HTML such as <p> and <b> works.

**Outputs**

- `data` (object): The response from LogicGate Risk Cloud.

**Example output**

```json
{
  "data": {
    "content": "example",
    "created": "example",
    "id": "example"
  }
}
```

### Assign record

Assign a record to a Risk Cloud user.

**Inputs**

- Record (`recordId`, text, required): The record's ID, from List records or the end of its address in Risk Cloud.
- User (`id`, text, required): The user to assign it to.

**Outputs**

- `data` (object): The response from LogicGate Risk Cloud.

**Example output**

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

### Create application

Create an application in Build. Needs Build access.

**Inputs**

- Name (`name`, text, required): The application's name.
- Short code (`shortCode`, text, required): A short code shown for it, such as ERM.
- Description (`description`, text): What the application is for.
- Icon (`icon`, text): Its icon. One of: `CUBES`, `BOOKMARK`, `BOLT`, `BULLHORN`, `CERTIFICATE`, `CHECK_SQUARE_O` (Checkbox), `CLOUD`, `COMMENTS`, `DOLLAR`, `EXCLAMATION_TRIANGLE` (Warning), and 6 more.
- Color (`color`, text): Its icon's color as a hex code, such as #00a3de.

**Outputs**

- `data` (object): The response from LogicGate Risk Cloud.

**Example output**

```json
{
  "data": {
    "color": "example",
    "description": "example",
    "icon": "example",
    "id": "example",
    "live": true,
    "name": "example",
    "shortCode": "example",
    "type": "example"
  }
}
```

### Create record

Create a record on a step, with field values, a due date and an assignee.

**Inputs**

- Step (`stepId`, text, required): The step to create it on, usually a workflow's first step.
- Assignee email (`assigneeEmailAddress`, text): The email of the Risk Cloud user to assign it to.
- Due (`recordDueDate`, date and time): When the record is due.
- Field values (`fields`, object): Values to set: each field's ID (from List fields) and its value as text, or a list of texts for a multi-select. Dates are 2026-01-01 12:00:00, people are emails, checkboxes true or false.

**Outputs**

- `data` (object): The response from LogicGate Risk Cloud.

**Example output**

```json
{
  "data": {
    "active": true,
    "created": "example",
    "id": "example",
    "name": "example",
    "recordName": "example",
    "status": "example",
    "updated": "example"
  }
}
```

### Create step

Add a step to a workflow. Needs Build access.

**Inputs**

- Workflow (`workflowId`, text, required): The workflow to add it to.
- Name (`name`, text, required): The step's name.
- Step type (`type`, text, required): Where it sits: a workflow starts at its first step. One of: `ORIGIN` (First step (origin)), `CHAIN` (Middle step), `END` (Last step (end)).
- Description (`description`, text): What happens at this step.
- Allow comments (`enableComments`, true/false): Show comments on records at this step.

**Outputs**

- `data` (object): The response from LogicGate Risk Cloud.

**Example output**

```json
{
  "data": {
    "description": "example",
    "enableComments": true,
    "id": "example",
    "name": "example",
    "type": "example",
    "workflow": {
      "id": "example",
      "name": "example"
    }
  }
}
```

### Create workflow

Add a workflow to an application. Needs Build access.

**Inputs**

- Application (`applicationId`, text, required): The application to add it to.
- Name (`name`, text, required): The workflow's name.
- Record prefix (`recordPrefix`, text, required): The prefix of every record's name in it, such as RISK.
- Description (`description`, text): What the workflow is for.

**Outputs**

- `data` (object): The response from LogicGate Risk Cloud.

**Example output**

```json
{
  "data": {
    "applicationId": "example",
    "applicationName": "example",
    "description": "example",
    "id": "example",
    "name": "example",
    "recordPrefix": "example",
    "type": "example"
  }
}
```

### Delete application

Delete an application, with its workflows. Needs Build access.

**Inputs**

- Application (`id`, text, required): The application to delete.

**Outputs**

- `data` (object): The response from LogicGate Risk Cloud.

**Example output**

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

### Get application

Get one application.

**Inputs**

- Application (`id`, text, required): The application.

**Outputs**

- `data` (object): The response from LogicGate Risk Cloud.

**Example output**

```json
{
  "data": {
    "color": "example",
    "description": "example",
    "icon": "example",
    "id": "example",
    "live": true,
    "name": "example",
    "shortCode": "example",
    "type": "example"
  }
}
```

### Get record

Get one record with its field values.

**Inputs**

- Record (`id`, text, required): The record's ID, from List records or the end of its address in Risk Cloud.
- Field IDs (`field_ids`, list): Only these fields' values, by ID, at most 25.

**Outputs**

- `data` (object): The response from LogicGate Risk Cloud.

**Example output**

```json
{
  "data": {
    "application": {
      "id": "example",
      "name": "example"
    },
    "assignee": {
      "email": "example",
      "id": "example",
      "name": "example"
    },
    "creator": {
      "email": "example",
      "id": "example",
      "name": "example"
    },
    "currentStep": {
      "id": "example",
      "name": "example",
      "type": "example"
    },
    "dates": {
      "completed": "example",
      "created": "example",
      "dueDate": "example",
      "recordDueDate": "example",
      "updated": "example"
    },
    "fields": [
      {
        "id": "example",
        "label": "example",
        "name": "example",
        "type": "example",
        "values": [
          {
            "numericValue": 1,
            "textValue": "example"
          }
        ]
      }
    ],
    "id": "example",
    "name": "example",
    "recordName": "example",
    "sequenceNumber": 1,
    "status": "example",
    "workflow": {
      "id": "example",
      "name": "example"
    }
  }
}
```

### Get workflow

Get one workflow.

**Inputs**

- Workflow (`id`, text, required): The workflow.

**Outputs**

- `data` (object): The response from LogicGate Risk Cloud.

**Example output**

```json
{
  "data": {
    "applicationId": "example",
    "applicationName": "example",
    "description": "example",
    "id": "example",
    "name": "example",
    "recordPrefix": "example",
    "type": "example"
  }
}
```

### List access audits

List sign-ins, sign-outs and failed sign-ins to Risk Cloud. Needs Admin access.

**Inputs**

- Email (`user_email`, text): Only this person's, by email.
- Event (`type`, text): Only this kind of event. One of: `LOGIN` (Sign-in), `LOGOUT` (Sign-out), `LOGIN_FAILED` (Failed sign-in), `CREDENTIALS_ROLLED` (Credentials reset), `TOKEN_ROLLED` (Token reset), `OTHER`.
- Since (`created_min`, date and time): Only events since this time.
- Page (`page`, number): The page to read, starting at 0. At least 0.
- Page size (`size`, number): How many a page holds. Risk Cloud returns 20 if left empty. From 1 to 1000.

**Outputs**

- `data` (object): The response from LogicGate Risk Cloud.

**Example output**

```json
{
  "data": {
    "content": [
      {
        "created": "example",
        "details": "example",
        "id": "example",
        "remoteAddress": "example",
        "type": "example",
        "user": {
          "email": "example",
          "id": "example",
          "name": "example"
        }
      }
    ],
    "page": {
      "number": 1,
      "size": 1,
      "totalElements": 1,
      "totalPages": 1
    }
  }
}
```

### List applications

List the Risk Cloud applications you can see.

**Inputs**

- Page (`page`, number): The page to read, starting at 0. At least 0.
- Page size (`size`, number): How many a page holds. Risk Cloud returns 20 if left empty. From 1 to 1000.

**Outputs**

- `data` (object): The response from LogicGate Risk Cloud.

**Example output**

```json
{
  "data": {
    "content": [
      {
        "color": "example",
        "description": "example",
        "icon": "example",
        "id": "example",
        "live": true,
        "name": "example",
        "shortCode": "example",
        "type": "example"
      }
    ],
    "page": {
      "number": 1,
      "size": 1,
      "totalElements": 1,
      "totalPages": 1
    }
  }
}
```

### List fields

List fields with their IDs, which Create record and Update record fields need.

**Inputs**

- Application (`application_id`, text): Only those in this application.
- Workflow (`workflow`, text): Only those in this workflow.
- Step (`step_id`, text): Only those on this step.
- Field types (`field_type`, list): Only fields of these types. One or more of: `TEXT`, `TEXT_AREA` (Text area), `NUMBER`, `DATE`, `USER`, `SELECT`, `MULTI_SELECT` (Multi-select), `RADIO`, `CHECKBOX`, `ATTACHMENT`, and 5 more.
- Scope (`scope`, text): Only global fields, or only a workflow's own. One of: `ALL` (Global and workflow), `GLOBAL` (Global only), `WORKFLOW` (Workflow only).
- Page (`page`, number): The page to read, starting at 0. At least 0.
- Page size (`size`, number): How many a page holds. Risk Cloud returns 20 if left empty. From 1 to 1000.

**Outputs**

- `data` (object): The response from LogicGate Risk Cloud.

**Example output**

```json
{
  "data": {
    "content": [
      {
        "application": {
          "id": "example",
          "name": "example"
        },
        "global": true,
        "id": "example",
        "label": "example",
        "name": "example",
        "required": true,
        "type": "example",
        "workflow": {
          "id": "example",
          "name": "example"
        }
      }
    ],
    "page": {
      "number": 1,
      "size": 1,
      "totalElements": 1,
      "totalPages": 1
    }
  }
}
```

### List linked records

List the records in another workflow linked to a record, such as the controls linked to a risk.

**Inputs**

- Record (`id`, text, required): The record whose links to list.
- Linked workflow (`workflow`, text, required): The workflow of the linked records to list.
- Depth (`depth`, number): How many links away to look. At least 1.
- Changed since (`updated_min`, date and time): Only linked records changed (a field updated, or moved, assigned or linked) since this time.
- Page (`page`, number): The page to read, starting at 0. At least 0.
- Page size (`size`, number): How many a page holds. Risk Cloud returns 20 if left empty. From 1 to 1000.

**Outputs**

- `data` (object): The response from LogicGate Risk Cloud.

**Example output**

```json
{
  "data": {
    "content": [
      {
        "application": {
          "id": "example",
          "name": "example"
        },
        "assignee": {
          "email": "example",
          "id": "example",
          "name": "example"
        },
        "creator": {
          "email": "example",
          "id": "example",
          "name": "example"
        },
        "currentStep": {
          "id": "example",
          "name": "example",
          "type": "example"
        },
        "dates": {
          "completed": "example",
          "created": "example",
          "dueDate": "example",
          "recordDueDate": "example",
          "updated": "example"
        },
        "fields": [
          {
            "id": "example",
            "label": "example",
            "name": "example",
            "type": "example",
            "values": [
              {
                "numericValue": 1,
                "textValue": "example"
              }
            ]
          }
        ],
        "id": "example",
        "name": "example",
        "recordName": "example",
        "sequenceNumber": 1,
        "status": "example",
        "workflow": {
          "id": "example",
          "name": "example"
        }
      }
    ],
    "page": {
      "number": 1,
      "size": 1,
      "totalElements": 1,
      "totalPages": 1
    }
  }
}
```

### List record comments

List the comments on a record.

**Inputs**

- Record (`record`, text, required): The record's ID.
- Page (`page`, number): The page to read, starting at 0. At least 0.
- Page size (`size`, number): How many a page holds. Risk Cloud returns 20 if left empty. From 1 to 1000.

**Outputs**

- `data` (object): The response from LogicGate Risk Cloud.

**Example output**

```json
{
  "data": {
    "content": [
      {
        "content": "example",
        "created": "example",
        "id": "example",
        "updated": "example"
      }
    ],
    "last": true,
    "totalElements": 1,
    "totalPages": 1
  }
}
```

### List records

List the records you can read, optionally only one application's, workflow's or step's, or those changed since a time.

**Inputs**

- Application (`application_id`, text): Only those in this application.
- Workflow (`workflow`, text): Only those in this workflow.
- Step (`step_id`, text): Only those on this step.
- Changed since (`updated_min`, date and time): Only records changed (a field updated, or moved, assigned or linked) since this time.
- Page (`page`, number): The page to read, starting at 0. At least 0.
- Page size (`size`, number): How many a page holds. Risk Cloud returns 20 if left empty. From 1 to 1000.

**Outputs**

- `data` (object): The response from LogicGate Risk Cloud.

**Example output**

```json
{
  "data": {
    "content": [
      {
        "application": {
          "id": "example",
          "name": "example"
        },
        "assignee": {
          "email": "example",
          "id": "example",
          "name": "example"
        },
        "creator": {
          "email": "example",
          "id": "example",
          "name": "example"
        },
        "currentStep": {
          "id": "example",
          "name": "example",
          "type": "example"
        },
        "dates": {
          "completed": "example",
          "created": "example",
          "dueDate": "example",
          "recordDueDate": "example",
          "updated": "example"
        },
        "fields": [
          {
            "id": "example",
            "label": "example",
            "name": "example",
            "type": "example",
            "values": [
              {
                "numericValue": 1,
                "textValue": "example"
              }
            ]
          }
        ],
        "id": "example",
        "name": "example",
        "recordName": "example",
        "sequenceNumber": 1,
        "status": "example",
        "workflow": {
          "id": "example",
          "name": "example"
        }
      }
    ],
    "page": {
      "number": 1,
      "size": 1,
      "totalElements": 1,
      "totalPages": 1
    }
  }
}
```

### List steps

List workflow steps, optionally only one workflow's.

**Inputs**

- Workflow (`workflow`, text): Only those in this workflow.
- Page (`page`, number): The page to read, starting at 0. At least 0.
- Page size (`size`, number): How many a page holds. Risk Cloud returns 20 if left empty. From 1 to 1000.

**Outputs**

- `data` (object): The response from LogicGate Risk Cloud.

**Example output**

```json
{
  "data": {
    "content": [
      {
        "description": "example",
        "enableComments": true,
        "id": "example",
        "name": "example",
        "type": "example",
        "workflow": {
          "id": "example",
          "name": "example"
        }
      }
    ],
    "page": {
      "number": 1,
      "size": 1,
      "totalElements": 1,
      "totalPages": 1
    }
  }
}
```

### List users

List every user in the Risk Cloud environment. Needs Admin access.

**Inputs**: None.

**Outputs**

- `data` (list): The response from LogicGate Risk Cloud.

**Example output**

```json
{
  "data": [
    {
      "active": true,
      "disabled": true,
      "email": "example",
      "first": "example",
      "id": "example",
      "last": "example",
      "serviceAccount": true,
      "status": "example"
    }
  ]
}
```

### List workflows

List workflows, optionally only one application's.

**Inputs**

- Application (`application_id`, text): Only those in this application.
- Page (`page`, number): The page to read, starting at 0. At least 0.
- Page size (`size`, number): How many a page holds. Risk Cloud returns 20 if left empty. From 1 to 1000.

**Outputs**

- `data` (object): The response from LogicGate Risk Cloud.

**Example output**

```json
{
  "data": {
    "content": [
      {
        "applicationId": "example",
        "applicationName": "example",
        "description": "example",
        "id": "example",
        "name": "example",
        "recordPrefix": "example",
        "type": "example"
      }
    ],
    "page": {
      "number": 1,
      "size": 1,
      "totalElements": 1,
      "totalPages": 1
    }
  }
}
```

### Move record

Move a record to another step of its workflow, without its checks. Needs Admin access.

**Inputs**

- Record (`recordId`, text, required): The record's ID, from List records or the end of its address in Risk Cloud.
- Step (`stepId`, text, required): The step to move it to.

**Outputs**

- `data` (object): The response from LogicGate Risk Cloud.

**Example output**

```json
{
  "data": {
    "active": true,
    "created": "example",
    "id": "example",
    "name": "example",
    "recordName": "example",
    "status": "example",
    "updated": "example"
  }
}
```

### Update record due date

Change when a record is due, without moving it on.

**Inputs**

- Record (`recordId`, text, required): The record's ID, from List records or the end of its address in Risk Cloud.
- Due (`due`, date and time, required): The new due date and time.

**Outputs**

- `data` (object): The response from LogicGate Risk Cloud.

**Example output**

```json
{
  "data": {
    "active": true,
    "created": "example",
    "id": "example",
    "name": "example",
    "recordName": "example",
    "status": "example",
    "updated": "example"
  }
}
```

### Update record fields

Set field values on a record. Fields you leave out keep their values.

**Inputs**

- Record (`recordId`, text, required): The record's ID, from List records or the end of its address in Risk Cloud.
- Field values (`fields`, object, required): Values to set: each field's ID (from List fields) and its value as text, or a list of texts for a multi-select. Dates are 2026-01-01 12:00:00, people are emails, checkboxes true or false.

**Outputs**

- `data` (object): The response from LogicGate Risk Cloud.

**Example output**

```json
{
  "data": {
    "active": true,
    "created": "example",
    "id": "example",
    "name": "example",
    "recordName": "example",
    "status": "example",
    "updated": "example"
  }
}
```
