Automation library · Content

Publish LinkedIn posts from RSS with Ollama and PostgreSQL

Started by an incoming Telegram message, and works across LinkedIn, Postgres, RSS and Telegram. It hands the judgement calls to a local model. 19 steps, 2 branches, 1 loop or waits: a working afternoon to understand properly.

MediumCalls a model: a local model

19 stepsMedium: a working afternoon
2Branches: places the flow splits
1Loop or waits
4Services it connects to

The flow

Starts it 2Model 2Logic 8Service 7

The steps in the order they run, from what starts it.

  1. 1Ollama Chat ModelLm Chat OllamaModel
  2. 2Telegram TriggerTelegram triggerStarts it
  3. 3RSS Feed TriggerRss Feed Read triggerStarts it
  4. 4AI AgentAgentModel
  5. 5Select rows from a tablePostgresService
  6. 6RSS ReadRss Feed ReadService
  7. 7Code in JavaScriptCodeLogic
  8. 8If1IfLogic
  9. 9Insert rows in a table1PostgresService
  10. 10Loop Over ItemsSplit In BatchesLogic
  11. 11No Operation, do nothing3No OpLogic
  12. 12No Operation, do nothingNo OpLogic
  13. 13No Operation, do nothing4No OpLogic
  14. 14Send message and wait for responseTelegramService
  15. 15IfIfLogic
  16. 16Update rows in a tablePostgresService
  17. 17Update rows in a table1PostgresService
  18. 18Create a postLinked InService
  19. 19No Operation, do nothing1No OpLogic

How it's built

Starts on
An incoming Telegram message
Steps
19, with 2 branches, 1 loop or waits
Size
Medium: a working afternoon
Connects to
LinkedIn, Postgres, RSS, Telegram
Model
a local model

Questions

What does it need to run?

An n8n account, plus your own LinkedIn, Postgres, RSS and Telegram accounts, and a key for a local model. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an incoming Telegram message.

Does it use AI?

Yes. It calls a local model. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 19 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 19 steps before you point it at anything that matters.