Every 5 minutes
Get Slack alerts for replies to your Reddit posts
Comment replies to your Reddit posts and comments, and username mentions, are posted to Slack every 5 minutes with the text and a link to answer.
- Runs
- Every 5 minutes
- Apps
- Reddit, Slack
- AI
- Not needed
- Access
- privatemessages, identity; chat:write
Send this to your assistant
Create a ClickRuntime automation: every 5 minutes, check my Reddit inbox for replies to my posts and comments and username mentions, and post each to #community with the subreddit, author, text and link.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
When a company account or founder posts on Reddit, the useful part comes later in the replies: questions, bug reports and objections. Reddit's notifications only reach whoever is logged in to that account, and replies get missed while the thread is still active.
This automation reads the account's Reddit inbox every 5 minutes and posts comment replies, post replies and username mentions to a Slack channel, with the subreddit, the person replying, their text and a link that opens the comment in context. Private messages are left out.
Founders doing launch posts, developer relations teams running official accounts and support teams answering on a product subreddit use it so replies get answered while people are still reading.
What you get out of it
Answer while the thread is live
Reddit threads move fast; seeing a question within minutes means the answer is still read.
Shared with the team
Replies to one account reach a whole channel, so whoever knows the answer can take it.
Mentions included
If someone tags your username in a thread you are not in, it shows up too.
Private messages stay private
Direct messages are not posted to Slack.
Inbox left untouched
Nothing is marked read, so the account owner still sees everything on Reddit.
How it works
What happens, step by step
Every 5 minutes the automation reads your Reddit inbox through your Reddit app.
It keeps comment replies, post replies and username mentions, and ignores private messages.
Each new item is posted to Slack with the subreddit, who replied, their text and a link to the comment.
Items are not marked read on Reddit, so your inbox stays as it was.
Before it runs live
- Connect Reddit
- Connect Slack, then invite the app to the channel (type /invite @ClickRuntime there)
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
- Add an AI step, for example to summarize, sort or draft a reply
- Add another app, for example also send it to Google Sheets
- Combine it with other Reddit and Slack steps into one automation
Under the hood
The code that runs this automation
from clickruntime import on_trigger, credentials, http, state, notify
CHANNEL = "#community"
LABEL = {"comment_reply": "Reply to your comment", "post_reply": "Reply on your post", "username_mention": "You were mentioned"}
UA = "clickruntime-automation/1.0"
def reddit(path, **params):
resp = http.get(f"https://oauth.reddit.com{path}", params=params, headers={
"Authorization": f"Bearer {credentials.connection('reddit', 'work')}", "User-Agent": UA})
resp.raise_for_status()
return resp.json()
@on_trigger
def run(event):
items = reddit("/message/inbox", limit=50)["data"]["children"]
last = state.get("last")
newest = items[0]["data"]["created_utc"] if items else last
state.set("last", max(newest or 0, last or 0))
if last is None:
return {"baseline": True}
posted = 0
for child in reversed(items):
m = child["data"]
if child["kind"] != "t1" or m["created_utc"] <= last or m.get("type") not in LABEL:
continue
notify.slack(f"↩ {LABEL[m['type']]} in r/{m['subreddit']}\nu/{m['author']}: {m['body'][:1500]}\n"
f"https://reddit.com{m['context']}", channel=CHANNEL)
posted += 1
return {"posted": posted}FAQ
Common questions
Which Reddit scopes does the app need?
Are my private messages posted too?
Can several team members reply from Slack?
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 new posts from a subreddit to Slack
Every 5 minutes, new posts in the subreddits you choose are posted to a Slack channel with title, author, flair and link.
See how it worksGet Reddit brand mentions in Slack with reply drafts
Reddit posts mentioning your brand appear in Slack within half an hour, with their sentiment and a suggested reply.
See how it worksPost to Reddit after your team approves in Slack
New articles get a Reddit post draft in Slack, and the ones your team approves with a reaction are posted to your chosen subreddit.
See how it worksKeep exploring
Set up “Get Slack alerts for replies to your Reddit posts” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.