# Benchling

> Create and update entities, DNA sequences, notebook entries, containers and workflow tasks in Benchling, and follow what changes.

App · 25 actions. Web page: https://docs.lodol.com/docs/integrations/benchling

## Actions

### Archive container

Archive a container so it is hidden from inventory. It can be unarchived in Benchling.

**Inputs**

- Container (`container_id`, text, required): The container: a tube, vial or other labware that holds a sample.
- Reason (`reason`, text, required): Why it is being archived. Your tenant may accept only some reasons. One of: `Made in error`, `Retired`, `Expended`, `Shipped`, `Contaminated`, `Expired`, `Missing`, `Other`.

**Outputs**

- `data` (object): The response from Benchling.

**Example output**

```json
{
  "data": {
    "containerIds": [
      "example"
    ]
  }
}
```

### Archive custom entity

Archive a custom entity so it is hidden from lists. It can be unarchived in Benchling.

**Inputs**

- Custom entity (`custom_entity_id`, text, required): The custom entity: a registered or unregistered sample, strain, cell line or other item your schemas define.
- Reason (`reason`, text, required): Why it is being archived. Your tenant may accept only some reasons. One of: `Made in error`, `Retired`, `Expended`, `Shipped`, `Contaminated`, `Expired`, `Missing`, `Other`.

**Outputs**

- `data` (object): The response from Benchling.

**Example output**

```json
{
  "data": {
    "customEntityIds": [
      "example"
    ]
  }
}
```

### Archive DNA sequence

Archive a DNA sequence so it is hidden from lists. It can be unarchived in Benchling.

**Inputs**

- DNA sequence (`dna_sequence_id`, text, required): The DNA sequence.
- Reason (`reason`, text, required): Why it is being archived. Your tenant may accept only some reasons. One of: `Made in error`, `Retired`, `Expended`, `Shipped`, `Contaminated`, `Expired`, `Missing`, `Other`.

**Outputs**

- `data` (object): The response from Benchling.

**Example output**

```json
{
  "data": {
    "dnaSequenceIds": [
      "example"
    ]
  }
}
```

### Archive notebook entry

Archive a notebook entry so it is hidden from lists. It can be unarchived in Benchling.

**Inputs**

- Notebook entry (`entry_id`, text, required): The notebook entry.
- Reason (`reason`, text, required): Why it is being archived. Your tenant may accept only some reasons. One of: `Made in error`, `Retired`, `Other`.

**Outputs**

- `data` (object): The response from Benchling.

**Example output**

```json
{
  "data": {
    "entryIds": [
      "example"
    ]
  }
}
```

### Archive workflow task

Archive a workflow task so it is hidden from its workflow. It can be unarchived in Benchling.

**Inputs**

- Workflow task (`workflow_task_id`, text, required): The workflow task.
- Reason (`reason`, text, required): Why it is being archived. Your tenant may accept only some reasons. One of: `Made in error`, `Retired`, `Other`.

**Outputs**

- `data` (object): The response from Benchling.

**Example output**

```json
{
  "data": {
    "workflowTaskIds": [
      "example"
    ]
  }
}
```

### Create container

Create an empty container of a schema, optionally in a box, plate or location.

**Inputs**

- Schema (`schema_id`, text, required): The container schema.
- Name (`name`, text): The container's name. Leave empty for the schema's naming.
- Barcode (`barcode`, text): The container's barcode. Leave empty to have Benchling make one.
- Stored in (`parent_storage_id`, text): Where it is stored: a box, plate or location ID, with a position for a plate or box (plt_2bAks9dx:a2).
- Project (`project_id`, text): The project the container belongs to.
- Schema fields (`fields`, object): Schema fields to set, by field name: {"Cell Count": 12, "Strain": "bfi_abc123"}. A link field takes the linked item's ID, a multi-select a list.

**Outputs**

- `data` (object): The response from Benchling.

**Example output**

