Send Typing Notification

matrix.send_typing
ActionChat & messagingconnection required

Calls the Matrix API with the connection's credentials.

Show or clear the account's typing indicator in a room.

Connection

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

Configuration

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

FieldTypeRequiredDefaultConstraintsExample
room_id
The room id, e.g. !AbCdEf:example.org. Falls back to the connection's default room; resolve a #alias:server with matrix.resolve_room_alias.
stringNo——!AbCdEf:example.org
typing
True starts the indicator, false clears it.
booleanNotrue——
timeout_ms
How long the indicator stays up, in milliseconds; only sent when typing is true.
numberNo—≥ 0—
user_id
Whose indicator to set; defaults to the connection's own account.
stringNo———

Example configuration

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

{
  "room_id": "!AbCdEf:example.org",
  "typing": true
}

Output

One shape.

result

FieldTypeExample
room_id
The room the indicator was set in.
string—
user_id
The account the indicator belongs to.
string—
typing
The state that was set.
boolean—
{
  "room_id": "",
  "typing": false,
  "user_id": ""
}

Notes

  • The connection's base_url is the homeserver (e.g. https://matrix.example.org), not the account's server name; the two differ whenever .well-known delegation is in use.
  • Rooms are addressed by room id (!abc:server). Resolve a #alias:server with matrix.resolve_room_alias first, or set a default room on the connection.

See Send Typing Notification run in a workflow.

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