Discourse

Conversation platform

Integrate the Discourse API with the Slack API

Setup the Discourse API trigger to run a workflow which integrates with the Slack API. Pipedream's integration platform allows you to integrate Discourse and Slack remarkably fast. Free for developers.

Create Post with Discourse API on New Message In Channels (Instant) from Slack API
Slack + Discourse
 
Try it
Create Topic with Discourse API on New Message In Channels (Instant) from Slack API
Slack + Discourse
 
Try it
Send Message to a Public Channel with Slack API on New Posts from Discourse API
Discourse + Slack
 
Try it
Send Message to a Public Channel with Slack API on New Topics from Discourse API
Discourse + Slack
 
Try it
Send Message to a Public Channel with Slack API on New Users from Discourse API
Discourse + Slack
 
Try it
New Message In Channels (Instant) from the Slack API

Emit new event when a new message is posted to one or more channels

 
Try it
New Posts (Instant) from the Discourse API

Emit new posts added to a topic in one of your chosen categories

 
Try it
New Topics (Instant) from the Discourse API

Emit new topics posted to your chosen categories

 
Try it
New Users (Instant) from the Discourse API

Emit new event every time a new user is created on your instance

 
Try it
New Direct Message (Instant) from the Slack API

Emit new event when a message was posted in a direct message channel

 
Try it
Create Post with the Discourse API

Creates a post. See docs here

 
Try it
Create Topic with the Discourse API

Creates a topic. See docs here

 
Try it
Send Message to a Public Channel with the Slack API

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

 
Try it
Send Message to a Private Channel with the Slack API

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

 
Try it
Send a Direct Message with the Slack API

Send a direct message to a single user. See postMessage or scheduleMessage docs here

 
Try it

Overview of Discourse

Discourse is a powerful platform for building online communities. With the
Discourse API, you can extend Discourse's functionality to build all sorts of
custom applications and integrations.

Here are some examples of what you can build with the Discourse API:

  • A custom Discourse plugin
  • A Discourse-powered website or forum
  • An application that interacts with Discourse data
  • ADiscourse-based chatbot
  • ADiscourse integration for another application

Connect Discourse

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    discourse: {
      type: "app",
      app: "discourse",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://${this.discourse.$auth.domain}/admin/users/list/active.json`,
      headers: {
        "Api-Username": `${this.discourse.$auth.api_username}`,
        "Api-Key": `${this.discourse.$auth.api_key}`,
      },
    })
  },
})

Overview of Slack

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 makes it easier to automate anything you'd typically use the Slack API for, using Pipedream workflows.

  • Automate posting updates to your team channels
  • Create a bot to answer common questions
  • Integrate with your existing tools and services
  • And much more!

Connect Slack

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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}`,
      },
    })
  },
})
Save Zoom Cloud Recordings to Google Drive and Share on Slack
Save Zoom Cloud Recordings to Google Drive and Share on Slack
Save Zoom Cloud Recordings to Google Drive and Share on Slack.
Run a Pipedream workflow on PagerDuty on-call rotations
Run a Pipedream workflow on PagerDuty on-call rotations
Run common workflows, or any Node.js code you'd like, each time a new user rotates onto an on-call schedule.

Community Posts

Airtable Webhooks with Slack + Pipedream
Airtable Webhooks with Slack + Pipedream
We love Airtable here at Pipedream. But Airtable lacks one killer feature — webhooks. We took advantage of Airtable’s Slack notifications and built a way to send webhooks to an HTTP endpoint every time a record is created or updated in a base. It takes 10 minutes to setup and it’s free.