Find User by Email
mattermost.get_user_by_email
ActionChat & messagingconnection required
Calls the Mattermost API with the connection's credentials.
Look up a user by email address and return their profile.
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.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
email The user's email address. | string | Yes | — | email format | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
id The user id — what memberships, DMs and reactions need. | string | — |
username The Mattermost username. | string | jane.doe |
email The user's email address, when the token may see it. | string | — |
first_name The user's first name. | string | — |
last_name The user's last name. | string | — |
nickname The user's nickname. | string | — |
roles Space-separated role names, e.g. 'system_user'. | string | — |
{
"email": "",
"first_name": "",
"id": "",
"last_name": "",
"nickname": "",
"roles": "",
"username": "jane.doe"
}See Find User by Email 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.