Skip to content

Daily

Post AI-written updates to Facebook and X from your topic list

Each day the next topic on your list becomes a Facebook post and an X post, written to fit each one and published.

Runs
Daily
Apps
Facebook Pages, X
AI
Yes, uses the built-in AI allowance
Access
pages_manage_posts; tweet.write

Send this to your assistant

Create a ClickRuntime automation: every weekday at 11, take the next topic from my list, write a Facebook post and a short X post about it, publish both and record the post ids.

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 software freelancer knows that posting regularly brings in work, and keeps a list of things worth sharing. But writing two versions, one for Facebook and one short enough for X, means the list grows and the posts don't.

Each weekday the next topic on the list is written up twice and published, a fuller post for the Facebook Page and a short one for X. The list gets worked through without the freelancer spending their mornings on it.

What you get out of it

  • Your list turns into posts

    Topics you've saved actually get published, one a day.

  • Fits each platform

    X posts stay short and punchy; Facebook posts have room to explain.

  • Steady presence

    A post every weekday keeps you visible to potential clients.

  • No repeats

    Each topic is used once and crossed off.

How it works

What happens, step by step

  1. Every weekday, ClickRuntime takes the next unused topic from your list.

  2. AI writes a Facebook post and a shorter post for X about it.

  3. Both are published, to your Facebook Page and your X account.

  4. The topic is crossed off with the post ids, so it's never used again.

Before it runs live

  • Connect Facebook Pages
  • Connect X

What you get

RunsDaily
Post AI-written updates to Facebook and X from your topic listtoday, 9:00Succeeded
X · @northwinddevMost slow websites aren't slow servers. They're 4MB hero images. Compress first, upgrade later.

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 Facebook Pages and X 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_written_posts_published_to_facebook_and_x.pyexample
from clickruntime import on_trigger, credentials, http, ai, state, notify

PAGE_ID = "1234567890"

@on_trigger
def run(event):
    topics = state.get("topics") or []
    if not topics:
        notify.email_me("Topic list is empty", "Add more topics so daily posts can continue.")
        return {"posted": False}
    topic = topics.pop(0)
    posts = ai.generate(f"Topic: {topic}. Write a Facebook post (under 600 chars) and an X post (under 260 chars).",
                        max_output_tokens=400, json_schema={"type": "object",
                        "properties": {"facebook": {"type": "string"}, "x": {"type": "string"}}}).json
    fb = http.post(f"https://graph.facebook.com/v21.0/{PAGE_ID}/feed",
                   data={"message": posts["facebook"], "access_token": credentials.connection("facebook", "work")}).json()
    tw = http.post("https://api.twitter.com/2/tweets", json={"text": posts["x"]},
                   headers={"Authorization": f"Bearer {credentials.connection('x', 'work')}"}).json()
    done = state.get("done") or []
    state.set("done", done + [{"topic": topic, "facebook": fb["id"], "x": tw["data"]["id"]}])
    state.set("topics", topics)
    return {"topic": topic}

FAQ

Common questions

How do I add topics?
Give them in the prompt, or ask your AI assistant to add more to the list at any time.
What happens when the list runs out?
Nothing is posted and you get an email asking for more topics.
Can I set the tone?
Yes. Describe your voice in the prompt, such as practical and friendly, and every post follows it.
What permissions does it need?
pages_manage_posts; tweet.write. 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 AI-written updates to Facebook and X from your topic list” from your assistant

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