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

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

Create Member with Ghost.org (Admin API) API on New Message from Discord API
Discord + Ghost.org (Admin API)
 
Try it
Create post with Ghost.org (Admin API) API on New Message (Instant) from Discord API
Discord + Ghost.org (Admin API)
 
Try it
Update Member with Ghost.org (Admin API) API on New Message from Discord API
Discord + Ghost.org (Admin API)
 
Try it
Create Member with Ghost.org (Admin API) API on Message Deleted (Instant) from Discord API
Discord + Ghost.org (Admin API)
 
Try it
Create Member with Ghost.org (Admin API) API on New Command Received (Instant) from Discord API
Discord + Ghost.org (Admin API)
 
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
Member Deleted (Instant) from the Ghost.org (Admin API) API

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

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

Emit new event for each new member added to a guild

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

Create a new member in Ghost. See the docs here

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

Create a post. See the documentation.

 
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
Send Message With File with the Discord API

Post a message with an attached file

 
Try it

Overview of Discord

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

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

The Ghost.org (Admin API) provides a powerful platform for content management and distribution, allowing developers to programmatically interact with their Ghost site. With this API, you can automate content creation, manage posts, pages, and tags, and dynamically adjust site settings. This enables seamless content workflows, from drafting and scheduling posts to curating featured articles and managing user access. When used with Pipedream, these capabilities expand, enabling integrations with countless other services to create sophisticated, automated content pipelines that can save time and enhance your content strategy.

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()
  },
})