```json
{
  "data": {
    "archiveRecord": {
      "reason": "example"
    },
    "barcode": "example",
    "createdAt": "example",
    "creator": {
      "handle": "example",
      "id": "example",
      "name": "example"
    },
    "fields": {},
    "id": "example",
    "modifiedAt": "example",
    "name": "example",
    "parentStorageId": "example",
    "projectId": "example",
    "quantity": {
      "units": "example",
      "value": 1
    },
    "schema": {
      "id": "example",
      "name": "example"
    },
    "webURL": "example"
  }
}
```

### Create custom entity

Create a custom entity of a schema in a folder.

**Inputs**

- Name (`name`, text, required): The name.
- Schema (`schema_id`, text, required): The schema that defines the entity's type and fields.
- Folder (`folder_id`, text, required): The folder to put it in.
- Schema fields (`fields`, object): Schema fields to set, by field name: {"Cell Count": 12, "Strain": "bfi_abc123"}. A link field takes the linked item's ID, a multi-select a list.
- Aliases (`aliases`, list): Other names to find it by.

**Outputs**

- `data` (object): The response from Benchling.

**Example output**

```json
{
  "data": {
    "aliases": [
      "example"
    ],
    "archiveRecord": {
      "reason": "example"
    },
    "authors": [
      {
        "handle": "example",
        "id": "example",
        "name": "example"
      }
    ],
    "createdAt": "example",
    "creator": {
      "handle": "example",
      "id": "example",
      "name": "example"
    },
    "entityRegistryId": "example",
    "fields": {},
    "folderId": "example",
    "id": "example",
    "modifiedAt": "example",
    "name": "example",
    "registryId": "example",
    "schema": {
      "id": "example",
      "name": "example"
    },
    "webURL": "example"
  }
}
```

### Create DNA sequence

Create a DNA sequence from its bases in a folder.

**Inputs**

- Name (`name`, text, required): The name.
- Bases (`bases`, text, required): The sequence's bases, such as ATGCGT.
- Circular (`is_circular`, true/false, required): On for a circular sequence such as a plasmid, off for a linear one.
- Folder (`folder_id`, text, required): The folder to put it in.
- Schema (`schema_id`, text): The schema for the sequence's fields. Leave empty for none.
- Schema fields (`fields`, object): Schema fields to set, by field name: {"Cell Count": 12, "Strain": "bfi_abc123"}. A link field takes the linked item's ID, a multi-select a list.
- Aliases (`aliases`, list): Other names to find it by.

**Outputs**

- `data` (object): The response from Benchling.

**Example output**

```json
{
  "data": {
    "aliases": [
      "example"
    ],
    "archiveRecord": {
      "reason": "example"
    },
    "bases": "example",
    "createdAt": "example",
    "creator": {
      "handle": "example",
      "id": "example",
      "name": "example"
    },
    "entityRegistryId": "example",
    "fields": {},
    "folderId": "example",
    "id": "example",
    "isCircular": true,
    "length": 1,
    "modifiedAt": "example",
    "name": "example",
    "schema": {
      "id": "example",
      "name": "example"
    },
    "webURL": "example"
  }
}
```

### Create notebook entry

Create a notebook entry in a folder, optionally from a template.

**Inputs**

- Name (`name`, text, required): The name.
- Folder (`folder_id`, text, required): The folder to put it in.
- Schema (`schema_id`, text): The entry schema for its fields. Leave empty for none.
- Template (`template_id`, text): The template to copy the entry from. Leave empty for a blank entry.
- Schema fields (`fields`, object): Schema fields to set, by field name: {"Cell Count": 12, "Strain": "bfi_abc123"}. A link field takes the linked item's ID, a multi-select a list.

**Outputs**

- `data` (object): The response from Benchling.

**Example output**

```json
{
  "data": {
    "archiveRecord": {
      "reason": "example"
    },
    "assignedReviewers": [
      {
        "handle": "example",
        "id": "example",
        "name": "example"
      }
    ],
    "authors": [
      {
        "handle": "example",
        "id": "example",
        "name": "example"
      }
    ],
    "createdAt": "example",
    "creator": {
      "handle": "example",
      "id": "example",
      "name": "example"
    },
    "displayId": "example",
    "entryTemplateId": "example",
    "fields": {},
    "folderId": "example",
    "id": "example",
    "modifiedAt": "example",
    "name": "example",
    "reviewRecord": {},
    "schema": {
      "id": "example",
      "name": "example"
    },
    "webURL": "example"
  }
}
```

