Skip to main content

Automate blog & LinkedIn content creation with OpenAI & Replicate AI images

Workflow preview

Workflow preview
100%
Automate blog & LinkedIn content creation with OpenAI & Replicate AI images preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

AI Blog & LinkedIn Content Publisher How it works Daily trigger scans your Notion database for unpublished blog ideas AI generates complete blog posts + engaging LinkedIn content using OpenAI ( Blo...

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.cron, n8n-nodes-base.set, n8n-nodes-base.notion, n8n-nodes-base.if, n8n-nodes-base.splitinbatches, n8n-nodes-base.errortrigger, n8n-nodes-base.code, n8n-nodes-base.gmail

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Sagar Budhathoki.

Original n8n.io source

1.1 Workflow description

Title
Automate blog & LinkedIn content creation with OpenAI & Replicate AI images
Workflow name
Automate blog & LinkedIn content creation with OpenAI & Replicate AI images

AI Blog & LinkedIn Content Publisher

How it works

Daily trigger scans your Notion database for unpublished blog ideas AI generates complete blog posts + engaging LinkedIn content using OpenAI (Blog Posting is not implemented yet) Creates custom images for posts using Replicate's Flux-Schnell AI model Auto-publishes to LinkedIn with image OR emails draft for review Updates Notion with published content and tracks status

Set up steps

Connect accounts: Notion, OpenAI, Replicate, LinkedIn, Gmail Create 2 Notion databases: Ideas (input) and Articles (output) Update config node: Add your database IDs and email Test with one idea: Run manually first to verify everything works Enable daily automation: Turn on the cron trigger

Perfect for: Content creators, developers, and marketers who want to transform rough ideas into professional blog posts and LinkedIn content automatically.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Cron (Schedule)

Type / Role
n8n-nodes-base.cron - cron
Config choices
Version 1

Block 2 - Set (Configs)

Type / Role
n8n-nodes-base.set - set
Config choices
Version 2

Block 3 - Notion → Query Ideas DB (all)

Type / Role
n8n-nodes-base.notion - notion
Config choices
Version 2

Block 4 - IF (Has Eligible?)

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2

Block 5 - Split In Batches (1)

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 2

Block 6 - Error Trigger (Any Node Fails)

Type / Role
n8n-nodes-base.errorTrigger - errorTrigger
Config choices
Version 1

Block 7 - Count Eligible

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 8 - Filter Unpublished + Map

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 9 - Send a message

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 10 - Parse & Validate JSON

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 11 - Normalize Arrays

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 12 - Create a post

Type / Role
n8n-nodes-base.linkedIn - linkedIn
Config choices
Version 1

Block 13 - Create a Article Database Page

Type / Role
n8n-nodes-base.notion - notion
Config choices
Version 2.2

Block 14 - Draft Email

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 15 - Published Email

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 16 - Draft Update Database

Type / Role
n8n-nodes-base.notion - notion
Config choices
Version 2.2

Block 17 - Update a database page

Type / Role
n8n-nodes-base.notion - notion
Config choices
Version 2.2

Block 18 - Download Image

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 19 - Replicate Image Prediction

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 20 - Content Creator

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.8

Block 21 - Image prompt generator

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.8

Block 22 - Failure Message

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 23 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 24 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Showing the first 24 of 28 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Automate blog & LinkedIn content creation with OpenAI & Replicate AI images
Complexity advanced
Nodes 28
Categories Content Creation, Multimodal AI
Author Sagar Budhathoki
Published 31 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/8083/8083.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Automate blog & LinkedIn content creation with OpenAI & Replicate AI images do?

AI Blog & LinkedIn Content Publisher How it works Daily trigger scans your Notion database for unpublished blog ideas AI generates complete blog posts + engaging LinkedIn content using OpenAI ( Blo...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Multimodal AI use case.