Mattermost

Open-source, self-hostable online chat service

Integrate the Mattermost API with the Formatting API

Setup the Mattermost API trigger to run a workflow which integrates with the Formatting API. Pipedream's integration platform allows you to integrate Mattermost and Formatting remarkably fast. Free for developers.

[Data] Convert JSON to String with Formatting API on New Message Sent in Channel (Instant) from Mattermost API
Mattermost + Formatting
 
Try it
[Data] Parse JSON with Formatting API on New Message Sent in Channel (Instant) from Mattermost API
Mattermost + Formatting
 
Try it
[Date/Time] Add/Subtract Time with Formatting API on New Message Sent in Channel (Instant) from Mattermost API
Mattermost + Formatting
 
Try it
[Date/Time] Compare Dates with Formatting API on New Message Sent in Channel (Instant) from Mattermost API
Mattermost + Formatting
 
Try it
[Date/Time] Format with Formatting API on New Message Sent in Channel (Instant) from Mattermost API
Mattermost + Formatting
 
Try it
New Message Sent in Channel (Instant) from the Mattermost API

Emit new event when a message matching the requirements is sent in a channel. See the documentation

 
Try it
[Data] Convert JSON to String with the Formatting API

Convert an object to a JSON format string

 
Try it
Post Message with the Mattermost API

Create a new post in a channel See docs here

 
Try it
[Data] Parse JSON with the Formatting API

Parse a JSON string

 
Try it
[Date/Time] Add/Subtract Time with the Formatting API

Add or subtract time from a given input

 
Try it
[Date/Time] Compare Dates with the Formatting API

Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.

 
Try it

Overview of Mattermost

Mattermost is an open-source platform for secure collaboration across the entire software development lifecycle. With the Mattermost API on Pipedream, you can automate common chat operations, integrate with DevOps tools for real-time alerts, orchestrate workflows based on chat events, and connect with other services to enhance team productivity. For instance, you could trigger actions on issue tracking platforms when discussing bugs or link project management tools to update task statuses directly from your Mattermost channels.

Connect Mattermost

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    mattermost: {
      type: "app",
      app: "mattermost",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://${this.mattermost.$auth.domain}/api/v4/users/me`,
      headers: {
        Authorization: `Bearer ${this.mattermost.$auth.oauth_access_token}`,
      },
    })
  },
})

Connect Formatting

1
2
3
4
5
6
export default defineComponent({
  async run({ steps, $ }) {
    const text = ' Hello world! ';
    return text.trim()
  },
})