Skip to main content

Generate and publish approved employee LinkedIn posts with OpenAI and LinkedIn

Workflow preview

Workflow preview
100%
Generate and publish approved employee LinkedIn posts with OpenAI and LinkedIn preview
Open on n8n.io

1. Workflow Overview

Quick Overview This workflow scans an RSS blog feed on a schedule, logs newly found posts to Google Sheets, uses OpenAI to generate role based LinkedIn drafts, and emails approval links via Gmail; ...

Best for

  • Social Media automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.executeworkflow, n8n-nodes-base.executeworkflowtrigger, n8n-nodes-base.gmail, n8n-nodes-base.scheduletrigger, n8n-nodes-base.rssfeedread, n8n-nodes-base.limit, n8n-nodes-base.googlesheets

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Generate and publish approved employee LinkedIn posts with OpenAI and LinkedIn
Workflow name
Generate and publish approved employee LinkedIn posts with OpenAI and LinkedIn

Quick Overview

This workflow scans an RSS blog feed on a schedule, logs newly found posts to Google Sheets, uses OpenAI to generate role-based LinkedIn drafts, and emails approval links via Gmail; approved drafts are then published to LinkedIn and tracked in Google Sheets, with Slack alerts on failures.

How it works

  1. Runs on a schedule and reads the latest item from your blog’s RSS feed.
  2. Checks Google Sheets to see if the blog URL has already been processed and continues only for new posts.
  3. Formats the blog details, saves the blog as processed in Google Sheets, and passes the content into a linked “AI Content Personalization Engine” workflow.
  4. Receives the blog content from the sub-workflow, defines employee personas (CEO, HR, Developer, Marketing), and uses OpenAI to generate a LinkedIn draft per role.
  5. Stores each generated draft in a Google Sheets “generated_posts” tab with a Pending status and emails approval/rejection links via Gmail.
  6. Receives an approve/reject webhook click, updates the post’s status in Google Sheets, and returns a confirmation response to the browser.
  7. Fetches approved posts from Google Sheets, posts unpublished items to LinkedIn via the LinkedIn API, marks them as published in Google Sheets when creation succeeds, and sends a Slack alert if the LinkedIn API response is not successful.

Setup

  1. Add credentials for Google Sheets, OpenAI, Gmail, LinkedIn, and Slack.
  2. Set your RSS feed URL in the RSS reader and configure the schedule interval for how often you want to scan for new posts.
  3. Create a Google Sheets spreadsheet with two tabs matching the workflow: “processed_blogs” (url, title, processed_at) and “generated_posts” (role, tone, postId, status, blog_title, created_at, generated_post, published).
  4. Replace YOUR_N8N_URL_HERE in the approval link templates and configure the webhook path (approve-post) to be reachable from your email recipients.
  5. Update the Gmail recipient address used for approvals and ensure your LinkedIn app/connection has permission to create posts via the LinkedIn REST API.

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 - Sticky Note

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

Block 2 - Sticky Note1

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

Block 3 - AI Content Personalization Engine

Type / Role
n8n-nodes-base.executeWorkflow - executeWorkflow
Config choices
Version 1.3

Block 4 - Blog Detection flow

Type / Role
n8n-nodes-base.executeWorkflowTrigger - executeWorkflowTrigger
Config choices
Version 1.1

Block 5 - Send request for approval & reject

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

Block 6 - Sticky Note2

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

Block 7 - Blog Scan Scheduler

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.3

Block 8 - Fetch Latest Blogs

Type / Role
n8n-nodes-base.rssFeedRead - rssFeedRead
Config choices
Version 1.2

Block 9 - Limit Latest Blog

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

Block 10 - Check Existing Blog

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 11 - Is New Blog?

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

Block 12 - Format Blog Data

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

Block 13 - Save Processed Blog

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 14 - Sticky Note3

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

Block 15 - Sticky Note4

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

Block 16 - Sticky Note5

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

Block 17 - Sticky Note6

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

Block 18 - Sticky Note7

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

Block 19 - Create Employee Personas

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

Block 20 - Split Employee Roles

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

Block 21 - Generate AI LinkedIn Posts

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

Block 22 - Format AI Content

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

Block 23 - Save Generated Posts

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 24 - Create Approval Links

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

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

3. Summary Table

Workflow Generate and publish approved employee LinkedIn posts with OpenAI and LinkedIn
Complexity advanced
Nodes 51
Categories Social Media, Multimodal AI
Author WeblineIndia
Published 27 May 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/15977/15977.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 Generate and publish approved employee LinkedIn posts with OpenAI and LinkedIn do?

Quick Overview This workflow scans an RSS blog feed on a schedule, logs newly found posts to Google Sheets, uses OpenAI to generate role based LinkedIn drafts, and emails approval links via Gmail; ...

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 Social Media, Multimodal AI use case.