### Create workflow task

Add a task to a workflow (task group).

**Inputs**

- Workflow (`task_group_id`, text, required): The workflow (task group) to add the task to.
- Assignee (`assignee_id`, text): The person to assign the task to.
- Scheduled for (`scheduled_on`, date): The day the task is scheduled for.
- Schema fields (`fields`, object): Schema fields to set, by field name: {"Cell Count": 12, "Strain": "bfi_abc123"}. A link field takes the linked item's ID, a multi-select a list.

**Outputs**

- `data` (object): The response from Benchling.

**Example output**

```json
{
  "data": {
    "archiveRecord": {
      "reason": "example"
    },
    "assignee": {
      "handle": "example",
      "id": "example",
      "name": "example"
    },
    "createdAt": "example",
    "creator": {
      "handle": "example",
      "id": "example",
      "name": "example"
    },
    "displayId": "example",
    "fields": {},
    "id": "example",
    "modifiedAt": "example",
    "scheduledOn": "example",
    "schema": {
      "id": "example",
      "name": "example"
    },
    "status": {
      "displayName": "example",
      "id": "example",
      "statusType": "example"
    },
    "webURL": "example",
    "workflowTaskGroup": {
      "displayId": "example",
      "id": "example",
      "name": "example"
    }
  }
}
```

### Get container

Get a container with its contents, quantity and location.

**Inputs**

- Container (`container_id`, text, required): The container: a tube, vial or other labware that holds a sample.

**Outputs**

- `data` (object): The response from Benchling.

**Example output**

```json
{
  "data": {
    "archiveRecord": {
      "reason": "example"
    },
    "barcode": "example",
    "createdAt": "example",
    "creator": {
      "handle": "example",
      "id": "example",
      "name": "example"
    },
    "fields": {},
    "id": "example",
    "modifiedAt": "example",
    "name": "example",
    "parentStorageId": "example",
    "projectId": "example",
    "quantity": {
      "units": "example",
      "value": 1
    },
    "schema": {
      "id": "example",
      "name": "example"
    },
    "webURL": "example"
  }
}
```

### Get custom entity

Get a custom entity with its schema fields.

**Inputs**

- Custom entity (`custom_entity_id`, text, required): The custom entity: a registered or unregistered sample, strain, cell line or other item your schemas define.

**Outputs**

- `data` (object): The response from Benchling.

**Example output**

```json
{
  "data": {
    "aliases": [
      "example"
    ],
    "archiveRecord": {
      "reason": "example"
    },
    "authors": [
      {
        "handle": "example",
        "id": "example",
        "name": "example"
      }
    ],
    "createdAt": "example",
    "creator": {
      "handle": "example",
      "id": "example",
      "name": "example"
    },
    "entityRegistryId": "example",
    "fields": {},
    "folderId": "example",
    "id": "example",
    "modifiedAt": "example",
    "name": "example",
    "registryId": "example",
    "schema": {
      "id": "example",
      "name": "example"
    },
    "webURL": "example"
  }
}
```

### Get notebook entry

Get a notebook entry with its fields, authors and review status.

**Inputs**

- Notebook entry (`entry_id`, text, required): The notebook entry.

**Outputs**

- `data` (object): The response from Benchling.

**Example output**

```json
{
  "data": {
    "entry": {
      "archiveRecord": {
        "reason": "example"
      },
      "assignedReviewers": [
        {
          "handle": "example",
          "id": "example",
          "name": "example"
        }
      ],
      "authors": [
        {
          "handle": "example",
          "id": "example",
          "name": "example"
        }
      ],
      "createdAt": "example",
      "creator": {
        "handle": "example",
        "id": "example",
        "name": "example"
      },
      "displayId": "example",
      "entryTemplateId": "example",
      "fields": {},
      "folderId": "example",
      "id": "example",
      "modifiedAt": "example",
      "name": "example",
      "reviewRecord": {},
      "schema": {
        "id": "example",
        "name": "example"
      },
      "webURL": "example"
    }
  }
}
```

