This is reference content about building functions and workflows. Learn more if you're not yet familiar with this new Slack platform paradigm.


Add someone to a user group.


Schema ID


Schema reference


Required scopes

Input parameters

Required parameters
The ID for the user group to add the user to
  • S0614TZR7
A list of user IDs to add to the User Group
  • ["U12Z4A6","UZ3122356"]
Optional parameters

Output parameters

Optional parameters
The ID for the user group that now contains the added user(s)
  • S0614TZR7

Usage guide

Add user to user group

Your workspace has user groups and you want to automate adding users to them in workflows? This function is here to make your user groups grow!

Example workflow step

const addUserToUsergroupStep = ExampleWorkflow.addStep(
    usergroup_id: "S04UZRV61T8",
    user_ids: ["U0R36M8T62", "U0J46F228L0"],