For the complete documentation index, see llms.txt. This page is also available as Markdown.

GetUserInfo

Task to retrieve information about a Slack user.

Task version: 1.0.0

Required Frends version: 5.7+

Required .NET version: 8.0

Compatible Agents: Crossplatform

Task Parameters

Name
Description

UserId : String

The unique Slack user ID of the person whose information you want to retrieve.

Default: - Example: U0A1BC2DE

Name
Description

🗝Token : String

Slack OAuth token used for authentication.

If the token is a bot token (starts with "xoxb"), messages

will be updated as the Slack app's bot user.

If the token is a user token (starts with "xoxp"), messages

will be updated as the Slack user who authorized the token.

The token owner must be the original message poster

or have appropriate permissions to edit the message.

Note: User tokens require the user to have authorized the app via OAuth

with appropriate scopes (e.g., "chat:write").

Default: - Example: xoxb-123456789

Name
Description

ThrowErrorOnFailure : Boolean

Whether to throw an error on failure.

Default: True Example: false

ErrorMessageOnFailure : String

Overrides the error message on failure.

Default: - Example: Custom error message

Task Result

Name
Description

Success : Boolean

Indicates if the task completed successfully. Example: true

User : User

The Slack user information retrieved by the task. Example: { "Id": "U012A3CDE", "Name": "john.doe", "RealName": "John Doe", "IsAdmin": true, "Email": "john.doe@example.com" }

Error : Error

Error that occurred during task execution. Example: object { string Message, object { Exception Exception } AdditionalInfo }

Task Changelog

Changelog for Task Frends.Slack.GetUserInfo.

[1.0.0] - 2025-08-04

Added

  • Initial implementation

Last updated

Was this helpful?