### Get workflow task

Get a workflow task with its status, assignee and fields.

**Inputs**

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

**Outputs**

- `data` (object): The response from Benchling.

**Example output**

```json
{
  "data": {
    "archiveRecord": {
      "reason": "example"
    },
    "assignee": {
      "handle": "example",
      "id": "example",
      "name": "example"
    },
    "createdAt": "example",
    "creator": {
      "handle": "example",
      "id": "example",
      "name": "example"
    },
    "displayId": "example",
    "fields": {},
    "id": "example",
    "modifiedAt": "example",
    "scheduledOn": "example",
    "schema": {
      "id": "example",
      "name": "example"
    },
    "status": {
      "displayName": "example",
      "id": "example",
      "statusType": "example"
    },
    "webURL": "example",
    "workflowTaskGroup": {
      "displayId": "example",
      "id": "example",
      "name": "example"
    }
  }
}
```

### List containers

List inventory containers, filtered by schema, name or when they changed.

**Inputs**

- Schema (`schema_id`, text): Only return containers of this schema.
- Name contains (`name_includes`, text): Only return records whose name includes this text.
- Changed after (`modified_since`, date and time): Only return records changed after this time.
- Status (`archived`, text): Show active records or archived ones. Leave empty for active only. One of: `NOT_ARCHIVED` (Active only), `ANY_ARCHIVED` (Archived only).
- Sort by (`sort`, text): The order to list records in. Leave empty for the most recently changed first. One of: `modifiedAt:desc` (Last changed, newest first), `modifiedAt:asc` (Last changed, oldest first), `createdAt:desc` (Created, newest first), `name:asc` (Name, A to Z).
- Records per page (`page_size`, number): How many records to return, up to 100. Leave empty for 50. From 1 to 100.
- Next page token (`next_token`, text): The next page token a previous list returned, to read the next page.

**Outputs**

- `data` (object): The response from Benchling.

**Example output**

```json
{
  "data": {
    "containers": [
      {
        "archiveRecord": {
          "reason": "example"
        },
        "barcode": "example",
        "createdAt": "example",
        "creator": {
          "handle": "example",
          "id": "example",
          "name": "example"
        },
        "fields": {},
        "id": "example",
        "modifiedAt": "example",
        "name": "example",
        "parentStorageId": "example",
        "projectId": "example",
        "quantity": {
          "units": "example",
          "value": 1
        },
        "schema": {
          "id": "example",
          "name": "example"
        },
        "webURL": "example"
      }
    ],
    "nextToken": "example"
  }
}
```

### List custom entities

List custom entities, filtered by schema, folder, name or when they changed.

**Inputs**

- Schema (`schema_id`, text): Only return entities of this schema.
- Folder (`folder_id`, text): Only return records in this folder.
- Project (`project_id`, text): Only return records in this project.
- Name contains (`name_includes`, text): Only return records whose name includes this text.
- Changed after (`modified_since`, date and time): Only return records changed after this time.
- Status (`archived`, text): Show active records or archived ones. Leave empty for active only. One of: `NOT_ARCHIVED` (Active only), `ANY_ARCHIVED` (Archived only).
- Sort by (`sort`, text): The order to list records in. Leave empty for the most recently changed first. One of: `modifiedAt:desc` (Last changed, newest first), `modifiedAt:asc` (Last changed, oldest first), `createdAt:desc` (Created, newest first), `name:asc` (Name, A to Z).
- Records per page (`page_size`, number): How many records to return, up to 100. Leave empty for 50. From 1 to 100.
- Next page token (`next_token`, text): The next page token a previous list returned, to read the next page.

**Outputs**

- `data` (object): The response from Benchling.

**Example output**

```json
{
  "data": {
    "customEntities": [
      {
        "aliases": [
          "example"
        ],
        "archiveRecord": {
          "reason": "example"
        },
        "authors": [
          {
            "handle": "example",
            "id": "example",
            "name": "example"
          }
        ],
        "createdAt": "example",
        "creator": {
          "handle": "example",
          "id": "example",
          "name": "example"
        },
        "entityRegistryId": "example",
        "fields": {},
        "folderId": "example",
        "id": "example",
        "modifiedAt": "example",
        "name": "example",
        "registryId": "example",
        "schema": {
          "id": "example",
          "name": "example"
        },
        "webURL": "example"
      }
    ],
    "nextToken": "example"
  }
}
```

