Discord Bot

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

Integrate the Discord Bot API with the Ghost.org (Admin API) API

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

Create Member with Ghost.org (Admin API) API on New Message in Channel from Discord Bot API
Discord Bot + Ghost.org (Admin API)
 
Try it
Create post with Ghost.org (Admin API) API on New Message in Channel from Discord Bot API
Discord Bot + Ghost.org (Admin API)
 
Try it
Update Member with Ghost.org (Admin API) API on New Message in Channel from Discord Bot API
Discord Bot + Ghost.org (Admin API)
 
Try it
Add Role with Discord Bot API on Member Deleted (Instant) from Ghost.org (Admin API) API
Ghost.org (Admin API) + Discord Bot
 
Try it
Add Role with Discord Bot API on Member Updated (Instant) from Ghost.org (Admin API) API
Ghost.org (Admin API) + Discord Bot
 
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
Member Deleted (Instant) from the Ghost.org (Admin API) API

Emit new event each time a member is deleted from a site.

 
Try it
Member Updated (Instant) from the Ghost.org (Admin API) API

Emit new event each time a member is updated.

 
Try it
New Member Created (Instant) from the Ghost.org (Admin API) API

Emit new event for each new member added to a site.

 
Try it
Page Published (Instant) from the Ghost.org (Admin API) API

Emit new event for each new page published on a site.

 
Try it
Create Member with the Ghost.org (Admin API) API

Create a new member in Ghost. See the docs here

 
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
Create post with the Ghost.org (Admin API) API

Create a post. See the documentation.

 
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 Pipedream Discord app enables you to build event-driven workflows that interact with the Discord API. When you authorize the Pipedream app's access to your guilds, you can use Pipedream workflows to perform common Discord actions, or write your own code against the Discord API.

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 Ghost.org (Admin API)

With the Ghost.org API, you can build a wide range of applications and
integrations. Here are some examples:

  • A desktop or mobile app for managing your Ghost blog
  • A Ghost-powered website or custom CMS
  • An integration with another service or platform (such as Zapier or IFTTT)
  • A tool or script for automating tasks with Ghost

Connect Ghost.org (Admin API)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
module.exports = defineComponent({
  props: {
    ghost_org_admin_api: {
      type: "app",
      app: "ghost_org_admin_api",
    }
  },
  async run({steps, $}) {
    const GhostAdminAPI = require('@tryghost/admin-api');
    const api = new GhostAdminAPI({
        url: this.ghost_org_admin_api.$auth.admin_api_url,
        key: this.ghost_org_admin_api.$auth.admin_api_key,
        version: 'v3'
    });
    return await api.users.browse()
  },
})