Skip to content

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.

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

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

  1. Every 5 minutes the automation reads your Reddit inbox through your Reddit app.

  2. It keeps comment replies, post replies and username mentions, and ignores private messages.

  3. Each new item is posted to Slack with the subreddit, who replied, their text and a link to the comment.

  4. 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

RunsEvery 5 minutes
Get Slack alerts for replies to your Reddit poststoday, 9:00Succeeded
#community · Slack↩ Reply on your post in r/selfhosted u/homelabber42: Does 2.4 support MinIO or only AWS S3? https://reddit.com/r/selfhosted/comments/…/kx91…/?context=3

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
  • 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

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.
get_slack_alerts_for_replies_to_your_reddit_posts.pyexample
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?
privatemessages to read the inbox, plus identity. The connection must be for the Reddit account whose replies you want, such as your company or founder account.
Are my private messages posted too?
No. Only comment replies, post replies and username mentions are sent. Direct messages are skipped so private conversations stay private.
Can several team members reply from Slack?
Replies are written on Reddit; the link opens the comment in context. Slack is used so the team sees questions quickly and can agree who answers.
What permissions does it need?
privatemessages, identity; chat:write. Nothing else in your accounts is used.
Does it need AI?
No. It runs without AI, so it doesn't use your plan's 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 “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.