π± Automate blog-to-social media with GPT-4 for LinkedIn, X, and Reddit
β‘ 490 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
Turn your blog into a set-and-forget content engine: every new article is instantly repurposed into channel-specific social posts with visuals, keeping your brand visible on LinkedIn, X, and Reddit without extra copywriting time. Perfect for lean marketing teams who want consistent, always-on distribution from a single source of content.
How it works
β’ Watches your blog RSS feed (or receives a single URL) and detects new articles. β’ Saves each post in Postgres so every article is only processed once. β’ Fetches the article HTML, extracts the main body content and sends it to OpenAI (GPT-4.1). β’ OpenAI creates platform-optimized copy: 1 LinkedIn post, 1 X/Twitter post, 1 Reddit post + image prompts. β’ Generates on-brand images with OpenAI and publishes everything automatically to LinkedIn, X, and Reddit. β’ You can also trigger it manually or via webhook whenever you want to push a specific campaign.
image1.png image2.png
Setup Steps
β’ Time: around 20β40 minutes for someone familiar with n8n and the platforms. β’ Create a Postgres table βrss_itemsβ with fields: guid (PRIMARY KEY), title, link, published_at. β’ Add credentials in n8n for: β Postgres β OpenAI β LinkedIn OAuth2 β X/Twitter OAuth2 + OAuth1 (for media upload) β Reddit OAuth2 β’ In the RSS node, set your blog feed URL (for example: https://yourblog.com/feed). β’ In the webhook node, confirm the URL/path you want external tools or other workflows to call with a βlinkβ field. β’ Run the manual trigger with one test blog URL to verify: β Article content is extracted correctly. β AI returns LinkedIn/X/Reddit posts and image prompts. β Posts and images appear correctly on all social accounts. β’ Once tests look good, enable the Schedule Trigger so Blog2Social AI runs automatically at your chosen interval.
π Nodes Used
HTTP Request, Postgres, RSS Read, Webhook, X (Formerly Twitter), LinkedIn
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File