Discord Bot

Use this app to interact with the Discord API using a bot in your account

Integrate the Discord Bot API with the Mailerlite API

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

Create Subscriber with Mailerlite API on New Message in Channel from Discord Bot API
Discord Bot + Mailerlite
 
Try it
List Subscribers with Mailerlite API on New Message in Channel from Discord Bot API
Discord Bot + Mailerlite
 
Try it
Remove Subscriber From Group with Mailerlite API on New Message in Channel from Discord Bot API
Discord Bot + Mailerlite
 
Try it
Subscribe to MailerLite Group with Mailerlite API on New Message in Channel from Discord Bot API
Discord Bot + Mailerlite
 
Try it
Update Subscriber with Mailerlite API on New Message in Channel from Discord Bot API
Discord Bot + Mailerlite
 
Try it
New Message in Channel from the Discord Bot API

Emit new event for each message posted to one or more channels

 
Try it
New Subscriber Added From Form (Instant) from the Mailerlite API

Emit new event when a new subscriber is added though a form.

 
Try it
New Subscriber Created (Instant) from the Mailerlite API

Emit new event when a new subscriber is created.

 
Try it
New Subscriber Unsubscribed (Instant) from the Mailerlite API

Emit new event when a subscriber is unsubscribed.

 
Try it
New Forum Thread Message from the Discord Bot API

Emit new event for each forum thread message posted. Note that your bot must have the MESSAGE_CONTENT privilege intent to see the message content, see the docs here.

 
Try it
Create Subscriber with the Mailerlite API

Create a new subscriber. See docs

 
Try it
Add Role with the Discord Bot API

Assign a role to a user. Remember that your bot requires the MANAGE_ROLES permission. See the docs here

 
Try it
List Subscribers with the Mailerlite API

Lists all subscribers in a group. See the docs here

 
Try it
Change Nickname with the Discord Bot API

Modifies the nickname of the current user in a guild.

 
Try it
Create Channel Invite with the Discord Bot API

Create a new invite for the channel. See the docs here

 
Try it

Overview of Discord Bot

The Discord Bot API unlocks the power to interact with Discord users and channels programmatically, making it possible to automate messages, manage servers, and integrate with other services. With Pipedream's serverless platform, you can create complex workflows that respond to events in Discord, process data, and trigger actions in other apps. This opens up opportunities for community engagement, content moderation, analytics, and more, without the overhead of managing infrastructure.

Connect Discord Bot

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: {
    discord_bot: {
      type: "app",
      app: "discord_bot",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://discord.com/api/users/@me`,
      headers: {
        "Authorization": `Bot ${this.discord_bot.$auth.bot_token}`,
      },
    })
  },
})

Overview of Mailerlite

The Mailerlite API offers the ability to extend your email marketing efforts through programmatic access to your Mailerlite account. Use it on Pipedream to automate email campaigns, manage subscribers, analyze the results of your outreach, and integrate with your existing tech stack. By crafting workflows on Pipedream, you can connect Mailerlite to a vast array of services, triggering actions based on subscriber behavior, synchronizing data across platforms, or enriching subscriber profiles for targeted campaigns.

Connect Mailerlite

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: {
    mailerlite: {
      type: "app",
      app: "mailerlite",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://connect.mailerlite.com/api/campaigns`,
      headers: {
        Authorization: `Bearer ${this.mailerlite.$auth.api_key}`,
      },
    })
  },
})