with Rocket Chat and Content Snare?
Emit new event when a new channel is created in RocketChat.
Emit new event when a new message is posted to a specific public channel.
Emit new event when a client is updated in Content Snare. See the documentation
Emit new event when a field is approved in Content Snare. See the documentation
Creates a new client on Content Snare. See the documentation
Initiates a novel request on Content Snare. See the documentation
Sends a new direct message to a specific user. See the documentation
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"]}`,
},
})
},
})
The Content Snare API allows you to automate the process of gathering content from clients and stakeholders. With this API, you can create, update, and manage requests for content, as well as track submissions and automate follow-ups. On Pipedream, you can integrate Content Snare with hundreds of other apps to create seamless workflows that save time and reduce manual tasks. From triggering actions when new content is submitted to syncing data across multiple platforms, the possibilities are vast.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
content_snare: {
type: "app",
app: "content_snare",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.contentsnare.com/partner_api/v1/team_members`,
headers: {
Authorization: `Bearer ${this.content_snare.$auth.oauth_access_token}`,
},
})
},
})