Invite User to Channel

Invite a user to a Slack channel.

Options

Field Definition Type Required

Channel

List of available channels.

Dropdown TRUE

Field Type

Choose whether to invite user by User ID or Username.

Organizations with a large number of users may experience long execution times when selecting Username. Instead, select User ID to reduce execution time.

Dropdown TRUE

Input

Field Definition Type Required

Invite

User ID

Unique identifier of the user you want to invite. This field appears when Field Type is set to User ID.

Text TRUE

Username

Username of the user you want to invite. This field appears when Field Type is set to Username.

Text TRUE

Channel

Channel ID

Unique identifier of the Slack channel. This field appears when Channel is set to -- Enter Channel ID --.

Text TRUE

Output

Field Definition Type

Status Code

Result of the operation. The connector returns an HTTP status code that indicates whether the action taken by the card succeeded or failed. For example:

  • A 201 Created status code indicates success where a new resource was created.
  • A 403 Forbidden error indicates that the HTTP request wasn't processed because the necessary permissions were missing.

For a full list of possible status codes, see HTTP status codes.

Number