List User Conversations
slack.list_user_conversations
ActionChat & messagingconnection required
Calls the Slack Web API with the connection's bot token.
Page through the channels and DMs a user belongs to.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- Slack
- Secret shape
- the Slack bot token (xoxb-…), or {"token": "xoxb-…"}
- Resolved by
- config.connection_id, else node.connection_id
Configuration
6 fields, none required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
user The user id to browse. Omit for the conversations this bot is in. | string | No | — | — | — |
types Conversation types to include. | string | No | public_channel | one of "public_channel", "private_channel", "im", "mpim", "public_channel,private_channel" | — |
exclude_archived Leave archived channels out of the results. | boolean | No | true | — | — |
limit Maximum conversations to return on this page (1-999). | number | No | 100 | 1–999 | — |
cursor The next_cursor from a previous page. | string | No | — | — | — |
team_id Workspace to browse. Only needed with an org-wide token. | string | No | — | — | — |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"exclude_archived": true,
"limit": 100,
"types": "public_channel"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
channels[].id The channel id (C…, G… or D…). | string | — |
channels[].name The channel name, without the leading #. | string | — |
channels[].is_private True for a private channel. | boolean | — |
channels[].is_archived True when the channel is archived. | boolean | — |
channels[].num_members How many members Slack reports, when it reports one. | number | — |
count How many conversations this page carries. | number | — |
next_cursor Cursor for the next page, or empty when done. | string | — |
{
"channels": [
{
"id": "",
"is_archived": false,
"is_private": false,
"name": "",
"num_members": 0
}
],
"count": 0,
"next_cursor": ""
}Notes
- The bot must be a member of a private channel before it can act there (Slack answers not_in_channel otherwise).
- Slack rate-limits each Web API method on its own tier; a throttled call fails with the number of seconds to wait and is safe for the node's retry policy to repeat.
Templates that use Slack
See List User Conversations run in a workflow.
In a technical demo we add the Slack connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.