Skip to main content

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​

InputTypeDescription
runEventTriggers this operation.
userIdTextRequired Slack user ID, such as U1234567890. A history message’s user field can supply it.

Properties​

SettingTypeDescription
connectionsConnectionSelect an authenticated Slack connection from this project. Channel access depends on that connection’s permissions and membership.

Outputs​

OutputTypeDescription
userInfoDataThe 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.
doneEventFires 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.

Project connections