Skip to main content

Post blog articles to LinkedIn and Twitter with OpenAI captions and UploadToURL

Workflow preview

Workflow preview
100%
Post blog articles to LinkedIn and Twitter with OpenAI captions and UploadToURL preview
Open on n8n.io

1. Workflow Overview

Turn your blog into a self driving social media machine. This workflow monitors your RSS feed, extracts new content, and uses AI to craft platform perfect posts for LinkedIn and Twitter/X, complete...

Best for

  • Social Media automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.rssfeedreadtrigger, n8n-nodes-base.if, n8n-nodes-base.code, n8n-nodes-base.httprequest, @n8n/n8n-nodes-langchain.openai, n8n-nodes-base.linkedin, n8n-nodes-base.twitter

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Jitesh Dugar.

Original n8n.io source

1.1 Workflow description

Title
Post blog articles to LinkedIn and Twitter with OpenAI captions and UploadToURL
Workflow name
Post blog articles to LinkedIn and Twitter with OpenAI captions and UploadToURL

Turn your blog into a self-driving social media machine. This workflow monitors your RSS feed, extracts new content, and uses AI to craft platform-perfect posts for LinkedIn and Twitter/X, complete with hosted images.


🎯 What This Workflow Does

This workflow automates the transition from "published on blog" to "live on social" in three primary stages:


🔁 Step 1 — RSS Trigger & Filter

  • RSS Feed Trigger: Polls your blog every 15 minutes to detect new articles
  • Validation: Ensures each item has a title and cover image before proceeding

☁️ Step 2 — Media Hosting Bridge

  • Fetch Binary: Downloads the blog’s cover image
  • UploadToURL: Uploads the image to a public CDN and returns a stable URL for social platforms

🤖 Step 3 — AI Multi-Platform Posting

  • OpenAI Captions: Generates:
  • LinkedIn → professional, long-form post
  • Twitter/X → short, punchy tweet with hashtags
  • Parallel Publishing: Posts simultaneously to both platforms
  • Success Logging: Tracks hosted image URLs and caption details

✨ Key Features

  • Built-in Deduplication: RSS ensures no duplicate posts
  • Clean Data Processing: Strips HTML for better AI output
  • Fallback Logic: Uses default caption if AI fails
  • Reliable Media Hosting: UploadToURL ensures public image access

🔧 Setup Requirements

Required Credentials

  • OpenAI: API key
  • LinkedIn: OAuth2 credentials
  • Twitter/X: OAuth1 credentials
  • UploadToURL: API key

Configuration

  • Add your blog’s RSS Feed URL
  • Adjust polling interval (default: 15 minutes)

Ready to boost your blog’s reach? Import this template and automate your social presence instantly!

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - 📋 MAIN — Workflow Overview

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - 📝 Note — Trigger & Filter

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - 📝 Note — Fetch & Upload Image

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - 📝 Note — AI Caption & Social Posting

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - RSS Feed — Blog Monitor

Type / Role
n8n-nodes-base.rssFeedReadTrigger - rssFeedReadTrigger
Config choices
Version 1

Block 6 - IF — Has Title & Cover Image

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2

Block 7 - Code — Extract & Clean Blog Data

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 8 - HTTP — Fetch Cover Image Binary

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 9 - Code — Merge Hosted URL with Blog Data

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 10 - OpenAI — Generate Platform Captions

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.4

Block 11 - Code — Parse AI Captions Safely

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 12 - LinkedIn — Publish Post with Image

Type / Role
n8n-nodes-base.linkedIn - linkedIn
Config choices
Version 1

Block 13 - Twitter/X — Publish Tweet

Type / Role
n8n-nodes-base.twitter - twitter
Config choices
Version 1

Block 14 - Code — Success Logger

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 15 - Upload a File

Type / Role
n8n-nodes-uploadtourl.uploadToUrl - uploadToUrl
Config choices
Version 1

3. Summary Table

Workflow Post blog articles to LinkedIn and Twitter with OpenAI captions and UploadToURL
Complexity advanced
Nodes 15
Categories Social Media, Multimodal AI
Author Jitesh Dugar
Published 10 Apr 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/14970/14970.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Post blog articles to LinkedIn and Twitter with OpenAI captions and UploadToURL do?

Turn your blog into a self driving social media machine. This workflow monitors your RSS feed, extracts new content, and uses AI to craft platform perfect posts for LinkedIn and Twitter/X, complete...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Social Media, Multimodal AI use case.