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
{
"id": "01H8XGJVBWX7Y5Z3K9M2N4P6Q1",
"type": "resolve_entity",
"kind": "user",
"source": {
"type": "option",
"name": "target"
},
"saveAs": {
"scope": "run",
"name": "resolvedUser"
}
}Updated about 14 hours ago
Did this page help you?
