Automated RSS Content Curation and Instagram Publishing - n8n Workflow

Use this robust n8n workflow to automate content creation for Instagram. It employs AI agents (Langchain) to analyze RSS feeds, generate captions and DALL-E images, and handle the complex publishing process via the n8n Facebook Graph API node.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?


  • Social media managers seeking reliable, automated content pipelines.

  • Digital marketers utilizing sophisticated n8n templates to scale content production.

  • Technical users requiring a complex, AI-driven n8n workflow example involving API polling.

  • Content creators who want to repurpose long-form content efficiently.

Overview

Managing consistent, high-quality social media output can be time-consuming. This highly sophisticated n8n workflow solves the manual burden associated with content curation, synthesis, image creation, and multi-step API publishing.

Instead of manually reviewing feeds and crafting posts, this automation leverages specialized Langchain AI agents integrated into various n8n node steps. It analyzes large volumes of RSS data, selects the most valuable items, generates bespoke captions, and creates corresponding DALL-E images.

Crucially, this n8n template handles the complexity of the Instagram Graph API by implementing a required asynchronous polling mechanism, using the Wait n8n node and conditional logic to ensure media status is complete before publishing. This robust design guarantees reliability for your automated social media content pipeline.

How it Works

The entire process is initiated by the Schedule Trigger n8n trigger, allowing the n8n workflow to run at predefined intervals.


  1. Data Ingestion and Preprocessing: The RSS Read n8n node fetches the latest articles. These are then aggregated and prepared for AI analysis using JavaScript code within the group the news into 1 item n8n node.

  2. AI Analysis and Selection: The Best Article finder Langchain Agent n8n node analyzes the content to prioritize the most relevant articles for the Instagram audience.

  3. Content Structuring: Dedicated Code n8n nodes extract and format key data (such as source URLs) identified by the AI, preparing it for the next stage of generation.

  4. AI Generation (Text): The News-writer Langchain Agent and AI-NewsTitle OpenAI n8n node collaboratively generate the final, engaging caption and headline.

  5. AI Generation (Image & Editing): An OpenAI n8n node creates a relevant image. The Edit Image n8n node then overlays necessary elements, such as a 'Read More' call-to-action.

  6. Cloudinary Hosting: The finalized image is uploaded to Cloudinary using a dedicated n8n node, yielding the public URL required for Instagram.

  7. Instagram Upload Polling: The n8n workflow initiates the media upload using the Facebook Graph API n8n node. Since this is an asynchronous operation, the flow enters a loop: it uses the Wait n8n node and an If n8n node to repeatedly check the processing status via the Instagram check status n8n node until the media is ready.

  8. Final Publishing: Once the status check confirms the media is processed, the Instagram publish media Facebook Graph API n8n node completes the post.

Installation Guide

To deploy this comprehensive n8n workflow, follow these steps:


  1. Import the JSON: Copy the provided n8n workflow JSON code and import it directly into your n8n instance.

  2. Credentials Setup: You will need credentials for the following services:

- OpenAI: Required for the Langchain Agents and DALL-E image generation nodes.
- Cloudinary: Required for the Upload an asset from file data n8n node to host the generated images.
- Facebook Graph API (Instagram): Requires a properly configured Facebook/Meta developer app connected to your Instagram Business account to allow the Facebook Graph API n8n node to post content.

  1. RSS Configuration: Configure the RSS Read n8n node with the specific URL of the feed you wish to automate.

  2. Langchain Setup: Ensure your Langchain Agent n8n nodes are configured with appropriate models and API keys (likely OpenAI).

  3. Activate: Once credentials and parameters are set, activate the n8n workflow via the Schedule Trigger n8n node.

Node Details

Schedule Trigger: The initial n8n trigger, set to fire the n8n workflow periodically.
RSS Read: Fetches the source content. Key configuration involves setting the target RSS URL.
Best Article finder (Langchain Agent): This advanced n8n node uses sophisticated AI logic (likely GPT-4o mini via the 4o-mini node) to select high-value content from the feed aggregation.
News-writer (Langchain Agent): Another specialized AI n8n node that transforms the article synopsis into a compelling Instagram caption suitable for the target audience.
Generate an image (OpenAI): An essential n8n node utilizing DALL-E for visual content creation based on AI-generated text prompts.
Add_textReadMore-toimage (Edit Image): A utility n8n node used to modify the visual asset by adding necessary text overlays before publication.
Upload an asset from file data (Cloudinary): A crucial step using this n8n node to securely host the media and generate the public URL needed by Instagram's API.
Facebook Graph API: Multiple instances of this powerful n8n node are used to handle media upload initiation, status polling, and final post publishing, demonstrating complex integration within the n8n templates.

Related n8n Workflows

Paid

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

Cybersecurity Analyst passionate about automation, cloud, and infrastructure. Since discovering n8n, I automate everything I can: workflows, processes, integrations, and repetitive tasks. I love building, optimizing, and making systems more secure, faster, and scalable.

Featured*