Slack is a channel-based messaging platform. With Slack, people can work together more effectively, connect all their software tools and services, and find the information they need to do their best work — all within a secure, enterprise-grade environment.
Emit new event when a new message is posted to one or more channels
Emit new event when a content item is created.
Emit new event when a content item is deleted.
Emit new event when a content item is moved to another workflow step.
Emit new event when a content item is published.
Create a new content item based on a specific content type. See the documentation
Send a message to a user, group, private channel or public channel. See the documentation
Configure custom blocks and send to a channel, group, or user. See the documentation.
Send a message as a threaded reply. See postMessage or scheduleMessage docs here
The Pipedream Slack app enables you to build event-driven workflows that interact with the Slack API. Once you authorize the Pipedream app's access to your workspace, you can use Pipedream workflows to perform common Slack actions or write your own code against the Slack API.
The Pipedream Slack app is not a typical app. You don't interact with it directly as a bot, and it doesn't add custom functionality to your workspace out of the box. It makes it easier to automate anything you'd typically use the Slack API for, using Pipedream workflows.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
slack: {
type: "app",
app: "slack",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://slack.com/api/users.profile.get`,
headers: {
Authorization: `Bearer ${this.slack.$auth.oauth_access_token}`,
},
})
},
})
The Kontent.ai API offers robust content management capabilities for developers to manage and deliver content across various platforms. With this API, you can automate content creation, update content items, retrieve assets, and sync your content with other services. On Pipedream, you can harness these features to create powerful workflows that trigger on specific events, process data, and connect with other apps to streamline your content operations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
kontent_ai: {
type: "app",
app: "kontent_ai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://manage.kontent.ai/v2/projects/${this.kontent_ai.$auth.environment}/items`,
headers: {
Authorization: `Bearer ${this.kontent_ai.$auth.management_api_key}`,
"Content-Type": `application/json`,
},
})
},
})