π± Classify AI news from RSS and create LinkedIn carousels with Gemini and PostNitro
β‘ 3 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
Quick overview
This workflow polls the TechCrunch RSS feed every minute, uses Google Gemini to classify and analyze AI-related articles, then sends relevant stories to PostNitro to generate a carousel draft and schedule a LinkedIn document post, with Gmail notifications for success or failure.
How it works
- Runs every minute and reads new items from the TechCrunch RSS feed.
- Limits processing to the first 10 articles from the feed update.
- Uses Google Gemini to classify each article as AI-relevant, assign a category, and score its importance with structured output.
- Filters out articles that are not marked as AI-relevant.
- Uses Google Gemini again to produce a structured analysis of each relevant article, including impacts and a recommended carousel angle.
- Sends the article URL to PostNitro to generate a carousel design and then schedules it as a LinkedIn document post for the next day.
- Sends a Gmail email confirming the scheduled draft, or sends an error email if PostNitro generation fails.
Setup
- Add Google Gemini (PaLM) API credentials for both the classifier and analyst steps.
- Add PostNitro API credentials and update the brand ID, preset ID, template ID, and selected account ID used for carousel creation and scheduling.
- Add Gmail OAuth2 credentials and set the recipient email address and message content for the success and failure notifications.
- Update the RSS feed URL and polling frequency if you want to monitor a different source or run less often.
- Adjust the maximum article limit and the PostNitro scheduling time (currently set to one day from execution) to match your publishing cadence.
π Nodes Used
Gmail, Basic LLM Chain, Structured Output Parser, RSS Feed Trigger, Google Gemini Chat Model
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File