Ghost

The Ghost modules allow you to create, update, list, and/or delete authors, posts, pages, and tags in your Ghost account.

Prerequisites

  • A Ghost account
  • A site in Ghost

In order to use Ghost with Integromat, it is necessary to have a Ghost account. If you do not have one, you can create a Ghost account at //ghost.org/.

The module dialog fields that are displayed in bold (in the Integromat scenario, not in this documentation article) are mandatory!

Connecting Ghost to Integromat

To connect your Ghost account to Integromat, you need to obtain your API URL, Admin API Key, and Integromat ID.

1. Log in to your Ghost Account.

2. From the left menu, click Integrations and select your Integromat integration which you want to use for establishing a connection to Integromat.

BW6r6A1C7h.gif

To add integration in your Ghost site, see Adding Integromat Integrations in Ghost.

3. Copy the Admin API Key, and API URL to your clipboard.

ghost1.png

4. On the same page, in the Webhooks section, copy the Integromat ID to your clipboard.

ghost2.png

5. Go to Integromat and open the Ghost module's Create a connection dialog.

QI5UdeHXwE.gif

6. In the Connection name field, enter a name for the connection.

7. In the API URL and Admin API Key fields, enter the values copied in the step 3 in the respective fields.

8. In the Integromat ID field, enter the values copied in step 4 and click Continue.

ghost3.png

The connection has been established.

POSTS

Watch Posts

Triggers when a post is created, updated, or deleted.

Webhook nameEnter a name for the webhook.
ConnectionEstablish a connection to your Ghost account.
EventSelect the event you want to watch:
  • Post created
  • Post updated
  • Post deleted
  • Post published
  • Published post updated
  • Post unpublished
  • Tag added to post
  • Tag removed from post

Create a Post

Creates a post.

ConnectionEstablish a connection to your Ghost account.
TitleEnter a title for the post.
StatusSelect the status of the post:
  • Draft
  • Scheduled
  • Published
SlugEnter the slug details of the website where the post is getting published.
Type of ContentSelect the content type for the post:
  • HTML
  • Mobiledoc
HTMLEnter the content of the post in HTML format.
MobiledocEnter the content of the post in HTML format. 
Custom ExcerptEnter the length of the words for the post.
Feature ImageEnter the link to the image that appears along with the post.
TagsAdd keywords for the post that can be used to filter the post when searching.
AuthorsAdd authors for the post. You can add multiple authors.
FeaturedSelect Yes if this is a featured post:
  • Yes
  • No
  • Not defined
Canonical URLEnter the post website URL that represents almost the original website URL. 
Meta TitleEnter the title URL of the post that appears in the search engine results.
Meta DescriptionEnter the description that appears in the search engine results below the URL link.
Facebook TitleEnter the Facebook title of the post.
Facebook DescriptionEnter the details of the post to mention on Facebook.
Facebook ImageEnter the image link to upload on Facebook.
Twitter TitleEnter the Twitter title of the post.
Twitter DescriptionEnter the details of the post to mention on Twitter.
Twitter ImageEnter the link for the Twitter profile image.

Search Posts

Lists all posts or searches posts by criteria.

ConnectionEstablish a connection to your Ghost account.
CriteriaSelect the criteria to filter the posts you want to search for. For example, Member ID, created date, name, email, and so on.
LimitThe maximum number of posts Integromat should return during one scenario execution cycle.

Update a Post

Updates a Post.

ConnectionEstablish a connection to your Ghost account.
Post IDSelect the Post ID you want to update.
TitleEnter a title for the post.
Status

Select the status of the post:

  • Draft
  • Scheduled
  • Published
SlugEnter the slug details of the website where the post is getting published.
Type of ContentSelect the content type for the post:
  • HTML
  • Mobiledoc
HTMLEnter the content of the post in HTML format.
MobiledocEnter the content of the post in HTML format.
Custom ExcerptEnter the length of the words for the post.
Feature ImageEnter the link to the image that appears along with the post.
TagsAdd keywords for the post that can be used to filter the post when searching.
AuthorsAdd authors for the post. You can add multiple authors.
FeaturedSelect Yes if this is a featured post:
  • Yes
  • No
  • Not defined
