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.
- 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
- Go to https://aistudio.google.com/app/apikey
- Click "Get API Key" or "Create API Key"
- Copy your API key (starts with "AIza...")
- 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:
- 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
- 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
- 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
The workflow comes with 2 RSS feeds pre-configured:
- TechCrunch: Technology and startup news
- The Verge: Tech, science, and culture
- 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
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
- 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)
Edit to match your agency's focus:
- Change industry focus (e.g., healthcare, finance, real estate)
- Adjust scoring criteria
- Modify target audience definitions
Customize your brand voice:
- Tone: Professional, casual, authoritative, friendly
- Length preferences
- Hashtag strategy
- CTA style
- 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
- 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:
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.
- 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
- 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
| 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 |
- 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
Duplicate the analysis node and create industry-specific filters:
- Tech posts (Monday, Wednesday, Friday)
- Business strategy posts (Tuesday, Thursday)
- Case studies (weekends)
Create variations:
- Different hooks
- Various lengths
- With/without questions
- Different hashtag strategies
Add a second workflow that:
- Reads the Google Sheet
- Uses LinkedIn API to fetch post metrics
- Updates performance columns automatically
Add Gmail node to send daily summary:
- "5 new posts ready for review"
- Top-scoring articles
- Suggested posting schedule for the week
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
- 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
- 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
- Edit "Gemini - Suggest Schedule" prompt
- Specify your audience's timezone
- Add constraints (e.g., "never weekends")
- Provide historical performance data
- Verify OAuth connection is active
- Check Sheet ID is correct
- Ensure sheet isn't protected
- Confirm column mapping is correct
Use different RSS feeds to cover:
- Industry news (30%)
- How-to/educational (40%)
- Opinion/thought leadership (20%)
- Company updates (10%)
- Ask open-ended questions
- Share contrarian viewpoints
- Use data/statistics
- Tell stories
- Reference current events
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
- Import workflow and configure credentials
- Add 3-5 relevant RSS feeds
- Generate 20 sample posts
- Review and refine AI prompts
- Start posting 3-5 times per week
- Track performance metrics
- Identify top-performing topics
- Adjust filtering criteria
- Analyze what content resonates
- Fine-tune AI prompts based on results
- Experiment with posting times
- Build a content backlog
- Add more RSS feeds
- Create content variations
- Build workflow #2 (Document Processing)
- Package as a service for clients
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