Skip to content

Daily

Post ideas from your content list to LinkedIn

Each day the next idea in your content sheet becomes a published LinkedIn post, and you get an email when it is live.

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 10am, take the next idea marked Ready in my Content Ideas sheet, write a LinkedIn post from it, publish it, mark the row Posted, and email me 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

Most people who post on LinkedIn have more ideas than posts. Ideas get jotted into a sheet or notes app during the week, and the list keeps growing while the profile stays quiet, because turning a one-line idea into a finished post is the step that gets put off.

Working through the list one idea a day turns that backlog into a publishing schedule. You keep adding ideas whenever they come to you, and the posting takes care of itself.

What you get out of it

  • The idea list finally gets used

    Ideas you wrote down months ago become posts, in the order you set, instead of going stale in a sheet.

  • Adding an idea is all you do

    Capturing an idea takes seconds. Expanding it into a post, publishing it and keeping track all happen without you.

  • A clear record of what posted

    Each row is marked Posted with a date, so you can see what has gone out and avoid repeating yourself.

  • You hear when each post is live

    The email with the link lets you be there for the first comments, which is when engagement matters most.

How it works

What happens, step by step

  1. Each weekday ClickRuntime looks in your content sheet for the first idea marked Ready.

  2. AI expands the idea into a LinkedIn post in your tone.

  3. The post is published on your LinkedIn profile and the row is marked Posted, so it is not used again.

  4. You get an email with the post text and a link to it.

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 ideas from your content list to LinkedIntoday, 9:00Succeeded
Email · Live on LinkedInLive on LinkedIn: Why we stopped weekly status meetings linkedin.com/feed/update/urn:li:share:7251…

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.
ideas_from_a_content_database_posted_to_linkedin.pyexample
import base64
from datetime import date
from email.message import EmailMessage
from google.oauth2.credentials import Credentials
from googleapiclient.discovery import build
from clickruntime import on_trigger, credentials, http, ai

SHEET_ID, ME = "your-spreadsheet-id", "me@example.com"

@on_trigger
def run(event):
    google = Credentials(credentials.connection("google", "work"))
    sheets = build("sheets", "v4", credentials=google, cache_discovery=False).spreadsheets()
    rows = sheets.values().get(spreadsheetId=SHEET_ID, range="Ideas!A2:C").execute().get("values", [])
    n = next((i for i, r in enumerate(rows) if len(r) > 1 and r[1] == "Ready"), None)
    if n is None:
        return {"posted": False}
    idea = rows[n][0] + (f"\nNotes: {rows[n][2]}" if len(rows[n]) > 2 else "")
    text = ai.generate(f"Turn this idea into a 150-word LinkedIn post:\n{idea}", max_output_tokens=400).text.strip()
    headers = {"Authorization": "Bearer " + credentials.connection("linkedin", "main"), "LinkedIn-Version": "202405"}
    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()
    sheets.values().update(spreadsheetId=SHEET_ID, range=f"Ideas!B{n + 2}", valueInputOption="RAW",
                           body={"values": [[f"Posted {date.today()}"]]}).execute()
    msg = EmailMessage()
    msg["To"], msg["Subject"] = ME, f"Live on LinkedIn: {rows[n][0]}"
    msg.set_content(f"{text}\n\nhttps://www.linkedin.com/feed/update/{resp.headers['x-restli-id']}")
    build("gmail", "v1", credentials=google, cache_discovery=False).users().messages().send(
        userId="me", body={"raw": base64.urlsafe_b64encode(msg.as_bytes()).decode()}).execute()
    return {"posted": True}

FAQ

Common questions

How should I write the ideas?
A line or two is enough, such as "Why we stopped doing weekly status meetings". Add a note column with a story or example if you want the post to include it.
What if no idea is marked Ready?
Nothing is posted that day. The run picks up again as soon as a row is ready.
Can it use a Notion or Airtable list instead?
Yes, the same automation works with any list your AI assistant can read. A Google Sheet is the simplest to start with.
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 ideas from your content list to LinkedIn” from your assistant

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