LinkedIn Content Automation Workflow - Setup Guide
Automates LinkedIn content creation by fetching RSS articles, scoring them with Gemini AI, and storing drafts in a Google Sheets calendar.
What this file does
Automates LinkedIn content creation by fetching RSS articles, scoring them with Gemini AI, and storing drafts in a Google Sheets calendar.
When to use it
- You want a daily pipeline of curated LinkedIn posts from industry RSS feeds
- You need AI-generated post drafts with relevance scoring and scheduling suggestions
- You run a B2B or tech agency and want to package content automation as a service
- You already use n8n and want a ready-made workflow for social media content
Assumes this stack
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
What's inside
8 setup steps, 3 AI prompt customization sections, 1 troubleshooting guide, 1 cost estimate, 1 service packaging outline
Change this for your project
- Replace
https://docs.google.com/spreadsheets/d/YOUR_SHEET_ID_HERE/editwith your actual Sheet ID - Replace
https://feeds.feedburner.com/TechCrunch/and other RSS URLs with your preferred feeds - Replace
keyin the Gemini API credential name with your actual API key value
Where it goes
Keep it in your repository where the agent or team that needs it will read it.
Worth borrowing
- Using a relevance score threshold (60+) to filter AI-evaluated articles before posting
- Mapping post statuses (Draft → Scheduled → Posted → Archived) to track content lifecycle in a spreadsheet
- Duplicating analysis nodes to create industry-specific content streams for different days of the week
Related Documents
MCP Integration Workflows and Orchestration Guide
Defines enterprise-grade integration patterns, orchestration strategies, and advanced workflows for MCP servers with code examples.
AI-Generated Short-Form Video Platform
Defines a modular SaaS pipeline that transforms uploaded MP4 videos into polished short-form clips using AI agents and human review.
Valet V1 — Architecture & Implementation Plan
Defines a hosted background coding agent platform with isolated sandboxed dev environments, multiplayer sessions, and YAML-driven workflows.
GitHub Topics & Skills Monitor
Provides a structured GitHub monitoring strategy with search queries, watchlist, and notification options for AI skills, agents, and MCP servers.