Resolve Entity

Resolve Entity

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

Fields

FieldTypeRequiredDescription
kindenum: user | channel | roleyes
source{type: 'option', name} | {type: 'variable', path} | {type: 'literal', id}yesWhere to read the id from.
saveAs{scope, name}yesStores null if the id can't be resolved, else a lightweight entity object.

Example

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

Did this page help you?