Skip to main content
listPublicChannels returns one cursor-paginated page of public channels. Use it to populate a channel picker or discover IDs for later actions.

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 bot can only see public channels exposed to its installation and scopes.