### List DNA sequences

List DNA sequences, filtered by schema, folder, name or when they changed.

**Inputs**

- Schema (`schema_id`, text): Only return sequences of this schema.
- Folder (`folder_id`, text): Only return records in this folder.
- Project (`project_id`, text): Only return records in this project.
- Name contains (`name_includes`, text): Only return records whose name includes this text.
- Changed after (`modified_since`, date and time): Only return records changed after this time.
- Status (`archived`, text): Show active records or archived ones. Leave empty for active only. One of: `NOT_ARCHIVED` (Active only), `ANY_ARCHIVED` (Archived only).
- Sort by (`sort`, text): The order to list records in. Leave empty for the most recently changed first. One of: `modifiedAt:desc` (Last changed, newest first), `modifiedAt:asc` (Last changed, oldest first), `createdAt:desc` (Created, newest first), `name:asc` (Name, A to Z).
- Records per page (`page_size`, number): How many records to return, up to 100. Leave empty for 50. From 1 to 100.
- Next page token (`next_token`, text): The next page token a previous list returned, to read the next page.

**Outputs**

- `data` (object): The response from Benchling.

**Example output**

```json
{
  "data": {
    "dnaSequences": [
      {
        "aliases": [
          "example"
        ],
        "archiveRecord": {
          "reason": "example"
        },
        "bases": "example",
        "createdAt": "example",
        "creator": {
          "handle": "example",
          "id": "example",
          "name": "example"
        },
        "entityRegistryId": "example",
        "fields": {},
        "folderId": "example",
        "id": "example",
        "isCircular": true,
        "length": 1,
        "modifiedAt": "example",
        "name": "example",
        "schema": {
          "id": "example",
          "name": "example"
        },
        "webURL": "example"
      }
    ],
    "nextToken": "example"
  }
}
```

### List folders

List folders, optionally only those in one project.

**Inputs**

- Project (`project_id`, text): Only return records in this project.
- Name contains (`name_includes`, text): Only return records whose name includes this text.
- Status (`archived`, text): Show active records or archived ones. Leave empty for active only. One of: `NOT_ARCHIVED` (Active only), `ANY_ARCHIVED` (Archived only).
- Records per page (`page_size`, number): How many records to return, up to 100. Leave empty for 50. From 1 to 100.
- Next page token (`next_token`, text): The next page token a previous list returned, to read the next page.

**Outputs**

- `data` (object): The response from Benchling.

**Example output**

```json
{
  "data": {
    "folders": [
      {
        "archiveRecord": {
          "reason": "example"
        },
        "id": "example",
        "name": "example",
        "parentFolderId": "example",
        "projectId": "example"
      }
    ],
    "nextToken": "example"
  }
}
```

### List notebook entries

List notebook entries, filtered by project, schema, name or when they changed.

**Inputs**

- Project (`project_id`, text): Only return records in this project.
- Schema (`schema_id`, text): Only return entries of this schema.
- Name (`name`, text): Only return entries with exactly this name.
- Changed after (`modified_since`, date and time): Only return records changed after this time.
- Status (`archived`, text): Show active records or archived ones. Leave empty for active only. One of: `NOT_ARCHIVED` (Active only), `ANY_ARCHIVED` (Archived only).
- Sort by (`sort`, text): The order to list records in. Leave empty for the most recently changed first. One of: `modifiedAt:desc` (Last changed, newest first), `modifiedAt:asc` (Last changed, oldest first), `createdAt:desc` (Created, newest first), `name:asc` (Name, A to Z).
- Records per page (`page_size`, number): How many records to return, up to 100. Leave empty for 50. From 1 to 100.
- Next page token (`next_token`, text): The next page token a previous list returned, to read the next page.

**Outputs**

- `data` (object): The response from Benchling.

**Example output**

