Skip to main content

Slack:List Conversations

Controlled node

Overview​

Find Slack conversations and continue with a cursor.

List public channels, private channels, direct messages and group direct messages accessible to the selected Slack connection.

Inputs​

InputTypeDescription
runEventTriggers this operation.
limitNumberRequested items per page. Use a positive integer up to 200. Defaults to 200; Slack may return fewer.
maxPagesNumberMaximum pages to fetch in this run. Use an integer from 1 to 5. Defaults to 5.
cursorTextOptional continuation cursor from the previous result’s nextCursor. Leave unset for the first request.

Properties​

SettingTypeDescription
connectionsConnectionSelect an authenticated Slack connection from this project. Channel access depends on that connection’s permissions and membership.

Outputs​

OutputTypeDescription
conversationsDataObject containing a conversations array and nextCursor. On failure, an object with error. This output is not itself an array.
doneEventFires when the node returns, including when it returns an error result. Check the data output before continuing.

Pagination​

The node requests up to limit × maxPages items, with a maximum of 1,000 per run. The actual count can be lower. Pass nextCursor into a later run’s cursor to continue; null means there is no further cursor.

Conversation entries include id and other Slack details, such as name for channels. Use the id, not a channel’s display name, in other Slack nodes.

Example​

Set limit: 100 and maxPages: 1, select the connection and trigger run. On done, inspect the result. Use Get Value with path conversations to extract the array before passing it to For Each → object. Extract nextCursor separately if you need another page.

Project connections