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

Go to Workflow
0 views
Built by Jitesh Dugar Jitesh Dugar
Created on April 10, 2026

Description

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!

This workflow was created by Jitesh Dugar and shared publicly on the n8n community template library. n8nFind indexes it for discovery — the workflow remains the property of its original creator.

Nodes Used (5)

Code
n8n-nodes-base.code
HTTP Request
n8n-nodes-base.httpRequest
LinkedIn
n8n-nodes-base.linkedIn
OpenAI
@n8n/n8n-nodes-langchain.openAi
X (Formerly Twitter)
n8n-nodes-base.twitter