Automate blog & LinkedIn content creation with OpenAI & Replicate AI images
Needs changesWhat this workflow does
This AI workflow has 23 nodes and runs on a schedule (legacy Cron node) (plus 1 other trigger). Along the way it connects Notion, Gmail, LinkedIn and OpenAI. It also calls api.replicate.com over HTTP.
How it runs
Trigger: On a schedule (legacy Cron node) (plus 1 other trigger).
- Set (Configs) (Edit Fields (Set)): sets or maps fields
- Failure Message (Gmail): uses Gmail
- Notion: get many (database page)
- Filter Unpublished + Map (Code): runs custom JavaScript code
- Split In Batches (1) (Loop Over Items (Split in Batches)): loops over the items in batches
- Count Eligible (Code): runs custom JavaScript code
- Normalize Arrays (Code): runs custom JavaScript code
- If: checks a condition and branches into true / false
- Content Creator (OpenAI): uses OpenAI
- Send a message (Gmail): uses Gmail
…plus 11 more steps. See the full node list below.
Services it uses
HTTP calls to: api.replicate.com
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- Cron in Cron (Schedule): replace with Schedule Trigger.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| Cron Cron (Schedule) | Schedule Trigger |
Nodes used (11)
- Cron
n8n-nodes-base.cron - Edit Fields (Set)
n8n-nodes-base.set - Notion
n8n-nodes-base.notion - If
n8n-nodes-base.if - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Error Trigger
n8n-nodes-base.errorTrigger - Code
n8n-nodes-base.code - Gmail
n8n-nodes-base.gmail - LinkedIn
n8n-nodes-base.linkedIn - HTTP Request
n8n-nodes-base.httpRequest - OpenAI
@n8n/n8n-nodes-langchain.openAi
From the author
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…