Get User

slack.get_user
ActionChat & messagingconnection required

Calls the Slack Web API with the connection's bot token.

Read one user's profile by their Slack user id.

Connection

Required
Yes — the node will not save without one
Auth type
API key
Providers
Slack
Secret shape
the Slack bot token (xoxb-…), or {"token": "xoxb-…"}
Resolved by
config.connection_id, else node.connection_id

Configuration

2 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
user
The user id to read (U… or W…). Supports {{ }}.
stringYes———
include_locale
Ask Slack to include each user's locale in the response.
booleanNofalse——

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "include_locale": false
}

Output

One shape.

result

FieldTypeExample
id
The user id (U… or W…).
string—
name
The user's Slack handle.
string—
real_name
The user's display name, when they have set one.
string—
is_bot
True for a bot user.
boolean—
is_admin
True when the user is a workspace admin.
boolean—
deleted
True when the account has been deactivated.
boolean—
tz
The user's timezone, e.g. Europe/London.
string—
email
The user's email, when the token has users:read.email.
string—
title
The job title on the user's profile.
string—
user
The whole user object Slack returned, unmodified.
object—
{
  "deleted": false,
  "email": "",
  "id": "",
  "is_admin": false,
  "is_bot": false,
  "name": "",
  "real_name": "",
  "title": "",
  "tz": "",
  "user": {}
}

Notes

  • The bot must be a member of a private channel before it can act there (Slack answers not_in_channel otherwise).
  • Slack rate-limits each Web API method on its own tier; a throttled call fails with the number of seconds to wait and is safe for the node's retry policy to repeat.

See Get User run in a workflow.

In a technical demo we add the Slack connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.