Slack:Get User Info
Controlled node
Overview
Read a Slack user’s profile and account details.
Retrieve information about a Slack user by their user ID.
Inputs
| Input | Type | Description |
|---|---|---|
| run | Event | Triggers this operation. |
| userId | Text | Required Slack user ID, such as U1234567890. A history message’s user field can supply it. |
Properties
| Setting | Type | Description |
|---|---|---|
| connections | Connection | Select an authenticated Slack connection from this project. Channel access depends on that connection’s permissions and membership. |
Outputs
| Output | Type | Description |
|---|---|---|
| userInfo | Data | The user object itself, or an object with error on failure. Fields can include id, name, real_name, is_bot and profile; availability depends on Slack permissions. |
| done | Event | Fires when the node returns, including when it returns an error result. Check the data output before continuing. |
Do not assume every profile includes an email address or display name. Read the fields present in the returned object.
Example
Take user from a message returned by Get Conversation History and supply it as userId. Select the same connection and trigger run. On done, inspect userInfo or extract profile.display_name with Get Value.