Canonical URLEnter the post website URL that represents almost the original website URL.
Meta TitleEnter the title URL of the post that appears in the search engine results.
Meta DescriptionEnter the description that appears in the search engine results below the URL link.
Facebook TitleEnter the Facebook title of the post.
Facebook DescriptionEnter the details of the post to mention on Facebook.
Facebook ImageEnter the image link to upload on Facebook.
Twitter TitleEnter the Twitter title of the post.
Twitter DescriptionEnter the details of the post to mention on Twitter.
Twitter ImageEnter the image link to upload on Twitter.

Delete a Post

Deletes a post.

ConnectionEstablish a connection to your Ghost account
Post IDSelect the Post ID you want to delete.

Pages

Watch Pages

Triggers when a page is created, updated, or deleted.

Webhook nameEnter a name for the webhook.
ConnectionEstablish a connection to your Ghost account.
Event

Select the event you want to watch:

  • Page created
  • Page updated
  • Page deleted
  • Page published
  • Published page updated
  • Page unpublished
  • Tag added to page
  • Tag removed from page

Tags

Watch Tags

Triggers when a tag is created, updated, or deleted.

Webhook nameEnter a name for the webhook.
ConnectionEstablish a connection to your Ghost account.
EventSelect the event you want to watch:
  • Tag created
  • Tag updated
  • Tag deleted

Authors

Search Authors

Lists all members or searches members by criteria.

ConnectionEstablish a connection to your Ghost account.
CriteriaSelect the criteria for the members you want to search for. For example, Member ID, created date, name, email, and so on.
LimitThe maximum number of authors Integromat should return during one scenario execution cycle.

Member

Watch Members

Triggers when a member is created, updated, or deleted.

Webhook NameEnter a name for the webhook.
ConnectionEstablish a connection to your Ghost account.
EventSelect the event you want to watch:
  • Member added
  • Member updated
  • Member deleted

Create a Member

Creates a member.

ConnectionEstablish a connection to your Ghost account.
NameEnter the name of the member.
EmailEnter the email address of the member.
NoteEnter any additional details of the member.
Subscribed to newsletterSelect Yes if the member is subscribed for the newsletter:
  • Yes
  • No
  • Not defined

Search Members

Lists all members or searches members by criteria.

ConnectionEstablish a connection to your Ghost account.
CriteriaSelect the criteria for the members you want to search for. For example, Member ID, created date, name, email, and so on.
LimitThe maximum number of members Integromat should return during one scenario execution cycle.

Delete a Member

Deletes a member.

ConnectionEstablish a connection to your Ghost account.
Member IDSelect the Member ID you want to delete.

Other

Make an API Call

Performs an arbitrary authorized API call.

ConnectionEstablish a connection to your Ghost account.
URL

Enter a path relative to {{your_host}}/ghost/api. E.g. /v3/admin/site.

For the list of available endpoints, refer to the Ghost API Documentation.
Method

Select the HTTP method you want to use:

GET
to retrieve information for an entry.

POST
to create a new entry.

PUT
to update/replace an existing entry.

PATCH
to make a partial entry update.

DELETE
to delete an entry.

HeadersEnter the desired request headers. You don't have to add authorization headers; we already did that for you.
Query StringEnter the request query string.
BodyEnter the body content for your API call.

Example - List Posts

Following API call returns all posts:

ghost4.png

Matches of the search can be found in the module's Output under BundleBody > posts.
In our example, 15 posts were returned:

ghost5.png

Adding Integromat Integrations in Ghost

To add integrations in Ghost:

1. Log in to your Ghost account.

2. From the left menu, click Integration --> Add custom integration. Enter a name for the integration and click Create.

jxJq9OTZe9.gif

The integration is added successfully.

 

Popular use cases from our blog

automated-data-collection-crm-illustration

How to Automate Data Collection - Part 5: CRM Systems

automated-data-collection-chatbot-marketing-illustration

How to Automate Data Collection - Part 4: Chatbot Marketing

automated-data-collection-paid-ads-illustration

How to Automate Data Collection - Part 3: Paid Ads

automated-data-collection-email-illustration

How to Automate Data Collection - Part 2: Email Marketing Segmentation

personalized-customer-experience-illustration-integromat

5 Automated Solutions to Personalize Customer Experience

data-collection-automation-forms-pt-1

How to Automate Data Collection - Part 1: Online Forms

Didn’t find what you were looking for?

Expert

Find an expert

We feature a network of 450+ certified partners across the globe who are ready to help

Find an expert

Automate any workflow in your business

Sign up for a free account today. No credit card required, no time limits on free plan.