Slack: Get User Info
Controlled node
Overview
Retrieves detailed information about a specific Slack user using the Slack Web API. This node requires a configured Slack connection and a valid user ID to fetch profile data including name, email, timezone, and status information.
This node requires a Slack connection to be configured in your project settings. Use the Connections property panel to select a pre-configured Slack workspace connection.
Inputs
| Input | Type | Description | Default |
|---|---|---|---|
| Run | Event | Triggers the node to fetch user information. | - |
| User ID | Text | The Slack user ID (e.g., U1234567890) of the user to look up. | - |
| Connections | Connection | The Slack workspace connection to use (configured in properties panel). | - |
Outputs
| Output | Type | Description |
|---|---|---|
| Done | Event | Fires when the user information has been successfully retrieved. |
| User Info | Data | An object containing the Slack user's profile information including id, name, real_name, email, tz (timezone), status, and other profile fields. Returns an error object if the request fails. |
Runtime Behavior
When triggered by the Run event, this node makes an authenticated request to the Slack Web API using the configured connection. It validates that:
- A project ID is available (inherited from the workflow runtime)
- A Slack connection is selected
- A valid
userIdis provided
If any validation fails, the node outputs an error object via the User Info output and does not fire the Done event.
On success, the User Info output contains the full Slack user profile as returned by the users.info Slack API method, and the Done event fires to trigger downstream nodes.
Example Usage
Basic User Lookup:
- Connect a Text node or Plain Text node to the User ID input with a Slack user ID (e.g.,
U1234567890) - Configure the Connections property in the panel UI to select your Slack workspace
- Trigger the Run input with an event (e.g., from a Start node or button click)
- Connect the User Info output to a Show node to display the user's profile, or use Get Value to extract specific fields like
emailorreal_name
Error Handling: Connect the User Info output to an If node to check for errors before processing:
- Condition:
userInfo.erroris not null - True branch: Handle error (e.g., show "User not found" message)
- False branch: Process user data (e.g.,
userInfo.real_name)