AI-Powered LinkedIn Content Engine (n8n + OpenAI + Perplexity + Replicate)

Go to Workflow
494 views
Built by Mariano Kostelec Mariano Kostelec
Created on June 06, 2026

Description

A fully automated content engine that researches, writes, scores, and visualizes LinkedIn posts — built with n8n, OpenAI, Perplexity, and Replicate.

What it does:
✅ Researches any topic using real-time data
✅ Writes a personalized post in your voice
✅ Refines tone and structure
✅ Generates abstract, high-quality visual assets
✅ Scores the output and saves it to Google Sheets

How it works:
Triggered when you change a row status in Google Sheets
Uses Perplexity to research
GPT-4o (OpenAI) to create and polish content
Replicate (FLUX Pro) to generate images
Scores the post using heuristics
Appends everything back to your sheet

Nodes Used (5)

Code
n8n-nodes-base.code
Google Sheets
n8n-nodes-base.googleSheets
HTTP Request
n8n-nodes-base.httpRequest
OpenAI
@n8n/n8n-nodes-langchain.openAi
Perplexity
n8n-nodes-base.perplexity