Actions44
- Channel Actions
- File Actions
- Message Actions
- Reaction Actions
- Star Actions
- User Actions
- User Group Actions
User Group → Create
AI-generatedSummary
Create a new Slack User Group with a unique name, optional handle, description, default channel associations, and an option to include the user count in the response.
Inputs
- Name (required) — A unique name for the User Group.
- Handle — A unique mention handle for the User Group, distinct from channels and users.
- Description — A short description of the User Group.
- Channel Names or IDs — A selection of Slack channel IDs or names to set as the default channels for the User Group.
- Include Count — Whether to include the number of users in the User Group in the response; defaults to true.
Output shape
a single JSON object representing the newly created User Group
The response includes details of the created User Group. The 'include_count' option controls presence of user count in the returned data. Errors will surface on validation issues such as non-unique names or handles.
Examples
Example 1: Create a User Group named 'dev-team' with a custom handle '@devs', description, associated channels, and include user count in response
Set Name to 'dev-team', Handle to 'devs', Description as desired, select desired Channels under 'Channel Names or IDs', and leave 'Include Count' as true.