Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.

Go to site

Integrate the Discord API with the Python API

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

Connect Discord

import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    discord: {
      type: "app",
      app: "discord",
  async run({steps, $}) {
    return await axios($, {
      url: `https://discord.com/api/users/@me`,
      headers: {
        Authorization: `Bearer ${this.discord.$auth.oauth_access_token}`,
        "accept": `application/json`,

Connect Python

from pipedream.script_helpers import (steps, export)

# Reference data from previous steps

# Return data for use in future steps
export("foo", {"test":True})