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.

FieldTypeRequiredDefaultConstraintsExample
page
Zero-based page number.
numberNo0≥ 0—
per_page
How many objects to return per page; Mattermost allows at most 200.
numberNo601–200—
in_team
Only users on this team id.
stringNo———
in_channel
Only users in this channel id.
stringNo———
active
Only active (not deactivated) users.
booleanNo———

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 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.