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.
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
Every 30 minutes, ClickRuntime checks your RSS feed for new posts.
Posts that were already announced are skipped, so each one is only shared once.
If you turn it on, AI writes a two-sentence summary of each new post.
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
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 Discord and Microsoft Teams steps into one automation
Under the hood
The code that runs this automation
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?
How do I connect Discord?
Can it post to more than one channel?
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
Post a weekly report summary to Discord and Microsoft Teams
Every Monday, a short summary of last week's numbers is posted to both your Discord server and your Teams channel.
See how it worksPost new bookings to Discord and Teams
Each time someone books a meeting through your form, the details are posted to your Discord server and your Teams channel.
See how it worksPost new articles to your Telegram channel
New posts from the sites you follow land in your channel with a one-line summary.
See how it worksKeep exploring
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.