Rocket Chat

The Ultimate Communication Platform

Integrate the Rocket Chat API with the Go API

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

Run Go Code with Go API on New Channel Created from Rocket Chat API
Rocket Chat + Go
 
Try it
Run Go Code with Go API on New Message in Public Channel from Rocket Chat API
Rocket Chat + Go
 
Try it
Run Go Code with Go API on New User Created from Rocket Chat API
Rocket Chat + Go
 
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
Run Go Code with the Go API

Run any Go code and use any Go package available with a simple import. Refer to the Pipedream Go docs to learn more.

 
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 Go

You can execute custom Go scripts on-demand or in response to various triggers and integrate with thousands of apps supported by Pipedream. Writing with Go on Pipedream enables backend operations like data processing, automation, or invoking other APIs, all within the Pipedream ecosystem. By leveraging Go's performance and efficiency, you can design powerful and fast workflows to streamline complex tasks.

Connect Go

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package main

import (
	"fmt"

	pd "github.com/PipedreamHQ/pipedream-go"
)

func main() {
	// Access previous step data using pd.Steps
	fmt.Println(pd.Steps)

	// Export data using pd.Export
	data := make(map[string]interface{})
	data["name"] = "Luke"
	pd.Export("data", data)
}