Update User Group

slack.update_usergroup
ActionChat & messagingconnection required

Calls the Slack Web API with the connection's bot token.

Change a user group's name, handle, description or default channels.

Connection

Required
Yes — the node will not save without one
Auth type
API key
Providers
Slack
Secret shape
the Slack bot token (xoxb-…), or {"token": "xoxb-…"}
Resolved by
config.connection_id, else node.connection_id

Configuration

7 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
usergroup
The user group id (S…), as emitted by slack.list_usergroups.
stringYes———
name
A new display name for the group.
stringNo———
handle
A new @-mention handle.
stringNo———
description
A new description.
stringNo———
channels
Comma-separated channel ids the group is a default for.
stringNo———
include_count
Ask Slack to include the member count in the response.
booleanNofalse——
team_id
Workspace the group lives in. Only needed with an org-wide token.
stringNo———
  • At least one of name, handle, description, channels must be set.

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "include_count": false
}

Output

One shape.

result

FieldTypeExample
id
The user group id (S…).
string—
name
The group's display name.
string—
handle
The @-mention handle, without the @.
string—
description
The group's description.
string—
team_id
The workspace the group belongs to.
string—
user_count
How many members Slack reports, when it reports one.
number—
date_delete
Non-zero when the group is disabled.
number—
{
  "date_delete": 0,
  "description": "",
  "handle": "",
  "id": "",
  "name": "",
  "team_id": "",
  "user_count": 0
}

Notes

  • The bot must be a member of a private channel before it can act there (Slack answers not_in_channel otherwise).
  • Slack rate-limits each Web API method on its own tier; a throttled call fails with the number of seconds to wait and is safe for the node's retry policy to repeat.

See Update User Group run in a workflow.

In a technical demo we add the Slack connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.