LinkedIn Content Automation Workflow - Setup Guide
This n8n workflow automatically discovers trending articles from RSS feeds, analyzes them with Gemini AI, generates engaging LinkedIn posts, and organizes everything in a Google Sheets content calendar for easy scheduling and tracking.
LinkedIn Content Automation Workflow - Setup Guide
Overview
This n8n workflow automatically discovers trending articles from RSS feeds, analyzes them with Gemini AI, generates engaging LinkedIn posts, and organizes everything in a Google Sheets content calendar for easy scheduling and tracking.
What This Workflow Does
- Monitors RSS Feeds - Pulls latest articles from industry sources (TechCrunch, The Verge, etc.)
- Filters Recent Content - Only processes articles from the last 24 hours
- AI Content Analysis - Gemini evaluates each article for relevance and engagement potential
- Smart Filtering - Only keeps articles with 60+ relevance score
- Generates LinkedIn Posts - Creates professional, engaging posts optimized for LinkedIn
- Suggests Optimal Timing - AI recommends the best date/time to post
- Content Calendar - Everything organized in Google Sheets with performance tracking
Setup Instructions
Step 1: Get Your Gemini API Key
- Go to https://aistudio.google.com/app/apikey
- Click "Get API Key" or "Create API Key"
- Copy your API key (starts with "AIza...")
Step 2: Create Your Google Sheets Content Calendar
- Create a new Google Sheet
- Name it "LinkedIn Content Calendar" (or your preference)
- The workflow will automatically create all necessary columns:
- Post ID, Status, Scheduled Date/Time
- Post Content, Article Title, Article Link
- Relevance Score, Engagement Potential
- Target Audience, Key Takeaway
- Performance Metrics (Likes, Comments, Shares)
- Notes
- Copy the Sheet ID from the URL
- Example:
https://docs.google.com/spreadsheets/d/YOUR_SHEET_ID_HERE/edit
- Example:
Step 3: Import the Workflow
- Open your n8n instance
- Click "Add Workflow" or the "+" button
- Click the three dots menu (⋮) → "Import from File"
- Select
linkedin_content_automation.json - The workflow will load with all nodes
Step 4: Configure Credentials
Gemini API Credential
- In n8n, go to Settings → Credentials
- Click "Add Credential" → Search for "Query Auth"
- Name it "Gemini API Key"
- Set:
- Name:
key - Value: Your Gemini API key
- Name:
- Save
Google Sheets Credential
- In the workflow, click on "Add to Content Calendar" node
- Click "Create New Credential"
- Follow OAuth2 flow to connect your Google account
- Authorize n8n to access your Google Sheets
Step 5: Configure RSS Feeds
The workflow comes with 2 RSS feeds pre-configured:
- TechCrunch: Technology and startup news
- The Verge: Tech, science, and culture
To Add More RSS Feeds:
- Click the "+" button between "Schedule Trigger" and "Merge RSS Feeds"
- Search for "RSS Feed Read" node
- Add the RSS feed URL
- Name it descriptively (e.g., "RSS Feed - Wired")
- Connect it to the "Merge RSS Feeds" node
Recommended RSS Feeds for B2B/Tech:
AI & Technology:
- TechCrunch:
https://feeds.feedburner.com/TechCrunch/ - The Verge:
https://www.theverge.com/rss/index.xml - Wired:
https://www.wired.com/feed/rss - VentureBeat AI:
https://venturebeat.com/category/ai/feed/ - MIT Technology Review:
https://www.technologyreview.com/feed/
Business & Marketing:
- Harvard Business Review:
https://feeds.hbr.org/harvardbusiness - Fast Company:
https://www.fastcompany.com/latest/rss - Marketing Land:
https://marketingland.com/feed - CMSWire:
https://www.cmswire.com/rss/
Industry Specific:
- SaaS:
https://www.saastr.com/feed/ - eCommerce:
https://www.practicalecommerce.com/feed - Finance:
https://www.finextra.com/rss/headlines.aspx
Step 6: Update Google Sheets Connection
- Click on "Add to Content Calendar" node
- Select your Google Sheets credential
- Click "Document ID" → Select your calendar sheet
- Click "Sheet Name" → Select "Sheet1" (or your sheet name)
Step 7: Customize AI Prompts (Optional)
Analysis Prompt (Node: "Gemini - Analyze Article")
Edit to match your agency's focus:
- Change industry focus (e.g., healthcare, finance, real estate)
- Adjust scoring criteria
- Modify target audience definitions
Post Creation Prompt (Node: "Gemini - Create LinkedIn Post")
Customize your brand voice:
- Tone: Professional, casual, authoritative, friendly
- Length preferences
- Hashtag strategy
- CTA style
Step 8: Test the Workflow
- Click "Execute Workflow" button (play icon)
- Watch the nodes execute step by step
- Check your Google Sheet for new posts
- Review the generated content and scores
Workflow Behavior
Scheduling
- Default: Runs daily at 8 AM
- To change: Click "Schedule Trigger" → Modify "Cron Expression"
- Common schedules:
- Twice daily:
0 8,16 * * * - Every 6 hours:
0 */6 * * * - Weekdays only:
0 8 * * 1-5
- Twice daily:
Content Filtering
Articles must meet BOTH criteria to be added to calendar:
- Relevance Score: 60+ (relevant to B2B tech/AI)
- Engagement Potential: 60+ (likely to generate interaction)
You can adjust these thresholds in the "Filter Recommended Only" node.
Post Status Flow
- Draft - Generated and ready for review
- Scheduled - Approved and ready to post (manually update in Sheet)
- Posted - Published to LinkedIn (manually update + add timestamp)
- Archived - Past posts for reference
Using the Content Calendar
Daily Workflow:
- Morning: Check new posts added overnight
- Review: Read each draft post, edit if needed
- Approve: Change status from "Draft" to "Scheduled"
- Post: Copy content to LinkedIn at suggested time
- Track: Update "Posted At" timestamp and performance metrics
Google Sheets Columns Explained:
| Column | Purpose |
|---|---|
| Post ID | Unique identifier for tracking |
| Status | Draft / Scheduled / Posted / Archived |
| Scheduled Date | AI-suggested posting date |
| Scheduled Time | AI-suggested posting time |
| Post Content | Ready-to-copy LinkedIn post text |
| Article Title | Source article headline |
| Article Link | Link to original article |
| Source | Which RSS feed (TechCrunch, etc.) |
| Relevance Score | 0-100, how relevant to your audience |
| Engagement Potential | 0-100, predicted engagement |
| Target Audience | Who should read this |
| Key Takeaway | Main insight from article |
| Created At | When workflow generated this |
| Posted At | When you actually posted (manual entry) |
| Likes | Performance tracking (manual entry) |
| Comments | Performance tracking (manual entry) |
| Shares | Performance tracking (manual entry) |
| Notes | Any additional context |
Best Practices:
- Review Before Posting: Always read and customize AI-generated posts
- Add Personal Touch: Insert your own insights or experiences
- Track Performance: Update metrics 24-48 hours after posting
- Optimize Over Time: Notice which topics/formats perform best
- Maintain Consistency: Post 3-5 times per week for best results
Advanced Customization
Add Multiple Industries
Duplicate the analysis node and create industry-specific filters:
- Tech posts (Monday, Wednesday, Friday)
- Business strategy posts (Tuesday, Thursday)
- Case studies (weekends)
A/B Test Post Formats
Create variations:
- Different hooks
- Various lengths
- With/without questions
- Different hashtag strategies
Automated Performance Tracking
Add a second workflow that:
- Reads the Google Sheet
- Uses LinkedIn API to fetch post metrics
- Updates performance columns automatically
Email Digest
Add Gmail node to send daily summary:
- "5 new posts ready for review"
- Top-scoring articles
- Suggested posting schedule for the week
Cost Estimation
For 30 posts per month:
- Gemini API: ~$0.50/month (3 calls per post × 300 tokens)
- RSS Feeds: Free
- n8n: Free (self-hosted) or $20/month (cloud)
- Google Sheets: Free
Total: ~$20-21/month for fully automated LinkedIn content
Troubleshooting
No articles appearing in calendar
- Check RSS feed URLs are working (test in browser)
- Verify relevance score threshold (try lowering to 40)
- Confirm date filter is set correctly (last 24 hours)
- Check Gemini API quota
Generated posts are too generic
- Edit the "Gemini - Create LinkedIn Post" prompt
- Add more specific instructions about your brand voice
- Include examples of your best-performing posts
- Adjust target audience definition
Wrong posting times suggested
- Edit "Gemini - Suggest Schedule" prompt
- Specify your audience's timezone
- Add constraints (e.g., "never weekends")
- Provide historical performance data
Google Sheets not updating
- Verify OAuth connection is active
- Check Sheet ID is correct
- Ensure sheet isn't protected
- Confirm column mapping is correct
Content Strategy Tips
Topic Diversity
Use different RSS feeds to cover:
- Industry news (30%)
- How-to/educational (40%)
- Opinion/thought leadership (20%)
- Company updates (10%)
Engagement Tactics
- Ask open-ended questions
- Share contrarian viewpoints
- Use data/statistics
- Tell stories
- Reference current events
Hashtag Strategy
The AI will suggest hashtags, but consider:
- Mix broad (#AI, #Technology) with niche (#B2BMarketing)
- Use 3-5 hashtags maximum
- Track which hashtags drive engagement
- Create a branded hashtag
Next Steps
Week 1: Setup & Testing
- Import workflow and configure credentials
- Add 3-5 relevant RSS feeds
- Generate 20 sample posts
- Review and refine AI prompts
Week 2: Content Production
- Start posting 3-5 times per week
- Track performance metrics
- Identify top-performing topics
- Adjust filtering criteria
Week 3: Optimization
- Analyze what content resonates
- Fine-tune AI prompts based on results
- Experiment with posting times
- Build a content backlog
Week 4: Scale
- Add more RSS feeds
- Create content variations
- Build workflow #2 (Document Processing)
- Package as a service for clients
Packaging This as a Service
Offer to clients:
- "LinkedIn Content Automation Package"
- Price: $500-1500/month
- Include: Setup, custom RSS feeds, brand voice tuning, first month management
- Upsells: Performance reporting, direct LinkedIn posting, multi-platform expansion
Related Documents
Valet V1 — Architecture & Implementation Plan
1. [Vision & Scope](#1-vision--scope)
Writing Effective Skills
What makes a skill actually work vs. being ignored or misapplied. Based on studying production skills across Claude Code (Superpowers, Trail of Bits, Anthropic's official plugins), Codex (babysit-pr, skill-creator, curated catalog), OpenClaw (55 bundled skills, 13,700+ community), and Cursor/Cline rule systems (BMAD-METHOD, RIPER-5, steipete/agent-rules).
Spotipy Types - Implementation Plan
A standalone type stub package for spotipy using Pydantic models generated from the official Spotify Web API OpenAPI schema.
Project Development Requirements (PDR)
**Generated**: 2026-03-22