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.
Inputs
The fields this action accepts.
Every field can be mapped from an upstream trigger, AI step, table row, or hard-coded literal.
| Field | Type | Required | Description |
|---|---|---|---|
User IDs (sender + recipient) user_ids | array | Required | Array of two user IDs — yourself and the recipient |
Message message | string | Required | – |
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.
Action
Get Mattermost User
Returns a user by ID with profile and team memberships. Useful for resolving user IDs to readable identity in downstream notifications.
ActionList Mattermost Channels
Returns channels in a team that the connected user can see. Useful for channel inventory and for resolving channel IDs at workflow setup.
ActionList Mattermost Teams
Returns teams the connected user is a member of. The base lookup for multi-team workspaces.
ActionList Mattermost Users
Returns users in a team or workspace. Useful for "ping every team member" fan-out workflows or for user directory sync.
ActionSearch Mattermost Posts
Full-text search with channel and date filters. For "find posts mentioning X" archive-search workflows.
ActionSend Mattermost Channel Message
Posts a message to a specific channel with optional attachments (Slack-attachment-style cards). The base hook for "external event → post to team channel" workflows.