A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://api.slack.com/reference/functions/add_user_to_usergroup below:

add_user_to_usergroup Function | Slack

Add a user to a user group

Facts Schema ID

Schema.slack.functions.AddUserToUsergroup

Schema reference

slack#/functions/add_user_to_usergroup

Input parameters Required parameters

The ID for the user group to add the user to

A list of user IDs to add to the User Group

Optional parameters

Output parameters Optional parameters

The ID for the user group that now contains the added user(s)

Usage guide

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

Here is an example of how to use this function in a workflow step.

// TypeScript

const addUserToUsergroupStep = ExampleWorkflow.addStep(
  Schema.slack.functions.AddUserToUsergroup,
  {
    usergroup_id: "S04UZRV61T8",
    user_ids: ["U0R36M8T62", "U0J46F228L0"],
  },
);

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4