Nikolai IakubovskiiRU

Automating Cross-Posting from Telegram to LinkedIn, Threads, and X

Publora turned out to have an almost nonexistent limit, so I built a custom cross-posting workflow. A Telegram bot adapts each post for LinkedIn, Threads, and X, then sends previews for approval before publishing.

By Nikolai Iakubovskii · ·

Automating Cross-Posting from Telegram to LinkedIn, Threads, and X

Publora turned out to have an almost nonexistent limit, so I built a custom solution for my own needs. I had to do some debugging, but the result turned out great.

Here’s how it works: I write a post in my Telegram channel, and the Telegram bot automatically:

  1. Receives the post through a webhook (CF).
  2. Adapts the post using GPT-4.1-nano, creating a version for each platform:
  1. To prevent low-quality output from being published, sends me a preview in a private chat with Publish and Skip buttons for each platform.

That wasn’t enough, so I added the following to the bot:

I wonder how much a SaaS like this would have cost a couple of years ago.

Stack: Cloudflare Workers + KV, GPT-4.1-nano, Telegram Bot API, Meta Threads API, LinkedIn API, and X API v2. Zero servers and zero infrastructure costs. I only pay for X tokens and the chat, and that costs next to nothing.

One more manual routine eliminated.

Read the original Russian post