Skip to content

On a schedule

Schedule AI LinkedIn posts with Telegram approval

On your schedule a LinkedIn post is written from your themes, sent to Telegram for approval, published, and confirmed.

Runs
On a schedule
Apps
LinkedIn, Telegram
AI
Yes, uses the built-in AI allowance
Access
LinkedIn w_member_social; bot token

Send this to your assistant

Create a ClickRuntime automation: every Tuesday and Thursday at 8, write a LinkedIn post from my next theme, send it to me on Telegram with an Approve button, publish it when I approve, and confirm 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 recruiter knows posting twice a week on LinkedIn brings in candidates and clients, but writing the posts always loses out to calls and interviews.

Twice a week a draft on the next theme arrives on Telegram. They read it on the way to work, tap Approve, and it's live with a confirmation, so posting takes seconds instead of an evening.

What you get out of it

  • A steady posting rhythm

    Two posts a week without blocking time to write.

  • Approve on the go

    One tap on Telegram from your phone.

  • Themes you set

    Posts follow a rotating list of topics you choose.

  • Confirmation with link

    You know it's live and can share it on.

How it works

What happens, step by step

  1. On your schedule, ClickRuntime takes the next theme from your list.

  2. AI writes a LinkedIn post on it, and the draft is saved.

  3. You get the draft on Telegram with an Approve button.

  4. When you tap Approve, it's published to LinkedIn and Telegram confirms with the link.

Before it runs live

  • Connect LinkedIn
  • Connect Telegram

What you get

RunsOn a schedule
Schedule AI LinkedIn posts with Telegram approvaltoday, 9:00Succeeded
Telegram · LinkedIn botLive: linkedin.com/feed/update/urn:li:share:7... (What candidates ask about remote work)

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

  • Run it at a different time, more or less often, or only on weekdays
  • 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.
scheduled_ai_linkedin_posts_with_telegram_alerts.pyexample
from clickruntime import on_trigger, on_event, credentials, http, ai, state

AUTHOR, CHAT = "urn:li:person:abc123", "123456789"
THEMES = ["Hiring mistakes I see weekly", "What candidates ask about remote work", "Salary trends in tech sales"]

@on_trigger
def run(event):
    if state.get("pending"):
        return {"waiting": True}
    n = state.get("theme_index") or 0
    text = ai.generate(f"LinkedIn post for a recruiter on: {THEMES[n % len(THEMES)]}", max_output_tokens=500).text
    state.set("pending", text)
    state.set("theme_index", n + 1)
    http.post(f"https://api.telegram.org/bot{credentials.secret('TELEGRAM_BOT_TOKEN')}/sendMessage",
              json={"chat_id": CHAT, "text": text, "reply_markup": {"inline_keyboard": [[{"text": "Approve", "callback_data": "ok"}]]}})
    return {"drafted": True}

@on_event
def approve(event):
    if not (text := state.get("pending")):
        return {"skipped": True}
    r = http.post("https://api.linkedin.com/rest/posts", headers={"Authorization": f"Bearer {credentials.connection('linkedin', 'work')}", "LinkedIn-Version": "202409"},
                  json={"author": AUTHOR, "commentary": text, "visibility": "PUBLIC", "lifecycleState": "PUBLISHED", "distribution": {"feedDistribution": "MAIN_FEED"}})
    http.post(f"https://api.telegram.org/bot{credentials.secret('TELEGRAM_BOT_TOKEN')}/sendMessage",
              json={"chat_id": CHAT, "text": f"Live: https://www.linkedin.com/feed/update/{r.headers.get('x-restli-id')}"})
    state.delete("pending")
    return {"posted": True}

FAQ

Common questions

What if I don't approve a draft?
It waits until you do, and the next scheduled draft isn't written until then, so drafts don't pile up.
Can I skip approval?
Yes. Ask for posts to publish straight away and Telegram just confirms them.
How do themes rotate?
They're used in order and start again from the top when the list is done.
What permissions does it need?
LinkedIn w_member_social; bot token. Nothing else in your accounts is used.
Does it need AI?
Yes. It uses ClickRuntime's built-in AI, so you don't need an OpenAI or Anthropic key. Every plan includes a monthly AI allowance.
How many runs does it use?
One run each time it runs (on a schedule). Checks that find nothing to do 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 “Schedule AI LinkedIn posts with Telegram approval” from your assistant

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