List Channels

mattermost.list_channels
ActionChat & messagingconnection required

Calls the Mattermost API with the connection's credentials.

List a team's public channels, one page at a time.

Connection

Required
Yes — the node will not save without one
Auth type
Bearer token
Providers
Mattermost
Secret shape
the personal access token, or {"token": "…"}
Config it needs
base_url, team_id
Resolved by
config.connection_id, else node.connection_id

Configuration

3 fields, none required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
team_id
The team to work in. Defaults to the team id set on the connection.
stringNo———
page
Zero-based page number.
numberNo0≥ 0—
per_page
How many objects to return per page; Mattermost allows at most 200.
numberNo601–200—

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "page": 0,
  "per_page": 60
}

Output

One shape.

result

FieldTypeExample
items
The objects on this page, as Mattermost returned them.
array—
count
How many objects this page contains.
number—
{
  "count": 0,
  "items": []
}

See List Channels run in a workflow.

In a technical demo we add the Mattermost connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.