AI-Powered LinkedIn Post Generation and Approval System - n8n Workflow

Use this powerful n8n workflow to automate LinkedIn content creation. It combines AI generation (GPT-4o), Slack approval, Google Sheets tracking, and multi-group posting. Download this n8n template today.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?

Markdown-formatted:
Content marketers needing scalable, AI-assisted content creation.
Social media managers requiring a human review gate before publishing.
Teams looking for robust n8n templates that connect Google Sheets, AI, and social platforms.
Anyone interested in seeing how advanced n8n workflow logic handles webhooks and approval loops.

Overview

Managing high-volume content for professional networks like LinkedIn often requires a balance between speed and quality assurance. This sophisticated n8n workflow solves this by fully automating the content pipeline while inserting a critical human approval step.

The automation starts when a topic is added to a Google Sheet. An AI Agent then crafts a high-quality, targeted LinkedIn post. This post is sent immediately to a designated Slack channel for review. The approver can edit the content directly within Slack before hitting 'Approve'. Only upon human confirmation does the n8n node proceed to publish the final post to the user's LinkedIn profile and a list of specified groups, finally updating the status in the source Google Sheet. This makes this n8n template an essential tool for structured, reliable content deployment.

How it Works

Markdown-formatted:


  1. Start Trigger: The n8n workflow begins with the Linkedin-Post-Topic Google Sheets n8n trigger, which polls a specified spreadsheet for new rows marked 'Pending'.

  2. Validation and Limit: An If n8n node (Validate-Status) ensures only pending items are processed, and a Limit n8n node handles processing one item at a time to manage API rate limits.

  3. AI Generation: The Linedin-Post-Creator n8n node (a LangChain Agent using OpenAI) generates the LinkedIn post content based on the input topic.

  4. Approval Request: The content is formatted and sent to the Approval-on-Slack n8n node, which creates an interactive message requiring human review and potential edits.

  5. Webhook Listener: A separate n8n trigger (Webhook) listens for the response from the Slack approval button click.

  6. Response Processing: The Set Topics and Images for Processing and Format-Response Code n8n nodes extract the approved or edited content from the Slack payload.

  7. Content and User Prep: If approved, the workflow fetches the required LinkedIn user ID via an HTTP Request.

  8. Image Upload Sequence: If an image URL is provided, a multi-step process involving HTTP Request n8n nodes (Register Image, Get Image Binary, Upload Image) handles the complex LinkedIn media upload API.

  9. Publishing: The Linkedin-post HTTP Request n8n node publishes the finalized content to the user's profile.

  10. Group Distribution: The workflow retrieves Group IDs from a separate Google Sheet, splits them using the Pick 1 by 1 n8n node, and uses the Post-Linkedin-Groups HTTP Request n8n node to distribute the content widely.

  11. Status Completion: The workflow concludes by updating the initial row in Google Sheets via the Update-Status n8n node, marking the task as 'Posted'.

Installation Guide

Markdown-formatted:


  1. Import the n8n workflow: Copy the provided JSON code and import it into your n8n instance using the 'New' -> 'Import from JSON' option.

  2. Google Sheets Setup: Configure credentials and select the spreadsheet/worksheet for both the Linkedin-Post-Topic n8n trigger (where posts are initiated) and the Google Sheets n8n nodes used for reading group IDs and updating status.

  3. OpenAI Integration: Set up your OpenAI credentials for the OpenAI Chat Model n8n node, ensuring you have access to a capable model like GPT-4o.

  4. Slack Integration: Configure the Approval-on-Slack n8n node with the appropriate Slack webhook and specify the channel or user ID for the approver.

  5. Webhook Activation: Activate the Webhook n8n trigger node. Copy the Test/Production URL and configure it in your Slack App as the interactivity request URL to ensure approval responses return to this n8n workflow.

  6. LinkedIn Credentials: Set up the required credentials for the HTTP Request n8n nodes (Linkedin-User-Detail, Linkedin-post, etc.), which utilize the LinkedIn API (often requiring developer permissions and OAuth).

  7. Activate: Ensure all credentials are set and activate the main Google Sheets n8n trigger.

Node Details

Markdown-formatted:
Google Sheets Trigger (Linkedin-Post-Topic): This n8n trigger monitors a specified Google Sheet for new rows, initiating the n8n workflow only for items pending content creation.
OpenAI Chat Model / Structured Output Parser: Used together with the LangChain Agent n8n node (Linedin-Post-Creator) to generate coherent, structured content suitable for a LinkedIn post, ensuring the output adheres to a predictable format.
Slack n8n node (Approval-on-Slack): Sends the AI-generated content to Slack, presenting it with interactive buttons and an input field so reviewers can approve or edit the text before publishing.
Webhook n8n trigger: Serves as the listener for the Slack approval action. This critical second n8n trigger handles the asynchronous nature of human feedback, enabling the n8n workflow to resume after approval.
HTTP Request n8n node (Linkedin-post): The final action for publishing the content to LinkedIn. This n8n node is configured to handle complex OAuth authentication and payload structure required by the LinkedIn API.
Split In Batches n8n node (Pick 1 by 1): Essential for safely posting to multiple groups by iterating through them sequentially, mitigating the risk of triggering API rate limits often encountered in n8n templates that handle high-volume social posting.

Related n8n Workflows

Paid

Nodes: 14 Nodes
Updated: December 26 2025
View all
Created by
Amit Mehta
Amit Mehta

I'm a workflow automation expert with 15+ years in IT industry. I build smart, scalable n8n workflows for AI automation, marketing, CRM, and SaaS integrations. My focus is on simplifying business processes with tools like OpenAI, WhatsApp, Gmail, and Airtable. I help teams and solopreneurs automate smarter, reduce manual tasks, and grow faster—one workflow at a time.

Featured*