```json
{
  "data": {
    "entries": [
      {
        "archiveRecord": {
          "reason": "example"
        },
        "assignedReviewers": [
          {
            "handle": "example",
            "id": "example",
            "name": "example"
          }
        ],
        "authors": [
          {
            "handle": "example",
            "id": "example",
            "name": "example"
          }
        ],
        "createdAt": "example",
        "creator": {
          "handle": "example",
          "id": "example",
          "name": "example"
        },
        "displayId": "example",
        "entryTemplateId": "example",
        "fields": {},
        "folderId": "example",
        "id": "example",
        "modifiedAt": "example",
        "name": "example",
        "reviewRecord": {},
        "schema": {
          "id": "example",
          "name": "example"
        },
        "webURL": "example"
      }
    ],
    "nextToken": "example"
  }
}
```

### List projects

List the projects your key can see.

**Inputs**

- Name (`name`, text): Only return the project with exactly this name.
- Records per page (`page_size`, number): How many records to return, up to 100. Leave empty for 50. From 1 to 100.
- Next page token (`next_token`, text): The next page token a previous list returned, to read the next page.

**Outputs**

- `data` (object): The response from Benchling.

**Example output**

```json
{
  "data": {
    "nextToken": "example",
    "projects": [
      {
        "archiveRecord": {
          "reason": "example"
        },
        "id": "example",
        "name": "example"
      }
    ]
  }
}
```

### List workflow tasks

List workflow tasks, filtered by workflow, status, assignee or when they changed.

**Inputs**

- Workflow (`task_group_id`, text): Only return tasks in this workflow (task group).
- Statuses (`status_ids`, list): Only return tasks in these statuses.
- Assignee (`assignee_id`, text): Only return tasks assigned to this person.
- Changed after (`modified_since`, date and time): Only return records changed after this time.
- Status (`archived`, text): Show active records or archived ones. Leave empty for active only. One of: `NOT_ARCHIVED` (Active only), `ANY_ARCHIVED` (Archived only).
- Records per page (`page_size`, number): How many records to return, up to 100. Leave empty for 50. From 1 to 100.
- Next page token (`next_token`, text): The next page token a previous list returned, to read the next page.

**Outputs**

- `data` (object): The response from Benchling.

**Example output**

```json
{
  "data": {
    "nextToken": "example",
    "workflowTasks": [
      {
        "archiveRecord": {
          "reason": "example"
        },
        "assignee": {
          "handle": "example",
          "id": "example",
          "name": "example"
        },
        "createdAt": "example",
        "creator": {
          "handle": "example",
          "id": "example",
          "name": "example"
        },
        "displayId": "example",
        "fields": {},
        "id": "example",
        "modifiedAt": "example",
        "scheduledOn": "example",
        "schema": {
          "id": "example",
          "name": "example"
        },
        "status": {
          "displayName": "example",
          "id": "example",
          "statusType": "example"
        },
        "webURL": "example",
        "workflowTaskGroup": {
          "displayId": "example",
          "id": "example",
          "name": "example"
        }
      }
    ]
  }
}
```

### Update container

Change a container's name, storage location, project or schema fields. Fields left empty stay as they are.

**Inputs**

- Container (`container_id`, text, required): The container: a tube, vial or other labware that holds a sample.
- Name (`name`, text): The new name.
- Stored in (`parent_storage_id`, text): Move it to this box, plate or location ID, with a position for a plate or box (plt_2bAks9dx:a2).
- Project (`project_id`, text): The project the container belongs to.
- Schema fields (`fields`, object): Schema fields to set, by field name: {"Cell Count": 12, "Strain": "bfi_abc123"}. A link field takes the linked item's ID, a multi-select a list.

**Outputs**

- `data` (object): The response from Benchling.

**Example output**

```json
{
  "data": {
    "archiveRecord": {
      "reason": "example"
    },
    "barcode": "example",
    "createdAt": "example",
    "creator": {
      "handle": "example",
      "id": "example",
      "name": "example"
    },
    "fields": {},
    "id": "example",
    "modifiedAt": "example",
    "name": "example",
    "parentStorageId": "example",
    "projectId": "example",
    "quantity": {
      "units": "example",
      "value": 1
    },
    "schema": {
      "id": "example",
      "name": "example"
    },
    "webURL": "example"
  }
}
```

