On a schedule
Publish an AI blog post and announce it on X
On your schedule, AI writes a blog post from your keyword list, publishes it on WordPress and announces it on X.
- Runs
- On a schedule
- Apps
- WordPress, X
- AI
- Yes, uses the built-in AI allowance
- Access
- WordPress Author+; tweet.write
Send this to your assistant
Create a ClickRuntime automation: every Tuesday and Thursday at 9am, take the next keyword from my list, write a helpful blog post about it, publish it on my WordPress site, and post the link on X.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
Small businesses know a regular blog helps people find them in search, but writing two articles a week is out of reach when the owner is also running the business. The blog goes quiet after a few posts, and the X account with it.
Working through a keyword list on a fixed schedule keeps the blog growing and gives the X account something to share. The owner chooses the topics once and checks the articles as they come out.
What you get out of it
A blog that keeps growing
New articles appear on schedule, which is what search engines and returning readers reward.
Topics you chose
Each article targets a keyword from your list, so content stays focused on what your customers search for.
Announced as it goes live
Every new article is shared on X with its link, bringing in readers from day one.
Time back for the business
Hours of writing each week are replaced by a few minutes of checking, so the owner can focus on customers.
How it works
What happens, step by step
On the days you chose, ClickRuntime takes the next keyword from your list.
AI writes a blog post with a title, headings and a short summary for that keyword.
The post is published on your WordPress site.
A short post with the article link is published on X, and the keyword is marked as used.
Before it runs live
- Connect WordPress
- 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
- 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 WordPress and X steps into one automation
Under the hood
The code that runs this automation
from clickruntime import on_trigger, credentials, http, state, ai
SITE = "https://blog.example.com"
KEYWORDS = ["how to choose a bookkeeper", "monthly close checklist", "cash flow forecast template"]
SCHEMA = {"type": "object", "required": ["title", "html", "tweet"], "properties": {
"title": {"type": "string"}, "html": {"type": "string"}, "tweet": {"type": "string"}}}
@on_trigger
def run(event):
i = state.get("next") or 0
if i >= len(KEYWORDS):
return {"published": False, "reason": "keyword list used up"}
post = ai.generate(f"Keyword: {KEYWORDS[i]}", json_schema=SCHEMA, max_output_tokens=2048,
system="Write a practical blog post: title, HTML body with H2 headings, and an X post under 220 characters announcing it.").json
resp = http.post(f"{SITE}/wp-json/wp/v2/posts", auth=("editor", credentials.secret("WP_APP_PASSWORD")),
json={"title": post["title"], "content": post["html"], "status": "publish"})
resp.raise_for_status()
http.post("https://api.x.com/2/tweets", headers={"Authorization": "Bearer " + credentials.connection("x", "main")},
json={"text": f"{post['tweet']}\n{resp.json()['link']}"}).raise_for_status()
state.set("next", i + 1)
return {"published": resp.json()["link"]}FAQ
Common questions
Can I review articles before they go live?
How long are the articles?
What happens when the keyword list runs out?
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
Announce new WordPress posts on X
Each new post on your WordPress blog is announced on X with an AI-written post and the link.
See how it worksTurn videos and docs into a blog post and an X thread
Each new item on your source list becomes a WordPress blog post and an X thread linking to it.
See how it worksGet a daily news digest in Slack
Each morning your team gets a short summary of what's new on the sites and blogs you follow.
See how it worksKeep exploring
Set up “Publish an AI blog post and announce it on X” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.