Skip to content

Start building

Integration · Team chat

AI agents for Mattermost

Post messages and thread replies to Mattermost channels and direct messages, read a channel's recent posts or a whole thread, search posts, and look up teams, channels and people.

Actions
10
Read
8
Write
2

Actions

What your agents can do in Mattermost

Post messages and thread replies to Mattermost channels and direct messages, read a channel's recent posts or a whole thread, search posts, and look up teams, channels and people, on your own Mattermost server or Mattermost Cloud.

Read 8

Look things up. Nothing changes.

  • Who am I

    Reads the account the token belongs to: id (needed for create_direct_channel), username, first_name, last_name, nickname, email, roles and timezone.

  • List my teams

    Lists the teams the account belongs to: each with id (for list_channels and search_posts), name (the URL name), display_name, description and type (O open, I invite only).

  • List my channels in a team

    Lists every channel of a team the account is a member of: each with id (for create_post and list_posts), name, display_name, type.

  • Find a channel by name

    Finds a channel by its team's URL name and its own URL name (the parts of its address: /acme/channels/town-square is team acme, channel town-square).

  • Read a channel's posts

    Reads a page of a channel's posts, newest first: order[] holds post IDs in order and posts maps each ID to its post.

  • Read a thread

    Reads a post and every reply in its thread: order[] (post IDs) and posts (each post's message, user_id, create_at).

  • Search posts

    Searches a team's posts the account can see.

  • Find a person by username

    Reads a user by username (without the @): id (for create_direct_channel), username, first_name, last_name, nickname, email (if the server shows it) and locale.

Write 2

Create, change or send.

  • Post a message

    Posts a message (Markdown allowed, up to 16,383 characters) to a channel or direct-message channel as the token's user or bot.

  • Open a direct message

    Opens (or returns the existing) direct-message channel between the account (my_user_id, from get_me) and another user (user_id, from get_user_by_username).

A person can approve first

Any write action can be set to wait for a person's approval before it runs, so an agent asks before it changes anything.

Connection

How it connects

Connect it once in the console, then give it to the agents and workflows that need it.

API key

Paste an API key from your Mattermost account.

What you enter

  • Access token

Settings

  • Server address

Kept safe

  • Credentials are stored encrypted with your organization's own keys.
  • They are opened only by the process that makes the call, at the moment it runs, and never go into a prompt or the browser.
  • Calls go only to the tool's own servers.

How we protect your data

Ideas

Ideas to start with

Starting points made only from the actions above. Mix them with any other tool your agents can use.

  • 01

    Ask about your Mattermost data

    Ask a question in plain words. The agent can list my teams, list my channels in a team or find a channel by name in Mattermost, then answers with what it found.

  • 02

    Let an agent update Mattermost

    Have the agent post a message or open a direct message in Mattermost as part of a larger task. Turn on approval and a person signs off on each change first.

  • 03

    Work from your CRM

    Give one agent HubSpot and Mattermost: it can search contacts in HubSpot and post a message in Mattermost in the same run.

FAQ

Mattermost and MyDeepAgents

Can MyDeepAgents connect to Mattermost?

Yes. The Mattermost connector has 10 actions: 8 read and 2 make changes. Your agents can call them as tools, and your workflows can run them as steps.

How do I connect Mattermost?

Paste an API key from your Mattermost account. You'll need: Access token. The connection also asks for: Server address. Credentials are stored encrypted with your organization's own keys and are opened only at the moment of a call.

Can an agent change data in Mattermost without asking?

Only if you let it. Each of the 2 actions that change data can be set to wait for a person's approval before it runs.

Can I use Mattermost in workflows as well as agents?

Yes. Every Mattermost action also works as a step in a workflow, and the same connection serves your agents and your workflows.

Early access

Put Mattermost to work

Connect it in a few minutes, give an agent the actions it needs, and decide which changes wait for a person.