with Envoy and Rocket Chat?
Emit new event for each visitor who signed in or out. See the docs
Emit new event when a new channel is created in RocketChat.
Emit new event for each invitations to a person or a group of people to visit a location. See the docs
Emit new event when a new message is posted to a specific public channel.
Sends a new direct message to a specific user. See the documentation
The Envoy API empowers users to streamline workplace operations, particularly visitor management, deliveries, and room bookings. Leveraging Pipedream's capabilities, you can automate tasks involving these aspects. For example, you can receive notifications when guests arrive, sync visitor data with other systems, or automate the creation and management of room bookings.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
envoy: {
type: "app",
app: "envoy",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.envoy.com/v1/employees/`,
headers: {
Authorization: `Bearer ${this.envoy.$auth.oauth_access_token}`,
},
})
},
})
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.
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"]}`,
},
})
},
})