← Front + Ghost.org (Admin API) integrations

Create post with Ghost.org (Admin API) API on New Conversation Tag from Front API

Pipedream makes it easy to connect APIs for Ghost.org (Admin API), Front and 3,000+ other apps remarkably fast.

Trigger workflow on
New Conversation Tag from the Front API
Next, do this
Create post with the Ghost.org (Admin API) API
No credit card required
Intro to Pipedream
Watch us build a workflow
Watch us build a workflow
8 min
Watch now ➜

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo

Developers Pipedream

Getting Started

This integration creates a workflow with a Front trigger and Ghost.org (Admin API) action. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Select this integration
  2. Configure the New Conversation Tag trigger
    1. Connect your Front account
    2. Configure timer
    3. Select one or more Tag IDs
  3. Configure the Create post action
    1. Connect your Ghost.org (Admin API) account
    2. Configure Title
    3. Optional- Configure Featured Image
    4. Optional- Configure HTML
    5. Optional- Select a Status
    6. Optional- Configure Tags
    7. Optional- Configure Featured
  4. Deploy the workflow
  5. Send a test event to validate your setup
  6. Turn on the trigger

Details

This integration uses pre-built, source-available components from Pipedream's GitHub repo. These components are developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

Trigger

Description:Emit new event when a conversation is tagged with a specific tag or any tag. [See the documentation](https://dev.frontapp.com/reference/events)
Version:0.0.8
Key:frontapp-new-conversation-tag

Front Overview

The Front API empowers you to automate the handling of your team's email inbox, collaborate on conversations, and streamline communication workflows. By harnessing this API on Pipedream, you can craft custom integrations that trigger actions in Front in response to events, synchronize data across platforms, and augment your team's productivity with automated tasks. This can include creating or updating conversations and contacts, managing tags, or firing off custom automation rules within Front.

Trigger Code

import common from "../common/base.mjs";
import sampleEmit from "./test-event.mjs";

export default {
  ...common,
  key: "frontapp-new-conversation-tag",
  name: "New Conversation Tag",
  description: "Emit new event when a conversation is tagged with a specific tag or any tag. [See the documentation](https://dev.frontapp.com/reference/events)",
  version: "0.0.8",
  type: "source",
  dedupe: "unique",
  props: {
    ...common.props,
    tagIds: {
      propDefinition: [
        common.props.frontapp,
        "tagIds",
      ],
      withLabel: true,
    },
  },
  methods: {
    ...common.methods,
    _getFunction() {
      return this.frontapp.listEvents;
    },
    _getParams() {
      return {
        "q[types]": [
          "tag",
        ],
        "sort_by": "created_at",
        "sort_order": "desc",
      };
    },
    _getEmit(item) {
      const tagIdsArray = this.tagIds.map((tag) => tag.value);
      if (item.type === "tag" && tagIdsArray.includes(item.target?.data?.id)) {
        return {
          id: item.id,
          summary: `Conversation with ID: "${item.id}" was tagged as '${item.target?.data?.name}'!`,
          ts: (Math.floor(item.emitted_at / 1000)) * 1000,
        };
      }
    },
  },
  hooks: {
    async deploy() {
      await this.startEvent(10, (item, lastTs) => item.emitted_at > lastTs);
    },
  },
  async run() {
    await this.startEvent(0, (item, lastTs) => item.emitted_at > lastTs);
  },
  sampleEmit,
};

Trigger Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
LabelPropTypeDescription
FrontfrontappappThis component uses the Front app.
N/Adb$.service.dbThis component uses $.service.db to maintain state between executions.
timer$.interface.timer
Tag IDstagIdsstring[]Select a value from the drop down menu.

Trigger Authentication

Front uses OAuth authentication. When you connect your Front account, Pipedream will open a popup window where you can sign into Front and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Front API.

Pipedream requests the following authorization scopes when you connect your account:

About Front

Customer communication platform

Action

Description:Create a post. [See the documentation](https://ghost.org/docs/admin-api/#creating-a-post).
Version:0.0.6
Key:ghost_org_admin_api-create-post

Ghost.org (Admin API) Overview

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.

Action Code

import ghostAdminApi from "../../ghost_org_admin_api.app.mjs";

export default {
  key: "ghost_org_admin_api-create-post",
  name: "Create post",
  description: "Create a post. [See the documentation](https://ghost.org/docs/admin-api/#creating-a-post).",
  type: "action",
  version: "0.0.6",
  annotations: {
    destructiveHint: false,
    openWorldHint: true,
    readOnlyHint: false,
  },
  props: {
    ghostAdminApi,
    title: {
      type: "string",
      label: "Title",
      description: "Title of the post",
    },
    featuredImage: {
      type: "string",
      label: "Featured Image",
      description: "URL of the featured image",
      optional: true,
    },
    html: {
      type: "string",
      label: "HTML",
      description: "HTML content of the post",
      optional: true,
    },
    status: {
      type: "string",
      label: "Status",
      description: "Status of the post",
      options: [
        "draft",
        "published",
      ],
      optional: true,
    },
    tags: {
      type: "string[]",
      label: "Tags",
      description: "Tags of the post",
      optional: true,
    },
    featured: {
      type: "boolean",
      label: "Featured",
      description: "Set to `true` to make the post featured",
      optional: true,
    },
  },
  async run({ $ }) {
    const {
      title,
      featuredImage,
      html,
      status,
      tags,
      featured,
    } = this;

    const response = await this.ghostAdminApi.createPost({
      $,
      params: {
        source: "html",
      },
      data: {
        posts: [
          {
            title,
            feature_image: featuredImage,
            html,
            status,
            tags,
            featured,
          },
        ],
      },
    });

    $.export("$summary", `Succesfully created post with ID ${response.posts[0].id}`);

    return response;
  },
};

Action Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI.

LabelPropTypeDescription
Ghost.org (Admin API)ghostAdminApiappThis component uses the Ghost.org (Admin API) app.
Titletitlestring

Title of the post

Featured ImagefeaturedImagestring

URL of the featured image

HTMLhtmlstring

HTML content of the post

StatusstatusstringSelect a value from the drop down menu:draftpublished
Tagstagsstring[]

Tags of the post

Featuredfeaturedboolean

Set to true to make the post featured

Action Authentication

Ghost.org (Admin API) uses API keys for authentication. When you connect your Ghost.org (Admin API) account, Pipedream securely stores the keys so you can easily authenticate to Ghost.org (Admin API) APIs in both code and no-code steps.

About Ghost.org (Admin API)

Open source publishing platform

More Ways to Connect Ghost.org (Admin API) + Front

Create Member with Ghost.org (Admin API) API on New Conversation Tag from Front API
Front + Ghost.org (Admin API)
 
Try it
Update Member with Ghost.org (Admin API) API on New Conversation Tag from Front API
Front + Ghost.org (Admin API)
 
Try it
Create Member with Ghost.org (Admin API) API on New Conversation State Change from Front API
Front + Ghost.org (Admin API)
 
Try it
Update Member with Ghost.org (Admin API) API on New Conversation State Change from Front API
Front + Ghost.org (Admin API)
 
Try it
Create post with Ghost.org (Admin API) API on New Conversation State Change from Front API
Front + Ghost.org (Admin API)
 
Try it
New Conversation Created from the Front API

Emit new event when a conversation is created. See the documentation

 
Try it
New Conversation State Change from the Front API

Emit new event when a conversation reaches a specific state. See the documentation

 
Try it
New Conversation Tag from the Front API

Emit new event when a conversation is tagged with a specific tag or any tag. See the documentation

 
Try it
New Message Template Created from the Front API

Emit new event when a message template is created. See the documentation

 
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
Add Comment with the Front API

Add a comment to a conversation. See the documentation

 
Try it
Archive Conversation with the Front API

Archives a conversation. See the documentation

 
Try it
Assign Conversation with the Front API

Assign or unassign a conversation. See the documentation

 
Try it
Create Draft with the Front API

Create a draft message which is the first message of a new conversation. See the documentation

 
Try it
Create Draft Reply with the Front API

Create a new draft as a reply to the last message in the conversation. See the documentation

 
Try it

Explore Other Apps

1
-
24
of
3,000+
apps by most popular

Node
Node
Anything you can do with Node.js, you can do in a Pipedream workflow. This includes using most of npm's 400,000+ packages.
Python
Python
Anything you can do in Python can be done in a Pipedream Workflow. This includes using any of the 350,000+ PyPi packages available in your Python powered workflows.
Notion
Notion
Notion is a new tool that blends your everyday work apps into one. It's the all-in-one workspace for you and your team.
OpenAI (ChatGPT)
OpenAI (ChatGPT)
OpenAI is an AI research and deployment company with the mission to ensure that artificial general intelligence benefits all of humanity. They are the makers of popular models like ChatGPT, DALL-E, and Whisper.
Anthropic (Claude)
Anthropic (Claude)
AI research and products that put safety at the frontier. Introducing Claude, a next-generation AI assistant for your tasks, no matter the scale.
Google Sheets
Google Sheets
Use Google Sheets to create and edit online spreadsheets. Get insights together with secure sharing in real-time and from any device.
Telegram
Telegram
Telegram, is a cloud-based, cross-platform, encrypted instant messaging (IM) service.
Google Drive
Google Drive
Google Drive is a file storage and synchronization service which allows you to create and share your work online, and access your documents from anywhere.
HTTP / Webhook
HTTP / Webhook
Get a unique URL where you can send HTTP or webhook requests
Google Calendar
Google Calendar
With Google Calendar, you can quickly schedule meetings and events and get reminders about upcoming activities, so you always know what’s next.
Schedule
Schedule
Trigger workflows on an interval or cron schedule.
Pipedream Utils
Pipedream Utils
Utility functions to use within your Pipedream workflows
Shopify
Shopify
Shopify is a complete commerce platform that lets anyone start, manage, and grow a business. You can use Shopify to build an online store, manage sales, market to customers, and accept payments in digital and physical locations.
Supabase
Supabase
Supabase is an open source Firebase alternative.
MySQL
MySQL
MySQL is an open-source relational database management system.
PostgreSQL
PostgreSQL
PostgreSQL is a free and open-source relational database management system emphasizing extensibility and SQL compliance.
AWS
AWS
Premium
Amazon Web Services (AWS) offers reliable, scalable, and inexpensive cloud computing services.
Twilio SendGrid
Twilio SendGrid
Premium
Send marketing and transactional email through the Twilio SendGrid platform with the Email API, proprietary mail transfer agent, and infrastructure for scalable delivery.
Amazon SES
Amazon SES
Amazon SES is a cloud-based email service provider that can integrate into any application for high volume email automation
Klaviyo
Klaviyo
Premium
Klaviyo unifies your data, channels, and AI agents in one platform—text, WhatsApp, email marketing, and more—driving growth with every interaction.
Zendesk
Zendesk
Premium
Zendesk is award-winning customer service software trusted by 200K+ customers. Make customers happy via text, mobile, phone, email, live chat, social media.
ServiceNow
ServiceNow
Premium
Beta
The smarter way to workflow
Slack
Slack
Slack is the AI-powered platform for work bringing all of your conversations, apps, and customers together in one place. Around the world, Slack is helping businesses of all sizes grow and send productivity through the roof.
Microsoft Teams
Microsoft Teams
Microsoft Teams has communities, events, chats, channels, meetings, storage, tasks, and calendars in one place.