Skip to main content

Set User Profile

danger

This action has been deprecated and will no longer be available in new workflows.

Set the profile information for a user.

note

This action is only available when using Slack User or User Token connection method. For more details, refer to Using Slack User and Connecting using a new application.

External Documentation

To learn more, visit the Slack documentation.

Parameters

ParameterDescription
Field NameName of a single key to set. Usable only if Fields are not passed.
Field ValueValue of a single key to set. Usable only if Fields are not passed.
FieldsA JSON object of key:value pairs of fields to set for the user. At most 50 fields may be set. Each field name is limited to 255 characters.
User IDID of user to change. This argument may only be specified by team admins on paid teams.

Example Output

{
"ok": true,
"profile": {
"avatar_hash": "ge3b51ca72de",
"display_name": "spengler",
"display_name_normalized": "spengler",
"email": "spengler@ghostbusters.example.com",
"image_192": "https://.../avatar/e3b51ca72dee4ef87916ae2b9240df50.jpg",
"image_24": "https://.../avatar/e3b51ca72dee4ef87916ae2b9240df50.jpg",
"image_32": "https://.../avatar/e3b51ca72dee4ef87916ae2b9240df50.jpg",
"image_48": "https://.../avatar/e3b51ca72dee4ef87916ae2b9240df50.jpg",
"image_512": "https://.../avatar/e3b51ca72dee4ef87916ae2b9240df50.jpg",
"image_72": "https://.../avatar/e3b51ca72dee4ef87916ae2b9240df50.jpg",
"real_name": "Egon Spengler",
"real_name_normalized": "Egon Spengler",
"status_emoji": ":books:",
"status_expiration": 0,
"status_text": "Print is dead",
"team": "T012AB3C4"
}
}

Workflow Library Example

Set User Profile with Slack and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop