n8n Workflow

Create Update And Get A Post In Ghost

This n8n workflow automates tasks using Ghost. Create Update And Get A Post In Ghost - ready to import and run in your n8n instance.

n8n workflow.json

About This Script

This n8n workflow automates tasks using Ghost. Create Update And Get A Post In Ghost - ready to import and run in your n8n instance.
Features:
  • Integrates with Ghost
  • Retrieves data from external sources
Source Code
{
    "nodes": [
        {
            "name": "On clicking 'execute'",
            "type": "n8n-nodes-base.manualTrigger",
            "position": [
                310,
                300
            ],
            "parameters": [],
            "typeVersion": 1,
            "id": "9c28b799-9422-43aa-b987-59863df17984"
        },
        {
            "name": "Ghost",
            "type": "n8n-nodes-base.ghost",
            "position": [
                510,
                300
            ],
            "parameters": {
                "title": "Running ghost with n8n!",
                "source": "adminApi",
                "content": "<p>In this article, you will learn how to automate your Ghost site with n8n!</p>",
                "operation": "create",
                "additionalFields": []
            },
            "credentials": {
                "ghostAdminApi": "Ghost Admin API"
            },
            "typeVersion": 1,
            "id": "35aa7a15-3cfc-4838-99c3-78ef79d06652"
        },
        {
            "name": "Ghost1",
            "type": "n8n-nodes-base.ghost",
            "position": [
                710,
                300
            ],
            "parameters": {
                "postId": "={{$node[\"Ghost\"].json[\"id\"]}}",
                "source": "adminApi",
                "operation": "update",
                "updateFields": {
                    "status": "published"
                }
            },
            "credentials": {
                "ghostAdminApi": "Ghost Admin API"
            },
            "typeVersion": 1,
            "id": "a38d9b0b-b652-4515-a79f-160230db9337"
        },
        {
            "name": "Ghost2",
            "type": "n8n-nodes-base.ghost",
            "position": [
                910,
                300
            ],
            "parameters": {
                "by": "id",
                "source": "adminApi",
                "options": [],
                "identifier": "={{$node[\"Ghost\"].json[\"id\"]}}"
            },
            "credentials": {
                "ghostAdminApi": "Ghost Admin API"
            },
            "typeVersion": 1,
            "id": "37cb0236-3033-417a-a45e-7bc0e82aae92"
        }
    ],
    "connections": {
        "Ghost": {
            "main": [
                [
                    {
                        "node": "Ghost1",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        },
        "Ghost1": {
            "main": [
                [
                    {
                        "node": "Ghost2",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        },
        "On clicking 'execute'": {
            "main": [
                [
                    {
                        "node": "Ghost",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        }
    },
    "n8n_version": "1.5.0"
}
Requirements
n8n instance, Ghost API credentials
Tags
#n8n #automation #workflow
Quick Actions
More in n8n Workflows