Skip to main content

Auto-summarize blog posts to social media with Gemma and Postiz

Workflow preview

Workflow preview
100%
Auto-summarize blog posts to social media with Gemma and Postiz preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Auto Summarize Blog Posts to Social Media with Gemma and Postiz This workflow automates fetching the latest post from a Blogspot RSS feed, summarizes it with an LLM (e.g., Gemma via Ollama), extrac...

Best for

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

Tools used

n8n-nodes-postiz.postiz, n8n-nodes-base.stickynote, n8n-nodes-base.splitout, n8n-nodes-base.rssfeedread, n8n-nodes-base.set, n8n-nodes-base.code, @n8n/n8n-nodes-langchain.chainllm, @n8n/n8n-nodes-langchain.lmollama

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Auto-summarize blog posts to social media with Gemma and Postiz
Workflow name
Auto-summarize blog posts to social media with Gemma and Postiz

Auto-Summarize Blog Posts to Social Media with Gemma and Postiz

This workflow automates fetching the latest post from a Blogspot RSS feed, summarizes it with an LLM (e.g., Gemma via Ollama), extracts and uploads an image, generates three relevant hashtags, and posts to Facebook, LinkedIn, X (Twitter), and Instagram via the Postiz API.

It ensures content fits platform limits (e.g., 280 characters for X) and prevents duplicates using hashing.

Pros:

  • Efficient for content creators
  • Local LLM ensures privacy
  • Customizable for any RSS/blog source

Cons:

  • Dependent on stable APIs (Postiz/social platforms)
  • LLM outputs may vary in quality without human review

Target Audience: Bloggers, content marketers, or social media managers looking to automate cross-platform posting from RSS sources, especially those focused on niches like health, tech, or personal development. Ideal for users with technical setup skills for self-hosting.

Customization Options:

  • Adapt prompts in "Generate Summary and Hashtags with LLM" for tone/style (e.g., professional vs. casual).
  • Modify maxChars/hashtag reserve in "Calculate Summary Character Limit" for different platforms.
  • Extend for multiple RSS feeds by adjusting "Calculate Summary Character Limit" array.
  • Add error handling (e.g., IF node after "Create and Post Content via Postiz API") for API failures.

Disclaimer: This template is designed for self-hosted n8n instances to leverage local Ollama for privacy. For cloud use, modify as follows: 1) Use an n8n cloud account, 2) Replace Ollama with a cloud API-based LLM like ChatGPT in the "Configure Local LLM Model (Ollama)" node, 3) Switch to cloud-hosted Postiz in the HTTP Request node.

Template Image:

How it works

  1. Set the RSS feed URL in "Set RSS Feed URLs".
  2. Fetch the latest post via RSS.
  3. Normalize fields and calculate the maximum summary length.
  4. Use the LLM to summarize the text, append hashtags, and include the link.
  5. Extract and process an image from the post HTML.
  6. Validate inputs and post to social platforms via the Postiz API.

Setup Instructions

  1. Install n8n (self-hosted recommended for Ollama integration).
  2. Set up Ollama with the Gemma (or a similar) model using "Ollama Model" credentials.
  3. Add Postiz API credentials in the "Create and Post Content via Postiz API" node.
  4. Replace placeholders:
    • RSS URL in "Set News RSS Feeds"
    • Integration IDs in the Postiz HTTP body
  5. (Optional) Add error handling for API failures.
  6. Activate the workflow and test with a sample post.

Uncertainties

  • Changes in social media APIs may break posting functionality.
  • LLM output consistency depends on model choice and prompt configuration.

Required n8n Version

Tested on n8n v1.107.3 (self-hosted).
Works with the community node n8n-nodes-langchain.


Resources

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 - Postiz (Create Post)

Type / Role
n8n-nodes-postiz.postiz - postiz
Config choices
Version 1

Block 2 - Sticky Note

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

Block 3 - Sticky Note1

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

Block 4 - Sticky Note2

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

Block 5 - Sticky Note3

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

Block 6 - Sticky Note4

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

Block 7 - Sticky Note5

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

Block 8 - Sticky Note6

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

Block 9 - Sticky Note7

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

Block 10 - Split RSS Feed URLs into Items

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

Block 11 - Fetch Latest RSS Feed Content

Type / Role
n8n-nodes-base.rssFeedRead - rssFeedRead
Config choices
Version 1.1

Block 12 - Normalize RSS Fields (Content & Link)

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 13 - Select Latest RSS Item by Date

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

Block 14 - Generate Summary and Hashtags with LLM

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.7

Block 15 - Configure Local LLM Model (Ollama)

Type / Role
@n8n/n8n-nodes-langchain.lmOllama - lmOllama
Config choices
Version 1

Block 16 - Calculate Summary Character Limit

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

Block 17 - Set RSS Feed URLs

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 18 - Read Last Posted Hash from File

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

Block 19 - Save Posted Hash to File

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

Block 20 - Calculate Link Hash for Duplication Check

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

Block 21 - Compare Hashes for Duplicate Check

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

Block 22 - Conditional Check for New Post

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

Block 23 - Extract Image URL from Post HTML

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

Block 24 - Fetch Blog Post HTML Content

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

Showing the first 24 of 35 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Auto-summarize blog posts to social media with Gemma and Postiz
Complexity advanced
Nodes 35
Categories Social Media, AI Summarization
Author Kyriakos Papadopoulos
Published 06 Oct 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/9316/9316.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 Auto-summarize blog posts to social media with Gemma and Postiz do?

Auto Summarize Blog Posts to Social Media with Gemma and Postiz This workflow automates fetching the latest post from a Blogspot RSS feed, summarizes it with an LLM (e.g., Gemma via Ollama), extrac...

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, AI Summarization use case.