Discord

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

Integrate the Discord API with the Campayn API

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

Create Contact with Campayn API on New Message (Instant) from Discord API
Discord + Campayn
 
Try it
Get Contact with Campayn API on New Message (Instant) from Discord API
Discord + Campayn
 
Try it
Unsubscribe Contact with Campayn API on New Message (Instant) from Discord API
Discord + Campayn
 
Try it
Create Contact with Campayn API on Message Deleted (Instant) from Discord API
Discord + Campayn
 
Try it
Create Contact with Campayn API on New Command Received (Instant) from Discord API
Discord + Campayn
 
Try it
New Message (Instant) from the Discord API

Emit new event for each message posted to one or more channels in a Discord server

 
Try it
Message Deleted (Instant) from the Discord API

Emit new event for each message deleted

 
Try it
New Command Received (Instant) from the Discord API

Emit new event for each command posted to one or more channels in a Discord server

 
Try it
New Contact Created from the Campayn API

Emit new events when a new contact is created. See the docs

 
Try it
New Guild Member (Instant) from the Discord API

Emit new event for each new member added to a guild

 
Try it
Create Contact with the Campayn API

Creates a new contact. See the docs

 
Try it
Get Contact with the Campayn API

Retrieves an existing contact. See the docs

 
Try it
Unsubscribe Contact with the Campayn API

Unsubscribes a contact from a list. See the docs

 
Try it
Send Message with the Discord API

Send a simple message to a Discord channel

 
Try it
Send Message (Advanced) with the Discord API

Send a simple or structured message (using embeds) to a Discord channel

 
Try it

Overview of Discord

The Discord API interacts seamlessly with Pipedream, empowering you to craft customized automations and workflows for your Discord server. With this powerful integration, you can automate tasks like message posting, user management, and notifications, based on a myriad of triggers and actions from different apps. These automations can enhance the Discord experience for community moderators and members, by synchronizing with external tools, organizing community engagement, and streamlining notifications.

Connect Discord

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: {
    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`,
      },
    })
  },
})

Overview of Campayn

The Campayn API lets you automate email marketing tasks directly within Pipedream. It provides programmatic access to manage contacts, lists, and email campaigns. With Pipedream, you can build serverless workflows to integrate Campayn with other apps and services, triggering actions based on events, scheduling regular email campaigns, or syncing data across platforms.

Connect Campayn

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: {
    campayn: {
      type: "app",
      app: "campayn",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://campayn.com/api/v1/lists.json`,
      headers: {
        "Authorization": `TRUEREST apikey=${this.campayn.$auth.api_key}`,
        "Content-Type": `application/json`,
      },
    })
  },
})