Get Users in Channel
Retrieve the members of a Slack channel.
While members of a public channel may be retrieved by non-members of that channel, the authenticated user who invokes this card in a flow must be a member of a private channel to retrieve its members.
If your workspace has a large number of channels, this card may exceed the 60 second time limit while trying to populate the Channel dropdown list. This timeout can also occur when testing a card.
Options
Field | Definition | Type | Required |
---|---|---|---|
Channel |
List of available channels.
This field shows a maximum of 200 public channels and 200 private channels. Even if the number of public or private channels is fewer than 200, API limitations may prevent some channels from appearing in the Channel dropdown list. The dropdown displays only unarchived channels where the user who created the Slack connection is a member. To specify an unlisted public or private channel, select the Enter Channel ID option and enter the Channel ID. If a failure occurs and no channels are listed in the dropdown, then only the Enter Channel ID option appears. |
Dropdown |
TRUE |
Input
Field | Definition | Type | Required |
---|---|---|---|
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 |
---|---|---|
User ID |
Unique identifier of the user. |
List of Text |