Slack Bot

Interact with Slack with your own bot user

Go to site
Slack Bot

Slack Bot API Integrations

Build and run workflows using the Slack Bot API. Use 1000s of open source triggers and actions across 800+ apps. Or write custom code to integrate any app or API in seconds.

import { WebClient } from '@slack/web-api';

export default defineComponent({
  props: {
    slack_bot: {
      type: "app",
      app: "slack_bot",
    message: {
      type: "string",
      label: "Message",
      default: "Test message from Pipedream",
    channel: {
      type: "string",
      label: "Channel",
      description: "The Slack channel to send the message to"
  async run({steps, $}) {
    const web = new WebClient(this.slack_bot.$auth.bot_token)
    try {
      $.export('response', await{
        text: this.message,
    } catch (err) {
      $.export('error', err);
      throw err


Slack Bot uses API keys for authentication. When you connect your Slack Bot account, Pipedream securely stores the keys so you can easily authenticate to Slack Bot APIs in both code and no-code steps.

In the settings for your Slack app, visit the OAuth & Permissions section on the left. You'll see a token labeled Bot User OAuth Access Token. Copy and paste that below.

See Slack's docs on Bot User Tokens for more info.