πŸ“± Auto-publish web articles as social posts for X, LinkedIn, Reddit & Threads with Gemini AI

⚑ 9,932 views Β· πŸ“± Social Media & Email Marketing

πŸ’‘ Pro Tip β€” HTTP Request scraping tends to break when sites update their markup. If you’re scraping a major platform, check if ScraperNode covers it β€” it has maintained scrapers for LinkedIn, Instagram, TikTok, YouTube, and 20+ other platforms that return structured data.

View All Scrapers

Description

This workflow contains community nodes that are only compatible with the self-hosted version of n8n.

Description

This automation template is designed for content curators, marketers, and anyone looking to supercharge their content sharing strategy. It transforms any web article, blog post, or news link into a series of platform-specific social media posts, generated by AI. It also captures a live screenshot of the webpage to use as the post image, automating the entire process of publishing them across X (Twitter), LinkedIn, Threads, and Reddit.

Note: The default example is configured to share n8n templates, but this workflow can promote any web page, article, or news story. Just change the URL! The upload-post node only works for self-hosted n8n instances, but you can use the standard http node for uploading the content

Captura de pantalla 20250701 a las 13.02.29.png

Who Is This For?

What Problem Does This Workflow Solve?

Sharing a single piece of content across multiple social platforms is tedious. You need to manually write unique posts, create visuals, and then publish everything. This workflow addresses these challenges by:

How It Works

  1. Input a URL: In the β€œSet Input Data” node, simply paste the URL of the article or page you want to share.
  2. AI Analysis & Generation: The workflow sends the URL to the AI agent, which scrapes the content and generates four distinct, ready-to-publish posts.
  3. Screenshot Generation: At the same time, it uses the ScreenshotOne service to capture a high-quality image of the provided URL.
  4. Cross-Platform Publishing: The generated content and the screenshot are automatically sent to the corresponding nodes to be posted on X, LinkedIn, and Threads, while the text-only version is sent to Reddit.

Setup

  1. AI Model Credentials: Add your Google Gemini API key to the Google Gemini Chat Model node to power the AI agent.
  2. Screenshot Service (ScreenshotOne): The workflow uses ScreenshotOne to generate images for your posts.
    • Create a free account at screenshotone.com to get your own API key. The free plan includes 100 screenshots per month.
    • In the Upload Post X, Upload Post LinkedIn, and Upload Post Threads nodes, go to the Photos parameter (under Additional Fields) and replace the existing access_key in the URL with your own.
  3. Upload-Post Account: This workflow uses upload-post.com for multi-platform posting.
    • Create a free account at upload-post.com to get your API Token and User ID.
    • Add the credentials in the Upload Post X, Upload Post LinkedIn, and Upload Post Threads nodes.
  4. Reddit Credentials: Connect your Reddit account using OAuth2 in the Reddit node to enable posting.
  5. Customize the AI: (Optional) Edit the prompt in the Social Media Agent node to match your content. The default prompt is optimized for sharing n8n templates, but you can easily adapt it for any topic to fit your brand’s voice and style.

Requirements

Use this template to become a content-sharing powerhouse, saving hours of work while increasing your reach and engagement across the web.

πŸ”— Nodes Used

Reddit, AI Agent, Structured Output Parser, Google Gemini Chat Model

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup