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.
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
Each weekday ClickRuntime looks in your content sheet for the first idea marked Ready.
AI expands the idea into a LinkedIn post in your tone.
The post is published on your LinkedIn profile and the row is marked Posted, so it is not used again.
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
Build your own
Need it to work differently?
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
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?
What if no idea is marked Ready?
Can it use a Notion or Airtable list instead?
What permissions does it need?
Does it need AI?
How many runs does it use?
Can I change how it works?
Related
You might also like
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.
See how it worksApprove LinkedIn posts from your inbox
Each week AI drafts a LinkedIn post and emails it to you; one click on the approve link publishes it.
See how it worksGet daily LinkedIn drafts on trending topics
Each morning you get a LinkedIn draft about something new in your field, ready to publish with one click.
See how it worksKeep exploring
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.