List Users
mattermost.list_users
ActionChat & messagingconnection required
Calls the Mattermost API with the connection's credentials.
List users, optionally only those in one team or channel.
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
5 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 |
|---|---|---|---|---|---|
page Zero-based page number. | number | No | 0 | ≥ 0 | — |
per_page How many objects to return per page; Mattermost allows at most 200. | number | No | 60 | 1–200 | — |
in_team Only users on this team id. | string | No | — | — | — |
in_channel Only users in this channel id. | string | No | — | — | — |
active Only active (not deactivated) users. | boolean | No | — | — | — |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"page": 0,
"per_page": 60
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
items The objects on this page, as Mattermost returned them. | array | — |
count How many objects this page contains. | number | — |
{
"count": 0,
"items": []
}See List Users 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.