[📺Complete Tutorial]({{ $env.WEBHOOK_URL }}
Configured with Agent, Ghost, Google Sheets, OpenAI Chat Model, and additional nodes. Review the connections and setup before adapting this template.
Node categories in this workflow
- Trigger
- AI & models
- Code
- Integration
- Transform
- Data store
- Routing
Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.
Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.
How it works
The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.
| Node | Category | Type | Operation |
|---|---|---|---|
| When clicking ‘Test workflow’ | Trigger | Manual Trigger | See node parameters |
| AI Agent | AI & models | Agent | See node parameters |
| OpenAI Chat Model | AI & models | OpenAI Chat Model | See node parameters |
| Clean HTML | Code | Code | See node parameters |
| Extract Blog Posts | Integration | Ghost | getAll |
| Extract Post Content | Transform | Edit Fields | See node parameters |
| Record the posts | Data store | Google Sheets | append |
| Merge Linkedin | Transform | Merge | See node parameters |
| Add Clean HTML | Transform | Merge | See node parameters |
| Loop Over Posts | Routing | Loop Over Items | See node parameters |
Setup
- Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
- Connect your own credentials through n8n’s credential store. Replace
REPLACE_WITH_*values with your resource identifiers. - Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
- Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.
Requirements
An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.
Credential types declared in the source
None declared. HTTP requests and Code nodes may still need configuration.
Workflow notes
1. Workflow Trigger
1. Workflow Trigger
This workflow uses simple trigger.
How to setup?
Nothing to do.
2. Extract Blog Posts Content
2. Extract Blog Posts Content
The Ghost node extracts all the posts of your blog with content and metadata. In the second node, we extract description, URL, content and features image url.
How to setup?
- Ghost Account API:
- Add your Ghost Blog Account Credentials
- Select the number of Blog Posts you want to collect Learn more about the Ghost Node
3. Generate a Linkedin Post for each Post with an AI Agent
3. Generate a Linkedin Post for each Post with an AI Agent
This block loops through all the posts pulled by the Ghost Node, send the content to the AI agent that generates a Linkedin post. The results are combined and pulled in a Google Sheet.
How to setup?
- AI Agent with the Chat Model:
- Add a chat model with the required credentials (Example: Open AI 4o-mini)
- Adapt the system prompt with your post signature and additional points you want to add in your posts Learn more about the AI Agent Node
- Record Long Break in the Google Sheet Node:
- Add your Google Sheet API credentials to access the Google Sheet file
- Select the file using the list, an URL or an ID
- Select the sheet in which you want to record your working sessions
- Map the fields Learn more about the Google Sheet Node
[📺Complete Tutorial](https://www.youtube.com/watch?v=Lhi6hV6rWEo)
[📺Complete Tutorial]({{ $env.WEBHOOK_URL }}
[📺Complete Tutorial]({{ $env.WEBHOOK_URL }}
Purpose and structure
This folder contains the [📺Complete Tutorial]({{ $env.WEBHOOK_URL }} workflow. Its executable nodes use agent, code, ghost, googleSheets, lmChatOpenAi, manualTrigger, merge, set, splitInBatches. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.
Setup
Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.
Entry points
When clicking ‘Test workflow’
Verification
Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.
Attribution
https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Code/0844_Code_Ghost_Create_Triggered.json MIT; preserve source notices.