Skip to content

Every 60 minutes

Publish feed articles to WordPress and announce them in Discord

New articles from your feeds are rewritten in your voice, published on your WordPress site and announced in Discord.

Runs
Every 60 minutes
Apps
Discord, WordPress
AI
Yes, uses the built-in AI allowance
Access
WordPress write; bot Send Messages

Send this to your assistant

Create a ClickRuntime automation: every hour, take new articles from my RSS feeds, rewrite them with AI in my site's style, publish them to WordPress and post the link in my Discord channel.

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 niche news site covers updates from a set of official sources: release notes, project blogs and announcement pages. The editor checks each source, rewrites the update for the site's readers, publishes it and then shares it with the Discord community. On a busy day that is several hours of routine work, and slower days mean the site falls behind faster competitors.

This automation checks the sources every hour, writes a post in your site's style for each new item, publishes it to WordPress and announces it in Discord. Your readers get timely coverage, and the editor's time goes to original pieces.

What you get out of it

  • Coverage within the hour

    New items from your sources become posts on your site quickly. Readers come to rely on you for timely updates.

  • Written for your readers

    Each post is rewritten in your site's tone and adds context rather than copying the source. Posts can also be translated into your readers' language.

  • Your community hears first

    Every new post is announced in Discord with its link. Members see it before it reaches search engines or social feeds.

  • Each source item is used once

    Items already published are remembered, so updated or reordered feeds do not create duplicate posts. Your site stays clean.

How it works

What happens, step by step

  1. Every hour, ClickRuntime checks your feeds for articles it has not used yet.

  2. If there are none, it stops until the next check.

  3. AI rewrites each new article as a post in your site's style, with a link to the source.

  4. The post is published on your WordPress site.

  5. A message with the post title and link is sent to your Discord channel.

Before it runs live

  • Connect Discord
  • Connect WordPress

What you get

RunsEvery 60 minutes
Publish feed articles to WordPress and announce them in Discordtoday, 9:00Succeeded
Discord · #newsNew post: Contoso Studio 5.0 adds real-time collaboration https://yoursite.example/contoso-studio-5

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

  • 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 Discord and WordPress 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.
rss_to_wordpress_announced_on_discord.pyexample
import feedparser
from clickruntime import on_trigger, credentials, http, ai, state, report_fetched

FEEDS = ["https://blog.example.org/feed"]
WP_URL, WP_USER = "https://yoursite.example", "editor"
CHANNEL_ID = "your-discord-channel-id"

@on_trigger
def run(event):
    seen = state.get("seen") or []
    new = [e for u in FEEDS for e in feedparser.parse(http.get(u).text).entries if e.get("link") not in seen]
    report_fetched(len(new))
    if not new:
        return {"new": 0}
    for e in new[:5]:
        body = ai.generate(f"{e.get('title')}\n{e.get('summary', '')[:3000]}", system="Rewrite as a short news post for our "
                           "readers, in HTML paragraphs. Do not copy sentences.", max_output_tokens=900).text
        post = http.post(f"{WP_URL}/wp-json/wp/v2/posts", auth=(WP_USER, credentials.secret("WP_APP_PASSWORD")),
                         json={"title": e.get("title"), "status": "publish",
                               "content": f"{body}<p>Source: <a href=\"{e.get('link')}\">{e.get('link')}</a></p>"}).json()
        http.post(f"https://discord.com/api/v10/channels/{CHANNEL_ID}/messages",
                  headers={"Authorization": f"Bot {credentials.secret('DISCORD_BOT_TOKEN')}"},
                  json={"content": f"New post: {e.get('title')}\n{post.get('link', '')}"})
        seen.append(e.get("link"))
    state.set("seen", seen[-1000:])
    return {"published": min(len(new), 5)}

FAQ

Common questions

Can posts be saved as drafts instead of published?
Yes. Posts can be created as drafts for an editor to review in WordPress. The Discord announcement is then sent when you publish them yourself or skipped.
Is the original source credited?
Each post ends with a link to the original article. Crediting sources is good practice and helps readers find more detail.
How does it connect to my WordPress site?
Through an application password you create in your WordPress user profile. It works with self-hosted WordPress and WordPress.com business plans.
What permissions does it need?
WordPress write; bot Send Messages. 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 checks. Checks that find nothing new 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 “Publish feed articles to WordPress and announce them in Discord” from your assistant

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