✨ LinkedIn content factory with OpenAI research & Replicate branded images

1,077 views · ✨ AI & LLMs

💡 Pro Tip — If you’re pulling LinkedIn data through HTTP requests or dealing with API restrictions, there’s a community node called ScraperNode that handles this natively. It has dedicated scrapers for profiles, companies, jobs, and people search — you just pass a URL and get structured data back.

View All Scrapers

Description

Template Description: > Never run out of high-quality LinkedIn content again. This workflow is a complete content factory that takes a simple topic from a Google Sheet, uses AI to research a trending angle, writes a full post, generates a unique and on-brand image, and publishes it directly to your LinkedIn profile.

This template is designed for brands and creators who want to maintain a consistent, high-quality social media presence with minimal effort. The core feature is its ability to generate visuals that adhere to a specific, customizable brand style guide.


🚀 What does this workflow do?

🎯 Who is this for?

✨ Benefits

⚙️ How it Works

  1. Get Topic: The workflow fetches the next “Pending” topic from your Google Sheet.
  2. AI Research: An AI Agent uses SerpAPI to research the topic and identify a viral angle.
  3. AI Writing: A second AI Agent takes the research and writes the full LinkedIn post.
  4. Generate Image Prompt: A Code node constructs a detailed prompt, merging the post’s content with your defined brand style guide.
  5. Generate Image: The prompt is sent to Replicate. The workflow waits and checks periodically until the image is ready.
  6. Publish: The generated text and image are published to your LinkedIn account.
  7. Update Status: The workflow archives the image to Google Drive and updates the topic’s status in your Google Sheet to “done”.

📋 n8n Nodes Used

🔑 Prerequisites

🛠️ Setup

  1. Import the workflow into your n8n instance.
  2. Configure All Credentials: Go through the workflow and connect your credentials for Google, OpenAI, SerpAPI, Replicate, and LinkedIn in their respective nodes.
  3. Link Your Google Sheet: In the 1. Get Pending Topic... node, select your spreadsheet and sheet. Do the same for the final 8. ...Update Status node.
  4. Customize Your Brand Style (Highly Recommended): In the 4. Generate Branded Image Prompt (Code) node, edit the fixedImageStyleDetails variable. Change the RAL color codes and descriptive words to match your brand’s visual identity.
  5. Populate Your Content Calendar: Add topics to your Google Sheet and set their status to “Pending”.
  6. Activate the workflow!

🔗 Nodes Used

Google Sheets, HTTP Request, LinkedIn, AI Agent, OpenAI Chat Model, Structured Output Parser

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup