Daily
Find Reddit threads where your videos would help
Each day you get Reddit threads where one of your YouTube videos would genuinely help, with a suggested comment, tracked in a sheet.
- Runs
- Daily
- Apps
- Google Sheets, Reddit
- AI
- Yes, uses the built-in AI allowance
- Access
- Reddit read; sheet edit
Send this to your assistant
Create a ClickRuntime automation: every morning, search Reddit for questions about home espresso, match them to my YouTube videos listed in my sheet, draft a helpful comment for each match, log it in my sheet and email me the list.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
YouTube creators know their best tutorials answer questions people ask on Reddit every day. Sharing a video in the right thread can bring hundreds of interested viewers, but finding those threads, and writing a comment that helps rather than spams, takes time few creators have.
Matching new Reddit questions to your existing videos, with a drafted comment that answers the question first, gives you a short daily list of places where sharing is welcome. Logging each one stops you posting in the same thread twice.
What you get out of it
Old videos keep finding viewers
Tutorials made months ago are matched to new questions, so your back catalogue keeps bringing in viewers.
Comments that help first
Each drafted comment answers the question directly and offers the video as extra help, which communities accept far more readily than a bare link.
A short list, not a search
You get a handful of relevant threads each day instead of searching Reddit yourself.
A record of where you posted
The sheet tracks every thread and video, so you never repeat yourself in a community.
How it works
What happens, step by step
Every morning ClickRuntime searches Reddit for new questions on your topics.
It skips threads already in your sheet.
AI matches each question to one of your videos and drafts a helpful comment, or skips it if nothing fits.
Matches are added to your sheet and emailed to you as a short list.
Before it runs live
- Connect your Google Sheets account and pick the spreadsheets it may use
- Connect Reddit
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
- 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 Google Sheets and Reddit steps into one automation
Under the hood
The code that runs this automation
from google.oauth2.credentials import Credentials
from googleapiclient.discovery import build
from clickruntime import on_trigger, credentials, http, state, ai, notify
TOPICS, SHEET_ID, RANGE = ["espresso grinder", "espresso dialing in"], "your-spreadsheet-id", "Threads!A:D"
SCHEMA = {"type": "object", "required": ["video", "comment"], "properties": {"video": {"type": "string"}, "comment": {"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 append_rows(rows):
sheets = build("sheets", "v4", credentials=Credentials(credentials.connection("google", "work")), cache_discovery=False)
sheets.spreadsheets().values().append(spreadsheetId=SHEET_ID, range=RANGE, valueInputOption="RAW", body={"values": rows}).execute()
@on_trigger
def run(event):
sheets = build("sheets", "v4", credentials=Credentials(credentials.connection("google", "work")), cache_discovery=False)
videos = sheets.spreadsheets().values().get(spreadsheetId=SHEET_ID, range="Videos!A2:B").execute().get("values", [])
seen = set(state.get("seen") or [])
posts = [p for t in TOPICS for p in reddit("/search", q=t, sort="new", t="day", limit=15) if p["id"] not in seen]
rows = []
for p in posts:
m = ai.generate(f"Videos:\n{videos}\n\nQuestion: {p['title']}\n{p['selftext'][:800]}", json_schema=SCHEMA, max_output_tokens=250,
system="Pick the video URL that answers this, or 'none'. Draft a comment that answers first, then mentions the video.").json
if m["video"] != "none":
rows.append([p["subreddit"], "https://reddit.com" + p["permalink"], m["video"], m["comment"]])
if rows:
append_rows(rows)
notify.email_me(f"{len(rows)} Reddit threads for your videos", "\n\n".join(f"{r[1]}\n{r[3]}" for r in rows))
state.set("seen", (list(seen) + [p["id"] for p in posts])[-2000:])
return {"matches": len(rows)}FAQ
Common questions
Does it post comments for me?
How does it know which video fits?
How many threads will I get?
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
Collect Reddit pain points as business ideas
Each day, Reddit posts where people describe a problem worth paying to solve are added to your sheet with a short AI summary.
See how it worksTurn trending Reddit topics into content ideas
Each day the top discussions in your niche's subreddits become post ideas and drafts in your content sheet.
See how it worksFind Reddit leads and log them in a sheet
Posts from people asking for a product like yours are added to your sheet every hour, scored and with a suggested reply.
See how it worksKeep exploring
Set up “Find Reddit threads where your videos would help” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.