### Update custom entity

Change a custom entity's name, folder or schema fields. Fields left empty stay as they are.

**Inputs**

- Custom entity (`custom_entity_id`, text, required): The custom entity: a registered or unregistered sample, strain, cell line or other item your schemas define.
- Name (`name`, text): The new name.
- Folder (`folder_id`, text): The folder to move it to.
- Schema fields (`fields`, object): Schema fields to set, by field name: {"Cell Count": 12, "Strain": "bfi_abc123"}. A link field takes the linked item's ID, a multi-select a list.
- Aliases (`aliases`, list): Other names to find it by.

**Outputs**

- `data` (object): The response from Benchling.

**Example output**

```json
{
  "data": {
    "aliases": [
      "example"
    ],
    "archiveRecord": {
      "reason": "example"
    },
    "authors": [
      {
        "handle": "example",
        "id": "example",
        "name": "example"
      }
    ],
    "createdAt": "example",
    "creator": {
      "handle": "example",
      "id": "example",
      "name": "example"
    },
    "entityRegistryId": "example",
    "fields": {},
    "folderId": "example",
    "id": "example",
    "modifiedAt": "example",
    "name": "example",
    "registryId": "example",
    "schema": {
      "id": "example",
      "name": "example"
    },
    "webURL": "example"
  }
}
```

### Update notebook entry

Change a notebook entry's name, folder or schema fields. Fields left empty stay as they are.

**Inputs**

- Notebook entry (`entry_id`, text, required): The notebook entry.
- Name (`name`, text): The new name.
- Folder (`folder_id`, text): The folder to move it to.
- Schema fields (`fields`, object): Schema fields to set, by field name: {"Cell Count": 12, "Strain": "bfi_abc123"}. A link field takes the linked item's ID, a multi-select a list.

**Outputs**

- `data` (object): The response from Benchling.

**Example output**

```json
{
  "data": {
    "archiveRecord": {
      "reason": "example"
    },
    "assignedReviewers": [
      {
        "handle": "example",
        "id": "example",
        "name": "example"
      }
    ],
    "authors": [
      {
        "handle": "example",
        "id": "example",
        "name": "example"
      }
    ],
    "createdAt": "example",
    "creator": {
      "handle": "example",
      "id": "example",
      "name": "example"
    },
    "displayId": "example",
    "entryTemplateId": "example",
    "fields": {},
    "folderId": "example",
    "id": "example",
    "modifiedAt": "example",
    "name": "example",
    "reviewRecord": {},
    "schema": {
      "id": "example",
      "name": "example"
    },
    "webURL": "example"
  }
}
```

### Update workflow task

Change a workflow task's status, assignee, scheduled day or fields. Fields left empty stay as they are.

**Inputs**

- Workflow task (`workflow_task_id`, text, required): The workflow task.
- Status (`status_id`, text): The task's new status.
- Assignee (`assignee_id`, text): The person to assign the task to.
- Scheduled for (`scheduled_on`, date): The day the task is scheduled for.
- Schema fields (`fields`, object): Schema fields to set, by field name: {"Cell Count": 12, "Strain": "bfi_abc123"}. A link field takes the linked item's ID, a multi-select a list.

**Outputs**

- `data` (object): The response from Benchling.

**Example output**

```json
{
  "data": {
    "archiveRecord": {
      "reason": "example"
    },
    "assignee": {
      "handle": "example",
      "id": "example",
      "name": "example"
    },
    "createdAt": "example",
    "creator": {
      "handle": "example",
      "id": "example",
      "name": "example"
    },
    "displayId": "example",
    "fields": {},
    "id": "example",
    "modifiedAt": "example",
    "scheduledOn": "example",
    "schema": {
      "id": "example",
      "name": "example"
    },
    "status": {
      "displayName": "example",
      "id": "example",
      "statusType": "example"
    },
    "webURL": "example",
    "workflowTaskGroup": {
      "displayId": "example",
      "id": "example",
      "name": "example"
    }
  }
}
```
