All Collections
Wrk Action Library
Slack
Retrieve user details in Slack
Retrieve user details in Slack
Wrk Product avatar
Written by Wrk Product
Updated over a week ago

Retrieve user details from Slack.

Application

  • Slack

Inputs (what you have)

Name

Description

Data Type

Required?

Example

User ID

User to get info on

Text(Short)

Yes

W1234567890

Note: the value of inputs can either be a set value in the configuration of the Wrk Action within the Wrkflow, or a variable from the Data library section. These variables in the Data library section are the outputs of previous Wrk Actions in the Wrkflow.


Outputs (what you get)

Name

Description

Data Type

Example

First name

The user's first name

Text(Short)

John

Last name

The user's last name

Text(Short)

Doe

Pronouns

The pronouns the user prefers to be addressed by

Text(Short)

he/him

Display name

The display name chosen by the user in their workspace profile

Text(Short)

John Doe

Real name

The user's first and last name

Text(Short)

John Doe

Title

The user's title

Text(Short)

Software Engineer

Team

The ID of the team the user belongs to

Text(Short)

ABC123

Email

The user's valid email address

Email

johndoe@example.com

Phone

The user's phone number in any format

Phone

+1 123-456-7890

Profile image

The user's profile picture

File

Start date

The date the person joined the organization (only available if Slack Atlas is enabled)

Date

2022-01-01

Status emoji

The displayed emoji for the user's status

Text(Short)

:train:

Status expiration

Date and time of when the status will expire

Date and time

2009-07-20T22:55:29Z

Status text

The displayed text for the user's status

Text(Short)

In a meeting

Deleted?

Indicates whether the user has been deleted

Boolean

True

Has 2FA?

Indicates whether the user has 2FA

Boolean

True

Is admin?

Indicates whether the user is an Admin of the current workspace

Boolean

False

Is app user?

Indicates whether the user is an authorized user of the calling app

Boolean

False

Is bot?

Indicates whether the user is actually a bot user

Boolean

False

Is owner?

Indicates whether the user is an Owner of the current workspace.

Boolean

False

Outcomes

Name

Description

Success

This status is selected in the event of that the details of the channel are returned.

Impossible to Complete

This status is selected in the event of the following scenario:

  • All scenarios in Application Product Design

  • user_not_found error is received

  • The external system is not accessible

  • Unable to access with the provided credentials

  • Unable to perform the requested task with the provided credentials

Requirements

- N/A

Did this answer your question?