Add someone to a user group.
Schema.slack.functions.AddUserToUsergroup
slack#/functions/add_user_to_usergroup
S0614TZR7
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!
const addUserToUsergroupStep = ExampleWorkflow.addStep(
Schema.slack.functions.AddUserToUsergroup,
{
usergroup_id: "S04UZRV61T8",
user_ids: ["U0R36M8T62", "U0J46F228L0"],
},
);