---
updatedAt: 2026-09-01T16:18:47.000Z
---

Fetch the complete documentation index at: https://developers.wabbit.gg/llms.txt. Use this file to discover all available pages before exploring further. Append .md to any documentation page URL to get its markdown version.

# Resolve Entity

# Resolve Entity

Look up a user, channel, or role and save it as a variable

## Fields

| Field    | Type                                                                              | Required | Description                                                                |
| -------- | --------------------------------------------------------------------------------- | -------- | -------------------------------------------------------------------------- |
| `kind`   | enum: user \| channel \| role                                                     | yes      |                                                                            |
| `source` | { type: 'option', name } \| { type: 'variable', path } \| { type: 'literal', id } | yes      | Where to read the id from.                                                 |
| `saveAs` | { scope, name }                                                                   | yes      | Stores null if the id can't be resolved, else a lightweight entity object. |

## Example

```json
{
  "id": "01H8XGJVBWX7Y5Z3K9M2N4P6Q1",
  "type": "resolve_entity",
  "kind": "user",
  "source": {
    "type": "option",
    "name": "target"
  },
  "saveAs": {
    "scope": "run",
    "name": "resolvedUser"
  }
}
```