Skip to main content
slack.listPublicChannels returns one page of public channels and their IDs.

Example

automations/list-slack-channels.automation.ts

Inputs

Every input also accepts a compatible Signal.

Output

Returns Signal<{ conversations: SlackConversation[]; responseMetadata: { nextCursor?: string } }>. Each conversation includes id, optional name, membership and privacy flags, creation and creator metadata, optional topic and purpose, and optional member count. Pass responseMetadata.nextCursor back as cursor to continue. The result includes only public channels allowed by the bot installation and scopes.