Get Channel

mattermost.get_channel
ActionChat & messagingconnection required

Calls the Mattermost API with the connection's credentials.

Fetch one channel by its id.

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

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

FieldTypeRequiredDefaultConstraintsExample
channel_id
The channel to fetch.
stringYes———

Output

One shape.

result

FieldTypeExample
id
The channel id — what the post ops need.
stringchn123456789
team_id
The team the channel belongs to.
string—
name
The channel handle used in its URL.
stringtown-square
display_name
The channel name shown in the UI.
string—
type
'O' public, 'P' private, 'D' direct, 'G' group.
string—
header
The channel header text.
string—
purpose
The channel purpose text.
string—
create_at
Creation time, in milliseconds since the epoch.
number—
{
  "create_at": 0,
  "display_name": "",
  "header": "",
  "id": "chn123456789",
  "name": "town-square",
  "purpose": "",
  "team_id": "",
  "type": ""
}

See Get Channel 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.