You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 04322e0
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: apps/docs/content/docs/integrations/slack.mdx
+9-6Lines changed: 9 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -956,7 +956,7 @@ Rename the Slack agent session associated with a thread.
956
956
957
957
### Slack List Channels
958
958
959
-
List accessible Slack conversations. Credential-group user tokens also return one-to-one and group direct messages.
959
+
List up to 10,000 accessible Slack conversations across as many cursor pages as Slack supplies, capped at 200 provider pages. Credential-group user tokens also return one-to-one and group direct messages.
960
960
961
961
#### Input
962
962
@@ -966,14 +966,15 @@ List accessible Slack conversations. Credential-group user tokens also return on
966
966
|`botToken`| string | No | Bot token for Custom Bot |
967
967
|`includePrivate`| boolean | No | Include private channels the bot is a member of \(default: true\)|
968
968
|`excludeArchived`| boolean | No | Exclude archived channels \(default: true\)|
969
-
|`limit`| number | No | Maximum number of channels to return \(default: 100, max: 200\)|
970
-
|`cursor`| string | No | Pagination cursor from a previous response.next_cursor |
969
+
|`limit`| number | No | Conversations to request per Slack page \(default: 100, max: 200\)|
970
+
|`cursor`| string | No | Pagination cursor from a previous response.nextCursor to resume from |
971
+
|`maxPages`| number | No | Maximum number of Slack pages to fetch \(default: 200, max: 200\)|
971
972
972
973
#### Output
973
974
974
975
| Parameter | Type | Description |
975
976
| --------- | ---- | ----------- |
976
-
|`channels`| array |Accessible public and private channels, plus direct and group DMs for credential-group user tokens |
977
+
|`channels`| array |Up to 10,000 accessible public and private channels, plus direct and group DMs for credential-group user tokens |
977
978
| ↳ `id`| string | Conversation ID \(for example, C123, D123, or G123\)|
978
979
| ↳ `name`| string | Channel or group-DM name; omitted for one-to-one direct messages |
979
980
| ↳ `is_channel`| boolean | Whether this is a channel |
@@ -999,8 +1000,10 @@ List accessible Slack conversations. Credential-group user tokens also return on
999
1000
| ↳ `priority`| number | Slack sidebar sort priority |
1000
1001
|`ids`| array | Conversation IDs for every returned channel or DM |
1001
1002
|`names`| array | Names of returned channels and group DMs; one-to-one DMs have no name |
1002
-
|`count`| number | Total number of conversations returned |
1003
-
|`nextCursor`| string | Cursor for the next page; null if no more pages |
1003
+
|`count`| number | Total number of conversations returned across all fetched pages, up to 10,000 |
1004
+
|`hasMore`| boolean | Whether more Slack conversation pages remain beyond the fetched window |
1005
+
|`nextCursor`| string | Cursor to fetch the next page; null when there are no more pages |
1006
+
|`pages`| number | Number of Slack conversation pages fetched in this invocation |
description: 'Number of pages fetched during a paginated history/replies read',
2643
+
description: 'Number of provider pages fetched during a paginated read',
2610
2644
},
2611
2645
threadTs: {
2612
2646
type: 'string',
@@ -2623,7 +2657,7 @@ Return ONLY the integer Unix timestamp - no explanations, no quotes, no extra te
2623
2657
channels: {
2624
2658
type: 'json',
2625
2659
description:
2626
-
'Array of accessible conversation objects. Credential-group user tokens also include direct and group DMs, with type fields (is_channel, is_im, is_mpim) and DM participant field user.',
2660
+
'Array of up to 10,000 accessible conversation objects. Credential-group user tokens also include direct and group DMs, with type fields (is_channel, is_im, is_mpim) and DM participant field user.',
0 commit comments