Every 15 minutes
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.
- Runs
- Every 15 minutes
- Apps
- WordPress, X
- AI
- Yes, uses the built-in AI allowance
- Access
- WordPress read; tweet.write, users.read, offline.access
Send this to your assistant
Create a ClickRuntime automation: every 15 minutes, check my WordPress blog for new published posts and announce each one on X with a short, catchy post and the link.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
Bloggers and small businesses put hours into each WordPress article, then forget to share it on X. Readers who would have enjoyed it never hear about it, and traffic depends on search alone.
Announcing every post on X as soon as it is published closes that gap. Your followers get each article on day one, without anyone having to remember.
What you get out of it
Every article gets announced
No article is left unshared, so each one gets the readers X can bring.
A post written for X
AI writes a short hook rather than repeating the title, which gives followers a reason to click.
Within minutes of publishing
Announcements go out within 15 minutes, while the article is newest.
Nothing posted twice
The latest announced post is remembered, so edits and updates to old articles are not re-announced.
How it works
What happens, step by step
Every 15 minutes ClickRuntime checks your WordPress blog for posts published since the last one it announced.
AI writes a short post for each new article that fits X's length limit.
The post is published on X with the article link.
The newest article is remembered, so nothing is announced twice.
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
- Act only on the items that match your own rules, and skip the rest
- 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
import html
from clickruntime import on_trigger, report_fetched, credentials, http, state, ai
SITE = "https://blog.example.com"
@on_trigger
def run(event):
last = state.get("last_id") or 0
posts = http.get(f"{SITE}/wp-json/wp/v2/posts", params={"per_page": 10, "orderby": "id", "order": "desc"}).json()
new = [p for p in posts if p["id"] > last] if last else []
report_fetched(len(new))
if not last and posts:
state.set("last_id", posts[0]["id"])
if not new:
return {"posted": 0}
for p in reversed(new):
title = html.unescape(p["title"]["rendered"])
text = ai.generate(f"Write an X post under 230 characters announcing this blog post: {title}\n{p['excerpt']['rendered'][:800]}",
max_output_tokens=90).text.strip()
http.post("https://api.x.com/2/tweets", headers={"Authorization": "Bearer " + credentials.connection("x", "main")},
json={"text": f"{text}\n{p['link']}"}).raise_for_status()
state.set("last_id", new[0]["id"])
return {"posted": len(new)}FAQ
Common questions
Does it need my WordPress password?
Will scheduled posts be announced early?
Can it include the featured image?
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
Turn 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 worksPublish 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.
See how it worksLabel new emails automatically
New mail is sorted into labels like Inquiry, Invoice and Newsletter within minutes of arriving.
See how it worksKeep exploring
Set up “Announce new WordPress posts on X” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.