with Slack Bot and Frame.io?
Emit new event when an asset is uploaded. See the documentation
Emit new event when a new comment is left on an asset. See the documentation
Emit new event when a new project is created. See the documentation
Emit new event when a new project is created. See the documentation
Emit new event when a message is posted in a direct message channel (Bot). To open a conversation, use the Pipedream Action "Send a Direct Message" to send a message from the Bot, or enable direct messages to the Bot in your App Settings (Settings->App Home->Show Tabs->Messages Tab), and send a direct message to the Bot.
The Slack Bot API allows you to build rich, interactive bots for Slack workspaces. These bots can respond to messages, post updates, and interact with users in various ways. With the Slack Bot API on Pipedream, developers can create automated workflows that trigger on specific events in Slack, such as new messages or reactions, and then perform defined actions, like sending data to other apps or processing the information within Pipedream's serverless platform. This tight integration with Pipedream enables both simple and complex automations, leveraging Pipedream's ability to connect with numerous apps and its powerful built-in code steps.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
slack_bot: {
type: "app",
app: "slack_bot",
},
},
async run({steps, $}) {
return await axios($, {
url: `https://slack.com/api/auth.test`,
headers: {
Authorization: `Bearer ${this.slack_bot.$auth.bot_token}`,
},
method: 'post',
})
},
})
The Frame.io API hooks into their robust video collaboration platform, enabling automated workflows around video reviews, project updates, and asset management. With the API, you can programmatically interact with comments, accounts, projects, and more—perfect for integrating with other tools to streamline video production pipelines.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
frame: {
type: "app",
app: "frame",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.frame.io/v2/accounts`,
headers: {
Authorization: `Bearer ${this.frame.$auth.oauth_access_token}`,
},
})
},
})