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 im...
Template notes
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.