Automated Content Generation from RSS using GPT Agents - n8n Workflow

Use this powerful n8n workflow to automate content creation. Pull RSS feeds, select top articles using AI agents, and generate platform-optimized posts for Medium, LinkedIn, and Instagram.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?

Content Marketers managing multiple social channels.
Social Media Managers seeking high-volume, quality drafts.
Agencies needing to scale content production using AI.
Users looking for advanced examples of n8n templates integrating multiple OpenAI Agents.

Overview

Generating consistent, high-quality content across multiple platforms (Medium, LinkedIn, Instagram) is time-consuming. This specialized n8n workflow solves this by fully automating the research, selection, and initial drafting processes. The automation starts by tracking relevant RSS feeds. It then leverages powerful OpenAI Agents to filter the noise, selecting only the most relevant articles for your niche. Finally, it generates customized, brand-aligned content drafts for each platform before delivering them to your inbox for final human review and posting. This sophisticated n8n template ensures brand consistency while dramatically cutting down the time spent on content creation.

How it Works

This comprehensive n8n workflow operates on a scheduled basis to ensure fresh content generation.


  1. Schedule Activation: The n8n trigger starts the process every three days (configurable within the Schedule Trigger n8n node).

  2. RSS Collection: The RSS Read n8n node pulls the latest articles from the specified news feed (e.g., AI industry news).

  3. Data Structuring: Code nodes (Aggregate and group the news into 1 item) combine and structure the news items, assigning unique IDs for the AI Agent to reference.

  4. AI Article Selection: The first AI Agent (Best Article finder) analyzes the structured news titles and summaries, using a connection to the OpenAI Chat Model, and selects the top three articles relevant to the company's focus (AI Agents & Automation). The n8n node is configured to output only the IDs.

  5. URL Retrieval: A subsequent Code n8n node (Find the urls the ai outputted) parses the AI's output, retrieves the full article objects, and prepares the necessary links.

  6. Medium Draft Generation: The second AI Agent (Tone of voice content writer) receives the selected articles/links and generates a comprehensive Medium post, strictly adhering to the specified 'Codint' brand tone-of-voice and style guidelines defined in the system prompt.

  7. Medium Review: The first draft is sent via a Gmail n8n node (Send Content Confirmation1) for immediate human review.

  8. Social Repurposing: The third AI Agent (Instagram & Linkedin Writer) takes the finalized Medium draft and repurposes it into platform-specific posts for LinkedIn (business/thought-leadership style) and Instagram (light/visual style).

  9. Social Review: The final output is sent via the last Gmail n8n node (Send Content Confirmation) for final confirmation before manual publishing. This powerful n8n workflow ensures quality control with human oversight.

Installation Guide

To use this advanced n8n workflow, follow these steps:


  1. Import: Copy the provided JSON data and paste it into your n8n instance via the 'Import Workflow' function.

  2. OpenAI Credentials: Locate the OpenAI Chat Model n8n node. You must connect your OpenAI API key credentials. This is essential as multiple AI agents depend on this connection.

  3. Gmail Credentials: Locate the two Send Content Confirmation Gmail n8n nodes. Connect your Gmail OAuth2 credentials so the workflow can send the drafts to your reviewer email.

  4. Customize RSS Feed: Update the RSS Read n8n node URL parameter with the news source most relevant to your industry or niche.

  5. Customize AI Prompts: The Best Article finder, Tone of voice content writer, and Instagram & Linkedin Writer n8n nodes contain specialized system prompts (in Dutch in the provided template). Adjust these prompts, including the tone of voice and company focus, to perfectly match your brand. Using AI to refine your system prompts is recommended for an even better result.

  6. Update Review Emails: Change the recipient email address in both Send Content Confirmation n8n nodes to your personal or content review email.

  7. Activate: Once configured, test the n8n workflow manually, then activate the Schedule Trigger n8n node to run it automatically.

Node Details

This n8n template relies on several specialized and custom Code n8n nodes for data manipulation alongside powerful AI agents.

Schedule Trigger n8n node: Function: Acts as the primary n8n trigger, initiating the content generation every 3 days at 8:30 AM.
RSS Read n8n node: Function: Collects raw news data from the specified RSS feed (defaulting to AIBusiness).
group the news into 1 item (Code n8n node): Function: Prepares the structured data by assigning sequential IDs (1, 2, 3...) to each article. This ID is crucial as the AI Agent uses it for selection rather than reading the entire content.
Best Article finder (AI Agent n8n node): Function: Analyzes the titles and short previews (forAI field) and selects the IDs of the top 3 most relevant articles for the specified niche (AI Agents & Automation).
Find the urls the ai outputted (Code n8n node): Function: Parses the comma-separated ID list returned by the AI Agent and maps those IDs back to the original full articles (titles, links) stored in the n8n workflow data structure.
Tone of voice content writer (AI Agent n8n node): Function: Generates the full Medium blog post draft based on the selected articles, utilizing a highly detailed, brand-specific system prompt and the connected OpenAI Chat Model.
Instagram & Linkedin Writer (AI Agent n8n node): Function: Takes the Medium post content and repurposes it, adjusting tone and format to fit the specific requirements of LinkedIn (professional) and Instagram (lively/short), all within one powerful n8n node configuration.
Gmail n8n nodes: Function: Used for sending the generated drafts to a human reviewer for quality control before final posting. This ensures the n8n workflow maintains accuracy.

Related n8n Workflows

Free

Nodes: 8 Nodes
Updated: December 26 2025
View all
Created by

CodInt is een gespecialiseerde AI-automatisering studio die autonome AI-agenten en intelligente workflows bouwt voor ambitieuze bedrijven. We werken met teams dat willen opschalen met bewezen AI-technologieën zoals LangChain, OpenAI en RAG-systemen. Van accounting-automatisering tot recruitment processen - wij maken AI werkend voor jouw business.

Featured*