Skip to content

Every 30 minutes

Announce new blog posts in Discord and Teams

Each new post in your RSS feed is announced in your Discord server and your Teams channel, with an optional short summary.

Runs
Every 30 minutes
Apps
Discord, Microsoft Teams
AI
Optional
Access
Discord bot Send Messages; Teams ChannelMessage.Send

Send this to your assistant

Create a ClickRuntime automation: when my RSS feed has a new post, announce it in our Discord channel and our Teams 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 software company publishes release notes and blog posts on its site. Its users gather in a Discord server, and its own staff and partners work in Microsoft Teams. Someone has to remember to post each new article in both places, and when they are busy, announcements go out late or not at all.

This automation watches your feed every 30 minutes. Each new post is announced in Discord and Teams with its title, link and, if you like, a short AI summary, so both audiences hear about it at the same time.

What you get out of it

  • Nobody has to remember

    Publishing the post is the only step. The announcements follow on their own within half an hour.

  • Community and team hear together

    Users in Discord and colleagues in Teams see the news at the same time. Support and sales are not caught out by questions about a release they have not seen.

  • A summary that invites a click

    A two-sentence summary tells readers why the post matters to them. It gets more readers than a bare link.

  • Each post announced once

    Posts already announced are remembered and skipped. Editing an old post does not trigger a repeat.

How it works

What happens, step by step

  1. Every 30 minutes, ClickRuntime checks your RSS feed for new posts.

  2. Posts that were already announced are skipped, so each one is only shared once.

  3. If you turn it on, AI writes a two-sentence summary of each new post.

  4. The title, summary and link are posted in your Discord channel and your Teams channel.

Before it runs live

  • Connect Discord
  • Connect Microsoft Teams

What you get

RunsEvery 30 minutes
Announce new blog posts in Discord and Teamstoday, 9:00Succeeded
Discord · #announcementsNew post: Northwind 4.2 adds offline mode. Field teams can now log visits without signal and sync later.

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 Microsoft Teams 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.
cross_post_new_content_to_discord_and_teams.pyexample
import feedparser
from clickruntime import on_trigger, credentials, http, state, ai, report_fetched

FEED = "https://blog.example.com/feed.xml"
DISCORD_CHANNEL = "your-discord-channel-id"
TEAM_ID, TEAMS_CHANNEL = "your-team-id", "your-teams-channel-id"

@on_trigger
def run(event):
    seen = set(state.get("seen") or [])
    new = [e for e in feedparser.parse(http.get(FEED).content).entries if e.link not in seen]
    report_fetched(len(new))
    if not new:
        return {"new": 0}
    for post in reversed(new[:10]):
        try:
            summary = ai.generate(f"Summarise in two sentences for readers:\n{post.title}\n{post.get('summary', '')[:2000]}", max_output_tokens=120).text
        except ai.AIError:
            summary = ""
        text = f"New post: {post.title}\n{summary}\n{post.link}".replace("\n\n", "\n")
        http.post(f"https://discord.com/api/v10/channels/{DISCORD_CHANNEL}/messages", json={"content": text},
                  headers={"Authorization": f"Bot {credentials.secret('DISCORD_BOT_TOKEN')}"})
        http.post(f"https://graph.microsoft.com/v1.0/teams/{TEAM_ID}/channels/{TEAMS_CHANNEL}/messages",
                  headers={"Authorization": f"Bearer {credentials.connection('microsoft', 'work')}"},
                  json={"body": {"contentType": "text", "content": text}})
        seen.add(post.link)
    state.set("seen", list(seen)[-500:])
    return {"announced": min(len(new), 10)}

FAQ

Common questions

Which feeds work?
Any RSS or Atom feed, such as a blog, a changelog, a podcast or a store's new products feed. Most website builders publish one automatically.
How do I connect Discord?
Create a bot in the Discord developer portal, invite it to your server with permission to send messages, and save its token as a secret. You then choose the channel it posts in.
Can it post to more than one channel?
Yes. List several Discord channels or Teams channels and each new post is announced in all of them.
What permissions does it need?
Discord bot Send Messages; Teams ChannelMessage.Send. Nothing else in your accounts is used.
Does it need AI?
No, but you can ask for an AI step (for example a summary). It then uses ClickRuntime's built-in 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 “Announce new blog posts in Discord and Teams” from your assistant

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