Skip to content

Hourly

Get emailed when someone on Reddit needs your product

When someone on Reddit asks for something your product solves, you get an email with the post and a suggested reply.

Runs
Hourly
Apps
Gmail, Reddit
AI
Yes, uses the built-in AI allowance
Access
Reddit read; Gmail gmail.send

Send this to your assistant

Create a ClickRuntime automation: every hour, search Reddit for people asking for invoicing software for freelancers. Email me any good matches with a short, helpful reply I could post.

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 Reddit post asking "what's the best tool for this?" is a sales lead with a short shelf life. Within a day it has dozens of replies and the person has made their choice. Small companies rarely have someone checking Reddit every hour.

An email the moment a good match appears lets you reply while it counts. The suggested reply helps you answer the question honestly first, which is what gets noticed on Reddit.

What you get out of it

  • Catch buyers early

    Hourly checks mean you can reply before the thread fills up and the person decides.

  • Only good matches

    AI checks each post against your product description, so you are only emailed about real opportunities.

  • A reply ready to adapt

    Each alert includes a helpful reply you can adjust, which saves time and avoids sounding like an advert.

  • No dashboard to check

    Alerts arrive in your inbox, where you already are.

How it works

What happens, step by step

  1. Every hour ClickRuntime searches Reddit for new posts using your search phrases.

  2. It skips posts it has already checked.

  3. AI decides whether each post is a good match for your product and drafts a helpful reply.

  4. Good matches are emailed to you from your Gmail with the post link and suggested reply.

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 Reddit

What you get

RunsHourly
Get emailed when someone on Reddit needs your producttoday, 9:00Succeeded
Email · 1 Reddit lead"Freelance designer here, what do you use to send invoices and chase payments?" Suggested reply: For chasing, the biggest win is automatic reminders at 7 and 14 days…

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 Reddit 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.
email_alerts_for_reddit_sales_leads.pyexample
import base64
from email.message import EmailMessage
from google.oauth2.credentials import Credentials
from googleapiclient.discovery import build
from clickruntime import on_trigger, report_fetched, credentials, http, state, ai

QUERY, ME = 'invoicing software freelancer OR "invoice app" recommend', "me@example.com"
SCHEMA = {"type": "object", "required": ["match", "reply"], "properties": {"match": {"type": "boolean"}, "reply": {"type": "string"}}}

def reddit(path, **params):
    headers = {"Authorization": "Bearer " + credentials.connection("reddit", "main"), "User-Agent": "clickruntime/1.0"}
    return [c["data"] for c in http.get(f"https://oauth.reddit.com{path}", headers=headers, params=params).json()["data"]["children"]]

def send_email(subject, text):
    msg = EmailMessage()
    msg["To"], msg["Subject"] = ME, subject
    msg.set_content(text)
    gmail = build("gmail", "v1", credentials=Credentials(credentials.connection("google", "work")), cache_discovery=False)
    gmail.users().messages().send(userId="me", body={"raw": base64.urlsafe_b64encode(msg.as_bytes()).decode()}).execute()

@on_trigger
def run(event):
    seen = set(state.get("seen") or [])
    posts = [p for p in reddit("/search", q=QUERY, sort="new", t="day", limit=25) if p["id"] not in seen]
    report_fetched(len(posts))
    if not posts:
        return {"leads": 0}
    leads = []
    for p in posts:
        r = ai.generate(f"{p['title']}\n{p['selftext'][:1500]}", json_schema=SCHEMA, max_output_tokens=250,
                        system="Our product: simple invoicing for freelancers. Is this person looking for it? Draft a helpful, honest reply.").json
        if r["match"]:
            leads.append(f"{p['title']}\nhttps://reddit.com{p['permalink']}\n\nSuggested reply:\n{r['reply']}")
    if leads:
        send_email(f"{len(leads)} Reddit lead(s)", "\n\n---\n\n".join(leads))
    state.set("seen", (list(seen) + [p["id"] for p in posts])[-2000:])
    return {"checked": len(posts), "leads": len(leads)}

FAQ

Common questions

How many emails will I get?
Only when there is a good match, so some days none. You can switch to one summary email per day if you prefer.
Does it post the reply for me?
No. You decide whether and how to reply on Reddit.
How do I improve the matches?
Refine the search phrases and add a sentence about who your product is not for. Both help the AI skip poor fits.
What permissions does it need?
Reddit read; Gmail 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 “Get emailed when someone on Reddit needs your product” from your assistant

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