AutomationMart
Home/Browse/LinkedIn post automation with AI (GPT-4o) generation & Slack approval
n8n

LinkedIn post automation with AI (GPT-4o) generation & Slack approval

n8nn8n24 modulesv1.0
SlackGoogle SheetsOpenAILinkedIn

LinkedIn Post Automation with AI Generation (Gpt-4o) & Slack Approval How it Works ## This workflow automates the creation and publishing of LinkedIn posts with AI-generated content and human approval via Slack, using Google Sheets, OpenAI (GPT-4), Slack Interactive Messages, and the LinkedIn API. Whether you're a social media manager, content creator, or marketing professional, this workflow helps you maintain consistent LinkedIn presence and scale

At a glance

LinkedIn post automation with AI (GPT-4o) generation & Slack approval is a ready-made n8n workflow you import as a workflow JSON file β€” no build required. It connects Slack, Google Sheets, OpenAI, LinkedIn. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
Slack, Google Sheets, OpenAI, LinkedIn
Modules
24
Price
Free
Version
v1.0
LinkedIn post automation with AI (GPT-4o) generation & Slack approval workflow diagram

About this workflow

LinkedIn Post Automation with AI Generation (Gpt-4o) & Slack Approval How it Works ## This workflow automates the creation and publishing of LinkedIn posts with AI-generated content and human approval via Slack, using Google Sheets, OpenAI (GPT-4), Slack Interactive Messages, and the LinkedIn API. Whether you're a social media manager, content creator, or marketing professional, this workflow helps you maintain consistent LinkedIn presence and scale content creation while keeping human oversight β€” all managed from a simple spreadsheet. 🎯 Use Case Ideal for: - Content Marketers managing multiple LinkedIn accounts - Personal Brand Builders maintaining regular posting schedule - Agencies handling client social media presence - Teams requiring content approval workflows Setup Instructions ## 1. Prepare the Spreadsheet - File name: Linkedin Post - Main sheet structure: | ID | Linkedin Post Title | Status | Image URL | - Groups sheet structure: | GroupIds | - Add post topics and set their Status as Pending 2. Configure Google Sheets Nodes Connect your Google account to: - Linkedin-Post-Topic (Trigger node) - Update-Status - Get-Group-id 3. Add API Credentials - OpenAI API Key β†’ for GPT-4 content generation - Slack OAuth Token β†’ for approval messages - LinkedIn Access Token β†’ for posting content - HTTP Header Auth β†’ Bearer token for LinkedIn API 4. Configure Webhooks - Set up Slack Interactive Components webhook - Point Request URL to your N8N webhook endpoint - Enable interactive messages in Slack app 5. Activate the Workflow Once live, the workflow will: 1. Monitor spreadsheet for new topics every minute 2. Generate LinkedIn post using GPT-4 3. Send to Slack for approval/editing 4. Upload image to LinkedIn 5. Publish to profile and groups 6. Update spreadsheet status to Posted πŸ” Workflow Logic 1. Trigger: New/updated row with Pending status 2. Generate: AI creates engaging LinkedIn post 3. Approve: Slack message for review/edit 4. Process: Handle approval response 5. Upload: Register and upload image 6. Publish: Post to LinkedIn profile & groups 7. Update: Mark as Posted in sheet 🧩 Node Descriptions | Node Name | Description | |-----------|-------------| | Linkedin-Post-Topic | Monitors spreadsheet for new post topics | | Validate-Status | Filters only 'Pending' items | | Limit | Processes one item at a time | | Linedin-Post-Creator | Generates post content using GPT-4 | | Format-Content | Prepares content for Slack display | | Approval-on-Slack | Sends interactive approval message | | Webhook | Receives Slack button responses | | Format-Response | Extracts edited content from Slack | | Set-Final-Message | Prepares approved content | | Linkedin-User-Detail | Fetches LinkedIn user info | | Register Image | Initiates LinkedIn image upload | | Upload Image | Uploads image to LinkedIn | | Linkedin-post | Publishes to personal profile | | Get-Group-id | Retrieves LinkedIn group IDs | | Post-Linkedin-Groups | Posts to multiple groups | | Update-Status | Marks as completed in sheet | πŸ› οΈ Customization Tips - Adjust AI prompt for brand voice and hashtags - Change Slack approver or add multiple reviewers - Modify posting schedule with delay nodes - Add analytics tracking with additional API calls - Filter groups based on specific criteria - Include URL shortening for tracking πŸ“’ Suggested Sticky Notes for Workflow | Node/Section | Sticky Note Content | |--------------|---------------------| | Linkedin-Post-Topic | "Triggers every minute for new posts in your spreadsheet" | | Validate-Status | "Filters to process only 'Pending' items - prevents duplicates" | | Linedin-Post-Creator | "Uses GPT-4 to generate LinkedIn content - customize prompt for your brand voice" | | Approval-on-Slack | "Sends for human review - edit the Slack user to change approver" | | Webhook | "Receives approval responses - ensure URL is configured in Slack app" | | Register Image | "Initiates LinkedIn media upload - requires valid image URL from sheet" | | Linkedin-post | "Publishes to your profile - update with your LinkedIn credentials" | | Post-Linkedin-Groups | "Posts to multiple groups - add group IDs in Groups sheet" | | Update-Status | "Marks as 'Posted' to prevent reprocessing" | πŸ’‘ AI Prompt Configuration The workflow uses a sophisticated prompt that: - Creates compelling hooks - Includes 3-4 informative paragraphs - Adds engagement questions - Inserts relevant emojis - Generates 4-6 hashtags - Formats with proper spacing πŸ”’ Security & Permissions LinkedIn App Requirements: - rliteprofile - Read profile data - remailaddress - Access email - wmembersocial - Post content - rworganizationadmin - Group posting Slack Bot Permissions: - chat:write - Send messages - im:write - Direct messages - users:read - User information πŸ“Ž Required Components | Component | Purpose | |-----------|---------| | Google Sheet | Store post topics and status | | LinkedIn App | API access for posting | | Slack App | Interactive approval flow | | OpenAI Account | GPT-4 content generation | | N8N Instance | Workflow execution | πŸ§ͺ Testing Tips - Start with one test topic marked as Pending - Verify Slack message appears correctly - Test both "Approve" and "Edit" buttons - Check image upload completes - Confirm post appears on LinkedIn - Verify status updates to Posted ⚠️ Common Issues & Solutions LinkedIn API Errors: - Token expiration β†’ Refresh access token - Rate limits β†’ Add delays between posts - Group restrictions β†’ Check posting permissions Slack Integration: - Missing responses β†’ Verify webhook URL - Button not working β†’ Check interactive components - User not found β†’ Confirm Slack user ID Image Upload Failures: - Invalid URL β†’ Validate image accessibility - Size limits β†’ Compress images under 10MB - Format issues β†’ Use JPEG or PNG only πŸ“Š Workflow Benefits - Time Savings: 80% reduction in content publishing time - Consistency: Regular posting schedule maintained - Quality Control: Human review ensures brand standards - Scalability: Handle multiple accounts and groups - Flexibility: Easy to modify and extend πŸ“Ž Required Files | File Name | Purpose | |-----------|---------| | Linkedin Post | Google Sheet to hold post topics and status | 🏷 Suggested Tags & Categories - #LinkedIn - #AI - #ContentAutomation - #SocialMedia - #Slack - #GPT4 - #Marketing - #WorkflowAutomation

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n β†’ click the menu β†’ Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Send Delighted surveys from new rows in Google Sheets spreadsheet

