Skip to content

Every hour

Share new articles on LinkedIn and get a Telegram note

New articles from your blog, Medium or Dev.to are posted to LinkedIn with a short intro, and Telegram confirms each one.

Runs
Every hour
Apps
LinkedIn, Telegram
AI
Optional
Access
LinkedIn w_member_social; bot token

Send this to your assistant

Create a ClickRuntime automation: every hour, check my blog, Medium and Dev.to feeds for new articles. Post each to LinkedIn with a short intro and send me a Telegram message with the link.

Paste it into your assistant. It tells you what it will send or change before it runs live.

First time? Adding ClickRuntime to your assistant takes about two minutes.

Why use it

Why teams use this automation

A developer writes on their own blog, Medium and Dev.to depending on the topic, and forgets to share half of it on LinkedIn, where most of their professional network is.

All three feeds are now watched together. Each new article is posted to LinkedIn with a short intro, and a Telegram message confirms it with the link.

What you get out of it

  • All your writing in one place

    Articles from every platform reach your LinkedIn network.

  • Intro included

    A short intro tells people why to read it.

  • Confirmation on your phone

    Telegram tells you each time something goes out.

  • No duplicates

    Articles are remembered once shared.

How it works

What happens, step by step

  1. Every hour, ClickRuntime checks your blog, Medium and Dev.to feeds.

  2. It skips articles already shared, including the same title on another site.

  3. It writes a short intro, using AI if you've turned it on, and posts the article to LinkedIn.

  4. You get a Telegram message with the link.

Before it runs live

  • Connect LinkedIn
  • Connect Telegram

What you get

RunsEvery hour
Share new articles on LinkedIn and get a Telegram notetoday, 9:00Succeeded
Telegram · LinkedIn botShared on LinkedIn: Testing webhooks without a public URL. linkedin.com/feed/update/urn:li:share:7...

Build your own

Need it to work differently?

This template is a starting point. Copy the prompt and change it, or describe a different automation from scratch, with your own conditions, more apps or an AI step. Your assistant writes it, tests it and runs it on ClickRuntime.
  • Your own rules

    Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.

  • Any number of apps

    One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.

  • AI where it helps

    Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.

  • On a schedule or on each event

    Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.

Changes you can ask for

  • Act only on the items that match your own rules, and skip the rest
  • Change what the AI looks for, or how it writes the result
  • Add another app, for example also send it to Slack
  • Combine it with other LinkedIn and Telegram steps into one automation

Under the hood

The code that runs this automation

This is the Python script that runs each time the automation starts. Your AI assistant writes it for you when you send the prompt, and you allow each step in your assistant. To change how the automation works, describe the change to your assistant and it updates the script for you. For every function it can use, see the script reference.
share_new_articles_on_linkedin_with_telegram_alerts.pyexample
import feedparser
from clickruntime import on_trigger, credentials, http, ai, state, report_fetched

AUTHOR, CHAT = "urn:li:person:abc123", "123456789"
FEEDS = ["https://northwind.dev/feed", "https://medium.com/feed/@northwind", "https://dev.to/feed/northwind"]

@on_trigger
def run(event):
    seen = state.get("seen") or []
    new = list({e.title: e for f in FEEDS for e in feedparser.parse(f).entries if e.title not in seen}.values())
    report_fetched(len(new))
    if not new:
        return {"summary": "No new articles"}
    for e in new:
        try:
            intro = ai.generate(f"Two-sentence LinkedIn intro for my article: {e.title}", max_output_tokens=100).text.strip()
        except (ai.AINotIncluded, ai.AILimitReached):
            intro = e.get("summary", e.title)[:300]
        r = http.post("https://api.linkedin.com/rest/posts", headers={"Authorization": f"Bearer {credentials.connection('linkedin', 'work')}", "LinkedIn-Version": "202409"},
                      json={"author": AUTHOR, "commentary": intro, "visibility": "PUBLIC", "lifecycleState": "PUBLISHED",
                            "distribution": {"feedDistribution": "MAIN_FEED"}, "content": {"article": {"source": e.link, "title": e.title}}})
        http.post(f"https://api.telegram.org/bot{credentials.secret('TELEGRAM_BOT_TOKEN')}/sendMessage",
                  json={"chat_id": CHAT, "text": f"Shared on LinkedIn: {e.title}\nhttps://www.linkedin.com/feed/update/{r.headers.get('x-restli-id')}"})
        seen.append(e.title)
    state.set("seen", seen[-500:])
    return {"shared": len(new)}

FAQ

Common questions

Does it need AI for the intro?
No. Without AI, the article's own subtitle or first sentence is used. With AI, a short intro is written for LinkedIn.
Can I approve before posting?
Yes. Ask for the Telegram approval version, where each article waits for your tap.
Will it repost articles I republish on several sites?
Articles with the same title are treated as one, so a cross-posted piece is shared once.
What permissions does it need?
LinkedIn w_member_social; bot token. Nothing else in your accounts is used.
Does it need AI?
No, but you can ask for an AI step (for example a summary). It then uses ClickRuntime's built-in AI allowance.
How many runs does it use?
One run each time it checks. Checks that find nothing new and stop right away aren't counted.
Can I change how it works?
Yes. Describe the change to your AI assistant, for example a different schedule, channel or filter. It updates the automation, tests it and tells you what changed.

Set up “Share new articles on LinkedIn and get a Telegram note” from your assistant

Copy the prompt above, or connect your assistant first. Free plan, no credit card.