Update group members
The Slack Update Group Members tool enables seamless management of Slack user groups by allowing you to efficiently add or remove members with ease. It integrates directly with Slack's API to keep your team organized and up-to-date.
Features
- Direct integration with Slack's user groups API for real-time updates.
- Supports adding multiple users to a user group through encoded user IDs.
- Allows removal of specific users from a user group to maintain accuracy.
- Handles encoded team IDs when using organization tokens for secure operations.
- Provides clear input schema to ensure the proper format for users to add or remove.
Benefits
- Streamlines team management and collaboration within Slack.
- Reduces manual effort and errors in updating user groups.
- Enhances communication efficiency by keeping user groups current.
- Supports automated workflows by integrating with platforms like Pipedream.
- Ensures secure and accurate updates through validated input formats.
Description
Update the list of users for a User Group. See the documentation
IMPORTANT: The arguments have specific formats. Please follow the instructions below:
- usersToAdd: Return JSON in this format: string[]
- usersToRemove: Return JSON in this format: string[]
Parameters
4 parameters
| Name | Type | Description |
|---|---|---|
| userGrouprequired | string | The encoded ID of the User Group. |
| usersToAdd | string[] | A list of encoded user IDs that represent the users to add to the group. |
| usersToRemove | string[] | A list of encoded user IDs that represent the users to remove from the group. |
| team | string | Encoded team id where the user group exists, required if org token is used. |