ActionMattermostUpdated September 2026

How do I send a Mattermost DM?

Short answer: You can send mattermost dm in Mattermost by hand from its own interface, but it won’t repeat itself. On TinyCommand, add the Mattermost Send Mattermost DM action to a workflow, map its 2 inputs from any upstream app, and it runs automatically every time the trigger fires. No code, and a free tier to start.

Send Mattermost DM in Mattermost — start free
Inputs

The fields this action accepts.

Every field can be mapped from an upstream trigger, AI step, table row, or hard-coded literal.

FieldTypeRequiredDescription
User IDs (sender + recipient)
user_ids
arrayRequiredArray of two user IDs — yourself and the recipient
Message
message
stringRequired
Sample request
{
"user_ids": "{{trigger.user_ids}}",
"message": "{{trigger.message}}"
}
Returns
{
"id": "channel_abc",
"type": "D"
}

Use these fields in downstream nodes for routing, logging, or error handling.

Triggered by

Apps that pair well as the trigger for Send Mattermost DM.

Any of these apps can fire this action as part of a workflow.

FAQ

Questions about Send Mattermost DM.

What does the Send Mattermost DM action do in Mattermost?
Sends a 1:1 or group DM by passing user IDs. Auto-creates the DM channel if needed. For "alert specific person" notification patterns.
What inputs does Send Mattermost DM require?
Required: User IDs (sender + recipient), Message. Every input accepts a static value or a variable from any upstream node in your workflow.
Can I use dynamic inputs from earlier workflow nodes?
Yes. Any field on this action can pull values from upstream nodes, whether that's a form response, a trigger payload, an AI output, or a lookup result.
What happens if Mattermost returns an error?
The run history shows the failed step with its input and the error message Mattermost returned, so you can fix the input and run the workflow again. Automatic retries are built into HTTP steps only, where you can also set your own retry count and delay.
Does Send Mattermost DM support batch operations?
Run Send Mattermost DM inside a loop to process each item in an array. TinyCommand does not throttle calls for you, so for large arrays add a Delay step if you need to stay within Mattermost's rate limits.
More actions

Other Mattermost actions.

Send Mattermost DM in Mattermost — start free