Rocket Chat

The Ultimate Communication Platform

Integrate the Rocket Chat API with the Formatting API

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

[Data] Convert JSON to String with Formatting API on New Channel Created from Rocket Chat API
Rocket Chat + Formatting
 
Try it
[Data] Convert JSON to String with Formatting API on New Message in Public Channel from Rocket Chat API
Rocket Chat + Formatting
 
Try it
[Data] Convert JSON to String with Formatting API on New User Created from Rocket Chat API
Rocket Chat + Formatting
 
Try it
[Data] Parse JSON with Formatting API on New Channel Created from Rocket Chat API
Rocket Chat + Formatting
 
Try it
[Data] Parse JSON with Formatting API on New Message in Public Channel from Rocket Chat API
Rocket Chat + Formatting
 
Try it
New Channel Created from the Rocket Chat API

Emit new event when a new channel is created in RocketChat.

 
Try it
New Message in Public Channel from the Rocket Chat API

Emit new event when a new message is posted to a specific public channel.

 
Try it
New User Created from the Rocket Chat API

Emit new event when a new user is created in RocketChat.

 
Try it
Create Channel with the Rocket Chat API

Creates a new 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
[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 Rocket Chat

Rocket Chat is a customizable and open-source team chat platform that's a popular alternative for team communication. With its API, you can automate a variety of tasks, such as sending messages, creating channels, managing users, and integrating with various services for a seamless workflow. Leveraging Pipedream's capabilities, you can use Rocket Chat API to create intricate workflows and connect them with other apps to streamline communication, trigger actions based on messages, and synchronize data across platforms.

Connect Rocket Chat

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    rocket_chat: {
      type: "app",
      app: "rocket_chat",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://${this.rocket_chat.$auth.domain}/api/v1/me`,
      headers: {
        "X-Auth-Token": `${this.rocket_chat.$auth["X-Auth-Token"]}`,
        "X-User-Id": `${this.rocket_chat.$auth["X-User-Id"]}`,
      },
      params: {
        userId: `${this.rocket_chat.$auth["X-User-Id"]}`,
      },
    })
  },
})

Connect Formatting

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