Slack: Update Group Members
Update the list of users in a Slack usergroup via native OAuth integration. Replaces all current members with the specified user IDs. Ideal for: team rotation, on-call schedules, dynamic group management.
Catalog action Integrations slack
Update the list of users in a Slack usergroup via native OAuth integration. Replaces all current members with the specified user IDs. Ideal for: team rotation, on-call schedules, dynamic group management.
At a Glance
| Field | Value |
|---|---|
| Action ID | slack-update-group-members |
| Category | Integrations |
| Connector | slack |
| Requires gas | No |
| Funds movement | None declared |
| Tags | slack, integration, write, team |
Payload Schema
| Field | Type | Required | Description |
|---|---|---|---|
usergroup | string | Yes | Usergroup ID to update (e.g., S0123456789) |
users | string | Yes | Comma-separated list of user IDs to set as the group's members (replaces existing members) |
Result Schema
| Field | Type | Required | Description |
|---|---|---|---|
success | boolean | Yes | - |
data | object | No | - |
Examples
json{ "type": "slack-update-group-members", "payload": { "usergroup": "example-usergroup", "users": "example-users" }, "children": [], "connector": { "type": "slack", "id": "conn_slack" }}
bashcurl -X POST "https://api.b3os.org/v1/actions/slack-update-group-members/test" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "inputs": { "usergroup": "example-usergroup", "users": "example-users" }}'
Payload fields can use workflow expressions such as {{$trigger.body.amount}}, {{$nodes.fetch.result.price}}, and {{$props.asset}} when the value should come from a trigger, prior node, or reusable workflow prop.