This template periodically checks for new rows in a Google Sheets spreadsheet and uses the retrieved information to trigger sending of Delighted surveys. The template is using [this sample](https://docs.google.com/spreadsheets/d/10w9BPRVaVdAVWgtRpZYvF-KRqUo8cNVLnZljU-s--cs/edit#gid=0) to check for new email recipients of your Delighted surveys. You should make a copy of it before configuring the template. The template is scheduled to run every 15 minutes. You can change the schedule after you

Free

Send Slack messages for new Facebook Groups posts

Every time a new update is posted to a selected Facebook Group, Make will automatically send a message in Slack.

Free

Send a Mocean SMS from a new row in a Google Sheets spreadsheet

This template periodically checks for new rows in a Google Sheets spreadsheet and uses the retrieved information to send SMSes via Mocean. The template is using [this sample](https://docs.google.com/spreadsheets/d/1zGij3PQveP34e7A71ij0pMS-_ngOzPPft8JnYLMLajU/edit?pli=1#gid=0) Google Sheets spreadsheet as the source of the data. You should make a copy of it before configuring the template. The template is scheduled to run every 15 minutes. You can change the schedule after you set up the templa

Free

Generate & publish SEO articles with Claude AI, Webflow & image generation

Content engine that ships fresh, SEO-ready articles every single day. Workflow: βΈ» 1. Layout Blueprint β€’ Purpose: Define content structure before writing begins. β€’ What’s Included: β€’ Search intent mapping β€’ Internal link planning β€’ Call-to-action (CTA) placement β€’ Benefit: Ensures consistency, SEO alignment, and content goals are baked in early. βΈ» 2. AI-Assisted Drafting β€’ Tool: GPT generates the first draft. β€’ Editor’s Role: β€’ Focus on depth and accuracy β€’ Align tone and styl

Free

Create a new Notion page for every new article trigger from RSS and ChatGPT

Automatically create a new Notion page for every article triggered from RSS, enriched by ChatGPT and Anthropic Claude insights, streamlining content management.

Free

Save new Thankster addresses to a Google Sheets spreadsheet

Every time a new address is created in Thankster, Make will automatically add that address to your Google Sheets spreadsheet as a new row. The template uses this [example spreadsheet](https://docs.google.com/spreadsheets/d/1sOsk6nicDBeYIrwWKVOW1vZPjJoMJzJ-Lv061Q8LuEQ/edit?usp=sharing).

Free

Automated resume scoring with Gemini LLM, Gmail and Notion job profiles

This n8n template demonstrates how to use AI to score the all Resumes by matching it with Job profile Problem Statement: A Hr person is flooded with resume and spends hours manually checking each to find most suitable ones. How it works 1. It is linked to Gmail Trigger which upon receving any mail with specific subject will check for the attachment. 2. Attachment will be parsed to understand the resume 3. Candidate informtion will be broken into Personal, Eductional and Professional ty

Free

Build your own Youtube MCP server

This n8n demonstrates how to build a simple Youtube MCP server to look up videos on Youtube and download their transcripts for research purposes. Youtube videos are a great source of new and updated information on a variety of cutting edge developments but they''re are not always simple to understand and lengthy videos may take too much time. Using this MCP server, you extract and feed their transcripts for your AI agents which then allows it to breakdown the content into manageble learnings and

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint β€” instant download
  • Setup guide PDF included
  • 5 downloads Β· valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

β‚Ή2,499/ session
3 hrs Β· video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free