Ghost.org (Content API)

Open source publishing platform

Integrate the Ghost.org (Content API) API with the Discord Webhook API

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

Send Message with Discord Webhook API on New Author from Ghost.org (Content API) API
Ghost.org (Content API) + Discord Webhook
 
Try it
Send Message (Advanced) with Discord Webhook API on New Author from Ghost.org (Content API) API
Ghost.org (Content API) + Discord Webhook
 
Try it
Send Message With File with Discord Webhook API on New Author from Ghost.org (Content API) API
Ghost.org (Content API) + Discord Webhook
 
Try it
New Author from the Ghost.org (Content API) API

Emit new event for each new author added on a site.

 
Try it
Find author with the Ghost.org (Content API) API

Find an author. See the docs here.

 
Try it
Send Message with the Discord Webhook API

Send a simple message to a Discord channel

 
Try it
Send Message (Advanced) with the Discord Webhook API

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

 
Try it
Send Message With File with the Discord Webhook API

Post a message with an attached file

 
Try it

Overview of Ghost.org (Content API)

Ghost.org provides a content API that enables developers to build various types
of applications and tools. Some example applications that can be built using
the Ghost.org API include:

  • A content management system (CMS) for publishing content
  • A forum or discussion board
  • A blogroll or list of blogs
  • A social media aggregator
  • A news feed or news aggregator
  • An e-commerce store

Connect Ghost.org (Content API)

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: {
    ghost_org_content_api: {
      type: "app",
      app: "ghost_org_content_api",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://${this.ghost_org_content_api.$auth.admin_domain}/ghost/api/v3/content/posts/`,
      params: {
        key: `${this.ghost_org_content_api.$auth.content_api_key}`,
      },
    })
  },
})

Overview of Discord Webhook

With Discord's Webhook API, you can create applications that send messages to
Discord channels automatically. For example, you could create a bot that sends
a message to a channel every time a new blog post is published, or a message to
a channel when someone joins your Discord server.

Here are some ideas for what you could build using the Discord Webhook API:

  • A bot that sends a message to a channel when a new blog post is published
  • A bot that sends a message to a channel when someone joins your Discord
    server
  • A bot that sends a message to a channel when a new product is added to your
    online store

Connect Discord Webhook

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