Every 15 minutes
Post your content calendar to Facebook and X on schedule
Posts you plan in a sheet go out on your Facebook Page and X at their scheduled time, and the sheet shows what's been posted.
- Runs
- Every 15 minutes
- Apps
- Facebook Pages, X
- AI
- Not needed
- Access
- pages_manage_posts; tweet.write
Send this to your assistant
Create a ClickRuntime automation: every 15 minutes, read my content calendar sheet, publish any due posts to my Facebook Page and X, and mark each row as posted.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
A café plans its weekly specials and event posts in a shared sheet on Sunday. During the week the staff are busy serving, so posts go out late or not at all.
The sheet now publishes the posts itself. Each row goes out on Facebook and X at its time, and is marked as posted so everyone knows it's done.
What you get out of it
Specials announced on time
Posts go out when customers are deciding where to eat, not after the rush.
Plan on Sunday, relax all week
One planning session covers the week.
Shared view for the team
Anyone can see what's scheduled and what's gone out.
Both networks from one row
No need to post twice.
How it works
What happens, step by step
Every 15 minutes, ClickRuntime reads your content calendar sheet.
It picks rows whose time has passed and that aren't marked as posted.
Each one is posted to your Facebook Page and X, trimmed to fit on X if needed.
The row is marked as posted, so it's never published twice.
Before it runs live
- Connect Facebook Pages
- Connect X
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
- Add an AI step, for example to summarize, sort or draft a reply
- 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
from datetime import datetime
from google.oauth2.credentials import Credentials
from googleapiclient.discovery import build
from clickruntime import on_trigger, credentials, http
PAGE_ID, SHEET_ID = "1234567890", "your-spreadsheet-id"
@on_trigger
def run(event):
values = build("sheets", "v4", credentials=Credentials(credentials.connection("google", "work")), cache_discovery=False).spreadsheets().values()
rows = values.get(spreadsheetId=SHEET_ID, range="Calendar!A2:C").execute().get("values", [])
posted = 0
for i, r in enumerate(rows):
when, text, status = (r + [""] * 3)[:3]
if status or not when or datetime.fromisoformat(when) > datetime.now():
continue
http.post(f"https://graph.facebook.com/v21.0/{PAGE_ID}/feed",
data={"message": text, "access_token": credentials.connection("facebook", "work")})
short = text if len(text) <= 280 else text[:277] + "..."
http.post("https://api.twitter.com/2/tweets", json={"text": short},
headers={"Authorization": f"Bearer {credentials.connection('x', 'work')}"})
values.update(spreadsheetId=SHEET_ID, range=f"Calendar!C{i + 2}", valueInputOption="RAW",
body={"values": [["posted"]]}).execute()
posted += 1
return {"posted": posted}FAQ
Common questions
What columns does the sheet need?
What if the text is too long for X?
Can I change a post after scheduling?
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 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.
See how it worksPost about a trending topic in your niche each day
Each day the most talked-about topic in your niche becomes a post on your Facebook Page and X.
See how it worksMirror your Telegram channel to Facebook and X
Whatever you post in your Telegram channel is reposted, with its photo, to your Facebook Page and X.
See how it worksKeep exploring
Set up “Post your content calendar to Facebook and X on schedule” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.