Ghost.org (Admin API)

Open source publishing platform

Integrate the Ghost.org (Admin API) API with the PostgreSQL API

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

Create Member with Ghost.org (Admin API) API on New Column from PostgreSQL API
PostgreSQL + Ghost.org (Admin API)
 
Try it
Create Member with Ghost.org (Admin API) API on New or Updated Row from PostgreSQL API
PostgreSQL + Ghost.org (Admin API)
 
Try it
Create Member with Ghost.org (Admin API) API on New Row Custom Query from PostgreSQL API
PostgreSQL + Ghost.org (Admin API)
 
Try it
Create Member with Ghost.org (Admin API) API on New Row from PostgreSQL API
PostgreSQL + Ghost.org (Admin API)
 
Try it
Create Member with Ghost.org (Admin API) API on New Table from PostgreSQL API
PostgreSQL + Ghost.org (Admin API)
 
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
New Column from the PostgreSQL API

Emit new event when a new column is added to a table. See the documentation

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

Create a new member in Ghost. See the docs here

 
Try it
Delete Row(s) with the PostgreSQL API

Deletes a row or rows from a table. See the documentation

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

Create a post. See the documentation.

 
Try it
Execute Custom Query with the PostgreSQL API

Executes a custom query you provide. See the documentation

 
Try it
Find Row with the PostgreSQL API

Finds a row in a table via a lookup column. See the documentation

 
Try it

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

Overview of PostgreSQL

On Pipedream, you can leverage the PostgreSQL app to create workflows that automate database operations, synchronize data across platforms, and react to database events in real-time. Think handling new row entries, updating records from webhooks, or even compiling reports on a set schedule. Pipedream's serverless platform provides a powerful way to connect PostgreSQL with a variety of apps, enabling you to create tailored automation that fits your specific needs.

Connect PostgreSQL

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import postgresql from "@pipedream/postgresql"

export default defineComponent({
  props: {
    postgresql,
  },
  async run({ steps, $ }) {
    // Component source code:
    // https://github.com/PipedreamHQ/pipedream/tree/master/components/postgresql

    const queryObj = {
      text: "SELECT NOW()",
      values: [], // Ignored since query does not contain placeholders
    };
    const { rows } = await this.postgresql.executeQuery(queryObj);
    return rows;
  },
})