Skip to content

Daily

Publish a LinkedIn post with an image each day

Each day the next topic on your list becomes a LinkedIn post with a matching image, saved in Drive and published.

Runs
Daily
Apps
Google Drive, LinkedIn
AI
Yes, uses the built-in AI allowance
Access
Drive write; LinkedIn w_member_social

Send this to your assistant

Create a ClickRuntime automation: every weekday at 9am, take the next topic from my list, write a LinkedIn post about it, make a simple quote card image, save the image to my Drive folder and publish the post with it.

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

Posts with an image get noticed far more in a busy LinkedIn feed, but creating a graphic for every post is the step most solo marketers and founders skip. Without a designer, it means opening a design tool each time, so most posts go out as plain text or not at all.

Producing the text and a simple branded image together means every post goes out with a visual. Keeping the images in Drive gives you a library you can reuse in newsletters and slides.

What you get out of it

  • Every post has a visual

    A quote card stops people scrolling more often than plain text, so your posts get seen by more of your network.

  • No design tool needed

    The image is made from the post's key line in your colours, so you do not need to open a design app every day.

  • A reusable image library

    Every image is saved to Drive, ready for slides, newsletters or reposting later.

  • A steady daily rhythm

    Working down a topic list keeps posting regular and on message, even in the weeks you are busy.

How it works

What happens, step by step

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

  2. AI writes a LinkedIn post and a short headline line for the image.

  3. A simple image card is made from the headline and saved to your Drive folder.

  4. The post is published on LinkedIn with the image, and the topic is marked as used.

Before it runs live

  • Connect Google Drive
  • Connect LinkedIn

What you get

RunsDaily
Publish a LinkedIn post with an image each daytoday, 9:00Succeeded
LinkedIn · Your profileImage card: "Your first support hire shapes your product" with a 150-word post on hiring at Acme. Image saved to Drive › LinkedIn images.

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 Google Drive 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_images_from_a_topic_list.pyexample
from google.oauth2.credentials import Credentials
from googleapiclient.discovery import build
from googleapiclient.http import MediaInMemoryUpload
import io, textwrap
from PIL import Image, ImageDraw, ImageFont  # declared dependency: pillow
from clickruntime import on_trigger, credentials, http, state, ai

TOPICS = ["Hiring your first support person", "Writing a useful changelog"]
FOLDER_ID = "your-drive-folder-id"
SCHEMA = {"type": "object", "required": ["post", "headline"], "properties": {"post": {"type": "string"}, "headline": {"type": "string"}}}

@on_trigger
def run(event):
    i = state.get("next") or 0
    if i >= len(TOPICS):
        return {"posted": False}
    out = ai.generate(f"Topic: {TOPICS[i]}", json_schema=SCHEMA, max_output_tokens=500,
                      system="Write a 150-word LinkedIn post and a headline of at most 8 words for an image card.").json
    card = Image.new("RGB", (1200, 627), "#1f3a5f")
    ImageDraw.Draw(card).multiline_text((80, 220), textwrap.fill(out["headline"], 28), fill="white",
                                        font=ImageFont.load_default(size=64), spacing=16)
    buf = io.BytesIO()
    card.save(buf, "PNG")
    png = buf.getvalue()
    drive = build("drive", "v3", credentials=Credentials(credentials.connection("google", "work")), cache_discovery=False)
    drive.files().create(body={"name": f"{TOPICS[i]}.png", "parents": [FOLDER_ID]},
                         media_body=MediaInMemoryUpload(png, mimetype="image/png")).execute()
    headers = {"Authorization": "Bearer " + credentials.connection("linkedin", "main"), "LinkedIn-Version": "202405"}
    me = "urn:li:person:" + http.get("https://api.linkedin.com/v2/userinfo", headers=headers).json()["sub"]
    init = http.post("https://api.linkedin.com/rest/images?action=initializeUpload", headers=headers,
                     json={"initializeUploadRequest": {"owner": me}}).json()["value"]
    http.put(init["uploadUrl"], data=png, headers={"Authorization": headers["Authorization"]}).raise_for_status()
    http.post("https://api.linkedin.com/rest/posts", headers=headers, json={
        "author": me, "commentary": out["post"], "visibility": "PUBLIC", "lifecycleState": "PUBLISHED",
        "content": {"media": {"id": init["image"]}},
        "distribution": {"feedDistribution": "MAIN_FEED", "targetEntities": [], "thirdPartyDistributionChannels": []}}).raise_for_status()
    state.set("next", i + 1)
    return {"posted": TOPICS[i]}

FAQ

Common questions

What does the image look like?
A simple card with the post's key line in large text on your brand colour. Your AI assistant can change the colours, font size and layout.
Where are the images stored?
In the Drive folder you choose, named after the topic, so you can find and reuse them.
What happens when the topic list is used up?
Posting stops until you add more topics, and nothing is repeated.
What permissions does it need?
Drive write; LinkedIn w_member_social. 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 “Publish a LinkedIn post with an image each day” from your assistant

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