Weekly
Publish a weekly SEO blog post and get the link on Telegram
Every week the next keyword on your list becomes a blog post on your WordPress site, and Telegram sends you the link as soon as it is up.
- Runs
- Weekly
- Apps
- Telegram, WordPress
- AI
- Yes, uses the built-in AI allowance
- Access
- WordPress author+; bot token
Send this to your assistant
Create a ClickRuntime automation: every Monday, take the next keyword from my list, write an SEO blog post with AI, publish it to WordPress and send me the link on Telegram.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
The owner of a small dog-grooming business knows their website needs fresh articles to be found in search, and keeps a list of keywords like "how often to groom a poodle". Writing a post every week never fits around appointments, so the blog has been quiet for a year.
This automation keeps it going. Every Monday it takes the next keyword, AI writes an article with a title, excerpt and headings, and the post goes up on WordPress. A Telegram message with the link arrives on the owner's phone, so they can read it between clients and tweak anything that needs it.
What you get out of it
A blog that stays active
A new article each week gives search engines and visitors a reason to come back. The site keeps growing even in busy months.
Hear about it where you are
The Telegram message reaches you on your phone the moment the post is live. You can check it in a spare minute instead of logging in to WordPress.
Works down your own list
Topics come from the keywords you chose, in the order you set. The blog covers what your customers actually search for.
Draft mode when you want it
If you would rather approve each article first, posts can be saved as drafts and the Telegram message links to the editor instead.
How it works
What happens, step by step
Every Monday, ClickRuntime takes the next keyword from your list.
AI writes a blog post for it with a title, short excerpt and headings.
The post is published on your WordPress site, or saved as a draft if you prefer.
Your Telegram bot sends you the link, and the keyword is marked as used so next week moves on to the next one.
Before it runs live
- Connect Telegram
- Connect WordPress
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 Telegram and WordPress steps into one automation
Under the hood
The code that runs this automation
from clickruntime import on_trigger, credentials, http, state, ai
KEYWORDS = ["how often to groom a poodle", "dog grooming at home tips", "best brush for double coats"]
CHAT_ID = 123456789
SCHEMA = {"type": "object", "properties": {k: {"type": "string"} for k in ["title", "excerpt", "body_html"]}, "required": ["title", "excerpt", "body_html"]}
WP = "https://blog.example.com/wp-json/wp/v2"
def wp(method, path, **kw):
r = http.request(method, f"{WP}/{path}", auth=(credentials.secret("WP_USER"), credentials.secret("WP_APP_PASSWORD")), **kw)
r.raise_for_status()
return r.json()
def telegram(method, **payload):
return http.post(f"https://api.telegram.org/bot{credentials.secret('TELEGRAM_BOT_TOKEN')}/{method}", json=payload).json()
@on_trigger
def run(event):
used = state.get("used") or 0
if used >= len(KEYWORDS):
telegram("sendMessage", chat_id=CHAT_ID, text="Your blog keyword list is empty. Add more to keep posting.")
return {"posted": False}
keyword = KEYWORDS[used]
art = ai.generate(f"Write an SEO blog post targeting '{keyword}', about 1000 words, H2 headings, HTML body.", json_schema=SCHEMA, max_output_tokens=2048).json
post = wp("POST", "posts", json={"title": art["title"], "excerpt": art["excerpt"], "content": art["body_html"], "status": "publish"})
telegram("sendMessage", chat_id=CHAT_ID, text=f"New post is live: {art['title']}\n{post['link']}")
state.set("used", used + 1)
return {"posted": keyword}FAQ
Common questions
Can I send a keyword from Telegram instead?
What happens when the keyword list runs out?
Does it add a 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 a PDF sent to Telegram into a blog post you approve
Send a PDF to your bot and it becomes a WordPress draft; tap Approve in Telegram and the post goes live.
See how it worksRewrite new feed articles for your site and share them on Telegram
New articles from the feeds you follow are rewritten as posts on your WordPress site and shared on your Telegram channel with the link.
See how it worksSend a link to Telegram and get a WordPress draft
Share a product page, article or forum thread with your bot and a WordPress draft based on it is created, with the edit link sent back to you.
See how it worksKeep exploring
Set up “Publish a weekly SEO blog post and get the link on Telegram” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.