Push messaging
Emit new event when a new message is posted to one or more channels
Emit new event when a message was posted in a direct message channel
Emit new events on new Slack interactivity events sourced from Block Kit interactive elements, Slash commands, or Shortcuts.
Emit new event when a username or specific keyword is mentioned in a channel
Emit new event when a member has added an emoji reaction to a message
Send a message to a public channel and customize the name and avatar of the bot that posts the message. See postMessage or scheduleMessage docs here
Send a message to a private channel and customize the name and avatar of the bot that posts the message. See postMessage or scheduleMessage docs here
Send a direct message to a single user. See postMessage or scheduleMessage docs here
Send a message using Slack's Block Kit UI framework to a channel, group or user. See postMessage or scheduleMessage docs here
Send a message as a threaded reply. See postMessage or scheduleMessage docs here
OneSignal is the premier user identity, authentication, and engagement platform
for mobile and web applications. The OneSignal API lets developers build a
range of applications that provide user authentication, data storage and
improved customer engagement. With its extensive feature set, the OneSignal API
can be used to create amazing web and mobile products that drive user
engagement. Here are just a few things you can build using the OneSignal (User
Auth) API:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
onesignal_user_auth: {
type: "app",
app: "onesignal_user_auth",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://onesignal.com/api/v1/apps/`,
headers: {
"Content-Type": `application/json`,
"Authorization": `Basic ZTUwMTQ0ODAtMjQ2Ni00YzY5LWIyNGMtYWUwMGM2MzUyZDM3`,
},
})
},
})
The Pipedream Slack app enables you to build event-driven workflows that interact with the Slack API. When 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 just makes it easier to automate anything you'd typically use the Slack API for, using Pipedream workflows.
Here are some examples of automations you can build with Pipedream on Slack:
The Slack app is the easiest and most convienent option to get started. It installs the official Pipedream bot into your Slack workspace with just a few clicks.
However, if you'd like to use your own bot registered with the Slack API, you can use the Slack Bot app instead.
The Slack Bot requires a bot token to allow your Pipedream workflows to authenticate as your bot. The extra set up steps allow you to list your custom bot on the Slack Marketplace, or install the bot on other workspaces as your bot's name instead of as Pipedream.
You can install the Pipedream Slack app in the Accounts section of your account, or directly in a workflow
Please reach out to the Pipedream team with any technical issues or questions about the Slack integration. We're happy to help!
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}`,
},
})
},
})