Rocket Chat

The Ultimate Communication Platform

Integrate the Rocket Chat API with the Filter API

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

Continue execution if a condition Is met with Filter API on New Channel Created from Rocket Chat API
Rocket Chat + Filter
 
Try it
Continue execution if a condition Is met with Filter API on New Message in Public Channel from Rocket Chat API
Rocket Chat + Filter
 
Try it
Continue execution if a condition Is met with Filter API on New User Created from Rocket Chat API
Rocket Chat + Filter
 
Try it
End execution if a condition is met with Filter API on New Channel Created from Rocket Chat API
Rocket Chat + Filter
 
Try it
End execution if a condition is met with Filter API on New Message in Public Channel from Rocket Chat API
Rocket Chat + Filter
 
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
Continue execution if a condition Is met with the Filter API

Continue workflow execution only if a condition is met

 
Try it
End execution if a condition is met with the Filter API

End workflow execution if a condition is met

 
Try it
Send Direct Message with the Rocket Chat API

Sends a new direct message to a specific user. See the documentation

 
Try it
Set Status with the Rocket Chat API

Updates the user's status. See the documentation

 
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"]}`,
      },
    })
  },
})

Overview of Filter

The Filter API in Pipedream allows for real-time data processing within workflows. It's designed to evaluate data against predefined conditions, enabling workflows to branch or perform specific actions based on those conditions. This API is instrumental in creating efficient, targeted automations that respond dynamically to diverse datasets. Using the Filter API, you can refine streams of data, ensuring that subsequent steps in your Pipedream workflow only execute when the data meets your specified criteria. This cuts down on unnecessary processing and facilitates the creation of more intelligent, context-aware systems.

Connect Filter

1
2
3
4
5
6
7
8
9
10
export default defineComponent({
  async run({ steps, $ }) {
    let condition = false
    if (condition == false) {
      $.flow.exit("Ending workflow early because the condition is false")
    } else {
        $.export("$summary", "Continuing workflow, since condition for ending was not met.")
    }
  },
})