Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The Slack connection the step signs in with. |
| ChannelRequired | The answer is a list of user ids. Feed one to the Get user node for a name or an e-mail address. |
| People per call | number |
| Fetch every page | Follows Slack's page cursor, and refuses past 5,000 people rather than answering a short list. |
| Cursor | Paste a previous run's Next cursor to read the page after it. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `slack`) |
channel | texta value from the vendor's own list |
limit | number, by default 200 |
returnAll | true/false, by default false |
cursor | text |
Output
| Field | Type |
|---|---|
membersUser ids | array |
memberCountPeople in this answer | number |
hasMoreMore people are waiting behind this page | boolean |
nextCursorCursor for the next page | string |
Sample output, and the expression for each field
- hasMorefalse
- memberCount0
- members[]
- nextCursor""
Errors
When a step of this node stops a run, the run page shows a code. Look it up:
Example step
The step as a flow file holds it. Replace each value in <…>.
{
"config": {
"channel": "<channel>",
"connection": "<connection id>",
"cursor": "",
"limit": 200,
"returnAll": false
},
"label": "List channel members",
"type": "slack.listChannelMembers",
"version": 2
}Older versions
A flow that already has this version keeps running it. A new step always gets the newest.
Version 1
| Setting | What it is |
|---|---|
| ConnectionRequired | The Slack connection the step signs in with. |
| ChannelRequired | The answer is a list of user ids. Feed one to the Get user node for a name or an e-mail address. |
| People per call | number |
| Fetch every page | Follows Slack's page cursor, and refuses past 5,000 people rather than answering a short list. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `slack`) |
channel | texta value from the vendor's own list |
limit | number, by default 200 |
returnAll | true/false, by default false |