Skip to main content

Publish LinkedIn posts from RSS using Ollama, PostgreSQL and Telegram approval

Workflow preview

Workflow preview
100%
Publish LinkedIn posts from RSS using Ollama, PostgreSQL and Telegram approval preview
Open on n8n.io

1. Workflow Overview

This workflow automatically converts incoming RSS/news articles into structured, AI enriched content records. It uses a local AI model to summarize articles, extract metadata, and classify content ...

Best for

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

Tools used

@n8n/n8n-nodes-langchain.lmchatollama, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.postgres, n8n-nodes-base.telegramtrigger, n8n-nodes-base.code, n8n-nodes-base.noop, n8n-nodes-base.linkedin, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Jyothish S L.

Original n8n.io source

1.1 Workflow description

Title
Publish LinkedIn posts from RSS using Ollama, PostgreSQL and Telegram approval
Workflow name
Publish LinkedIn posts from RSS using Ollama, PostgreSQL and Telegram approval

This workflow automatically converts incoming RSS/news articles into structured, AI-enriched content records. It uses a local AI model to summarize articles, extract metadata, and classify content before storing it in PostgreSQL. A human-in-the-loop approval step via Telegram ensures only validated content is published to LinkedIn, maintaining quality and brand safety.

⚙️ How it works Fetch RSS feed articles → AI summarizes content using Ollama → Extracts category, keywords, sentiment, and key points → Stores structured data in PostgreSQL → Sends content to Telegram for human approval → User approves or rejects → Approved content is marked in database → Automatically publishes approved posts to LinkedIn

📦 Requirements

n8n (latest version) PostgreSQL database Telegram Bot API credentials LinkedIn Developer App (OAuth2) Ollama (local AI runtime) with model like qwen2.5:3b RSS feed source (e.g., Ars Technica or any news feed)

📊 Database Table Required: rss_feed_articles

Stores AI-processed articles, metadata, and approval status for controlled publishing workflow.

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 - Ollama Chat Model

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

Block 2 - AI Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 3.1

Block 3 - Insert rows in a table1

Type / Role
n8n-nodes-base.postgres - postgres
Config choices
Version 2.6

Block 4 - Telegram Trigger

Type / Role
n8n-nodes-base.telegramTrigger - telegramTrigger
Config choices
Version 1.2

Block 5 - Code in JavaScript

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

Block 6 - No Operation, do nothing

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

Block 7 - Create a post

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

Block 8 - No Operation, do nothing1

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

Block 9 - Sticky Note

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

Block 10 - Send message and wait for response

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 11 - RSS Read

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

Block 12 - Loop Over Items

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 13 - Select rows from a table

Type / Role
n8n-nodes-base.postgres - postgres
Config choices
Version 2.6

Block 14 - Sticky Note2

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

Block 15 - If

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.3

Block 16 - Update rows in a table

Type / Role
n8n-nodes-base.postgres - postgres
Config choices
Version 2.6

Block 17 - Update rows in a table1

Type / Role
n8n-nodes-base.postgres - postgres
Config choices
Version 2.6

Block 18 - If1

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.3

Block 19 - No Operation, do nothing3

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

Block 20 - No Operation, do nothing4

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

Block 21 - Sticky Note3

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

Block 22 - Sticky Note1

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

Block 23 - Sticky Note4

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

Block 24 - Sticky Note5

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

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

3. Summary Table

Workflow Publish LinkedIn posts from RSS using Ollama, PostgreSQL and Telegram approval
Complexity advanced
Nodes 32
Categories Social Media, AI Summarization
Author Jyothish S L
Published 14 May 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/15720/15720.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 Publish LinkedIn posts from RSS using Ollama, PostgreSQL and Telegram approval do?

This workflow automatically converts incoming RSS/news articles into structured, AI enriched content records. It uses a local AI model to summarize articles, extract metadata, and classify content ...

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.