π± Auto-post LinkedIn updates from spreadsheet topics using GPT-4o
β‘ 618 views Β· π± Social Media & Email Marketing
π‘ 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.
Description
How it works:
This workflow automates the entire LinkedIn content distribution process β from AI-powered post creation to auto-posting on both personal LinkedIn profiles and LinkedIn groups, using GPT-4o and Google Sheets as the content source and control panel.
- Auto-generates professional LinkedIn posts from spreadsheet topics using GPT-4o.
- Posts to your LinkedIn profile and multiple groups.
- Updates status to avoid duplicate posting.
- Fully customizable and reusable with your spreadsheet.
Set up Steps
-
Create and Upload the Spreadsheet
- Name it: Linkedin Post
- Sheet1 (for post topics): Columns: ID | Linkedin Post Title | Status
- Add post titles under Linkedin Post Title
- Set Status to Pending
- Create new sheet name as βGroupsβ (for group distribution): Column: GroupIds
- Add LinkedIn Group IDs, one per row
-
Connect Google Sheets Nodes
- Connect your Google account to these nodes:
- Linkedin Post topic (Reads post topics)
- Get group id (Reads LinkedIn groups)
- Update Status (Writes back the status after posting)
- Connect your Google account to these nodes:
-
Configure GPT-4o (OpenAI)
- Add your OpenAI API key in the Linkedin Post creator node
- This node will generate high-quality content from your topic titles
-
Connect LinkedIn Account
- Add your LinkedIn credentials in the Linkedin user detail node
- Ensure appropriate permissions to post on profile and groups
-
Activate the Workflow : Once live, the workflow will:
- Monitor the Google Sheet for Pending posts.
- Generate content via GPT-4o.
- Post to:
- Your LinkedIn Profile
- Each LinkedIn Group listed in the Groups sheet
- Update the post Status to Posted
Customization Tips
Want to personalize this template?
- Change AI tone or style in the OpenAI node prompt
- Add a scheduler node if youβd like to post at fixed intervals
- Use a Slack or Telegram approval step before posting
- Integrate analytics tools to track post performance
Suggested Sticky Notes for Workflow
| Node or Section | Sticky Note Content |
|---|---|
Linkedin Post topic | Reads the topic titles and statuses from Sheet1 |
OpenAI (GPT-4o) | Generates content using topic title β you can modify the tone/prompt here |
Linkedin user detail | Your personal LinkedIn credentials β required to post |
Group loop | Iterates through LinkedIn Group IDs and posts the content |
Update Status | Updates spreadsheet so the topic isnβt re-posted |
π Nodes Used
Google Sheets, HTTP Request, Google Sheets Trigger, AI Agent, OpenAI Chat Model, Structured Output Parser
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File