Skip to content

Hourly

Find Reddit posts from likely customers and email the best ones

Every hour, Reddit posts about the problem your product solves are scored, saved in Supabase, and the promising ones are emailed to you.

Runs
Hourly
Apps
Gmail, Supabase
AI
Yes, uses the built-in AI allowance
Access
Supabase read+write; Gmail send

Send this to your assistant

Create a ClickRuntime automation: every hour, search my subreddits for posts about scheduling headaches, score each for buying intent with AI, save new ones to my Supabase reddit_posts table and email me the hot leads.

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

Founders of small software products know their customers ask for help on Reddit: 'what do you use for X?' Answering those threads early is some of the best marketing there is, but nobody can watch a dozen subreddits all day.

Searching on a schedule, scoring each post for intent and emailing only the promising ones means you join the right conversations while they're still fresh.

What you get out of it

  • Reply while the thread is fresh

    Early, helpful answers get read; replies a week later don't.

  • Only the posts worth your time

    AI scoring filters out the noise so the email lists real buying questions.

  • A history of every post

    Supabase keeps every post found, useful for spotting recurring pain points.

  • Never the same post twice

    Posts already stored are skipped.

How it works

What happens, step by step

  1. Every hour, ClickRuntime searches your chosen subreddits for your keywords.

  2. It skips posts already saved in your Supabase table.

  3. AI scores each new post from 1 to 10 for how likely the author is to need your product.

  4. All new posts are saved to Supabase with their score.

  5. If any score 7 or higher, you get an email listing them with links.

Before it runs live

  • Connect Google through your own Google app (a one-time, 10-minute setup), so it works with your own Gmail
  • Connect Supabase

What you get

RunsHourly
Find Reddit posts from likely customers and email the best onestoday, 9:00Succeeded
Email · Reddit leads2 hot Reddit leads: [9] What do you use to book client calls? – reddit.com/r/freelance/…

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

  • Run it at a different time, more or less often, or only on weekdays
  • 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 Gmail and Supabase 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.
monitor_reddit_for_leads_store_in_supabase_email_alerts.pyexample
from clickruntime import on_trigger, credentials, http, notify, ai, report_fetched

SEARCH = "https://www.reddit.com/r/smallbusiness+freelance/search.json"
SUPABASE = "https://your-project.supabase.co/rest/v1"

def sb(method, path, **kw):
    key = credentials.secret("SUPABASE_KEY")
    r = http.request(method, f"{SUPABASE}/{path}", **kw, headers={"apikey": key, "Authorization": f"Bearer {key}", "Prefer": "return=representation,resolution=merge-duplicates"})
    return r.raise_for_status() or (r.json() if r.content else None)

@on_trigger
def run(event):
    posts = [c["data"] for c in http.get(SEARCH, params={"q": "scheduling tool", "restrict_sr": 1, "sort": "new", "t": "day"},
             headers={"User-Agent": "northwind-leads/1.0"}).json()["data"]["children"]]
    known = {r["id"] for r in sb("GET", "reddit_posts?select=id&id=in.(" + ",".join(p["id"] for p in posts) + ")")} if posts else set()
    new = [p for p in posts if p["id"] not in known]
    report_fetched(len(new))
    if not new:
        return {"summary": "Nothing new"}
    lines = "\n".join(f"{i}. {p['title']} — {p['selftext'][:300]}" for i, p in enumerate(new))
    scores = ai.generate(f"Score each post 1-10 for intent to buy a scheduling tool. One integer per line.\n{lines}", max_output_tokens=10 * len(new)).text.split()
    rows = [{"id": p["id"], "title": p["title"], "url": "https://reddit.com" + p["permalink"], "score": int(s)} for p, s in zip(new, scores)]
    sb("POST", "reddit_posts", json=rows)
    hot = [r for r in rows if r["score"] >= 7]
    if hot:
        notify.email_me(f"{len(hot)} hot Reddit leads", "\n\n".join(f"[{r['score']}] {r['title']}\n{r['url']}" for r in hot))
    return {"new": len(rows), "hot": len(hot)}

FAQ

Common questions

Does it post replies for me?
No. It finds and scores posts; you decide whether and how to reply.
Which subreddits and keywords does it search?
The ones you list. Start narrow with the communities your customers use.
What makes a post a hot lead?
A score of 7 or more out of 10 for buying intent, such as asking for a tool recommendation. You can change the cut-off.
What permissions does it need?
Supabase read+write; Gmail send. 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 runs (hourly). Checks that find nothing to do 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 “Find Reddit posts from likely customers and email the best ones” from your assistant

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