Skip to content

Daily

Post to LinkedIn daily and get an email copy

A fresh LinkedIn post goes out each weekday from your topic list, and a copy with the link lands in your inbox.

Runs
Daily
Apps
Gmail, LinkedIn
AI
Yes, uses the built-in AI allowance
Access
w_member_social; gmail.send

Send this to your assistant

Create a ClickRuntime automation: every weekday at 9am, write a LinkedIn post on the next topic in my list, publish it on my profile, and email me what was posted 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 consultant knows that posting on LinkedIn a few times a week brings in enquiries, but the habit always slips when client work gets busy. Weeks go by without a post, and the audience built over months stops seeing their name. Writing each post from scratch is the part that never happens.

With a list of topics and a short description of your voice, a post goes out on schedule without you opening LinkedIn. The confirmation email means you always know what was published, so you can reply to comments or take a post down quickly if something reads wrong.

What you get out of it

  • Your presence stays steady

    Posts keep going out during busy weeks and holidays. A steady rhythm is what keeps you in people's feeds, more than any single great post.

  • You always know what went out

    The email copy with the link means nothing is published behind your back. You can check the wording over coffee and respond to early comments.

  • Topics follow your plan

    Posts come from the list you wrote, in order, so the content matches what you want to be known for rather than whatever the AI thinks is popular.

  • Less time spent writing

    The draft that takes forty minutes to write by hand is ready on schedule. That time goes back to client work or to replying to the people who engage.

How it works

What happens, step by step

  1. Each weekday morning ClickRuntime takes the next topic from your list.

  2. AI writes a LinkedIn post on that topic in the tone you described.

  3. The post is published on your LinkedIn profile.

  4. You get an email with the full text and a link to the live post, and the topic is marked as used so it is not repeated.

Before it runs live

  • Connect Google through your own Google app (a one-time, 10-minute setup), so it works with your own Gmail
  • Connect LinkedIn

What you get

RunsDaily
Post to LinkedIn daily and get an email copytoday, 9:00Succeeded
Email · Posted on LinkedInPosted on LinkedIn: Saying no to scope creep "Last month a client at Northwind asked for 'one small extra page'. Here's how I answer that now…"

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 Gmail and LinkedIn 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.
ai_linkedin_posts_with_email_confirmation.pyexample
import base64
from email.message import EmailMessage
from google.oauth2.credentials import Credentials
from googleapiclient.discovery import build
from clickruntime import on_trigger, credentials, http, state, ai

TOPICS = ["Pricing a fixed-fee project", "Saying no to scope creep", "What a good kickoff call covers"]
ME = "me@example.com"

@on_trigger
def run(event):
    i = state.get("next") or 0
    if i >= len(TOPICS):
        return {"posted": False, "reason": "topic list used up"}
    text = ai.generate(f"Write a LinkedIn post of about 150 words on: {TOPICS[i]}",
                       system="Plain, practical first-person tone. No hashtags.", max_output_tokens=400).text.strip()
    token = credentials.connection("linkedin", "main")
    headers = {"Authorization": f"Bearer {token}", "LinkedIn-Version": "202405", "X-Restli-Protocol-Version": "2.0.0"}
    me = http.get("https://api.linkedin.com/v2/userinfo", headers=headers).json()["sub"]
    resp = http.post("https://api.linkedin.com/rest/posts", headers=headers, json={
        "author": f"urn:li:person:{me}", "commentary": text, "visibility": "PUBLIC", "lifecycleState": "PUBLISHED",
        "distribution": {"feedDistribution": "MAIN_FEED", "targetEntities": [], "thirdPartyDistributionChannels": []}})
    resp.raise_for_status()
    msg = EmailMessage()
    msg["To"], msg["Subject"] = ME, f"Posted on LinkedIn: {TOPICS[i]}"
    msg.set_content(f"{text}\n\nhttps://www.linkedin.com/feed/update/{resp.headers['x-restli-id']}")
    gmail = build("gmail", "v1", credentials=Credentials(credentials.connection("google", "work")), cache_discovery=False)
    gmail.users().messages().send(userId="me", body={"raw": base64.urlsafe_b64encode(msg.as_bytes()).decode()}).execute()
    state.set("next", i + 1)
    return {"posted": True, "topic": TOPICS[i]}

FAQ

Common questions

What happens when the topic list runs out?
The run stops posting and emails you that the list is empty. Add more topics and it carries on from where it stopped.
Can I change the tone of the posts?
Yes. Describe your tone in the prompt, for example plain and practical with no hashtags, and paste one or two posts you like as examples.
Can I delete a post it published?
Yes, from LinkedIn as usual. The link in the confirmation email takes you straight to it.
What permissions does it need?
w_member_social; gmail.send. 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 (daily). 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 “Post to LinkedIn daily and get an email copy” from your assistant

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