# Load Single Record

This action will retrieve a single record from a given collection by using a supplied unique id or a filter.

<figure><img src="https://2532694803-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvGYwUmVjfELEiJzfmWLC%2Fuploads%2FiEVaKowUsKP6DBU7AiC9%2Fimage.png?alt=media&#x26;token=103d3eaf-9463-4772-8f89-fe5c5614de2d" alt=""><figcaption></figcaption></figure>

### Settings

The action uses the following settings:

| Setting          | Description                                                                                                                                                                        | [Parsed](https://docs.xenioo.com/actions-and-operations/dynamic-parsing) |
| ---------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------ |
| Bot              | The bot that is providing collection access. The current bot is selected by default.                                                                                               | :no\_entry:                                                              |
| Collection       | The collection to be used for the action                                                                                                                                           | :no\_entry:                                                              |
| Record Unique Id | The unique id of the record to be loaded. If left empty,[ Filter Operations](https://docs.xenioo.com/actions-and-operations/database/set-field-filter-value) will be used instead. | :white\_check\_mark:                                                     |

### Remarks

This action will retrieve a single record from the specified collection. When using filters a single record will be returned, even if the filter applies to multiple records in the collection.

If no unique id and not filters are specified, no record will be returned.

### Trigger

If no unique id is specified, this action will trigger [all filters](https://docs.xenioo.com/actions-and-operations/database/set-field-filter-value) added as operations.

### Variables

This action produces the following variables after being triggered:

| Variable                | Description                                                                 |
| ----------------------- | --------------------------------------------------------------------------- |
| cursor\_current\_record | Contains the complete JSON of the record loaded if the query is successful. |

### Availability

Channel specific availability follows the table below:

| Channel          | Availability     |
| ---------------- | ---------------- |
| Facebook         | Fully Available. |
| WhatsApp         | Fully Available. |
| SMS              | Fully Available. |
| Telegram         | Fully Available. |
| Web              | Fully Available. |
| Alexa            | Fully Available. |
| Google Assistant | Fully Available. |
| Slack            | Fully Available. |
| API              | Fully Available. |

This action requires an active [Database ](https://docs.xenioo.com/actions-and-operations/database/broken-reference)package.
