Daily
Find Reddit threads for your new YouTube videos
When you publish a video, you get an email listing Reddit threads where it would help, with a suggested comment for each.
- Runs
- Daily
- Apps
- Reddit, YouTube
- AI
- Yes, uses the built-in AI allowance
- Access
- YouTube API key; Reddit read
Send this to your assistant
Create a ClickRuntime automation: every morning, check my YouTube channel for videos published yesterday, search Reddit for threads on the same topic, and email me the best threads with a suggested comment.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
A new video needs viewers in its first days, and the most interested people are often asking about that exact topic on Reddit. Finding those threads by hand after every upload is a chore most creators skip.
Searching Reddit for each new video and drafting a helpful comment gives you a short list of places to share it, where it actually answers someone's question.
What you get out of it
Viewers when it matters
You get the list the day after uploading, when early views help most.
Threads where it helps
Threads are matched to the video's topic, so sharing answers a real question.
Comments that are welcome
Suggested comments answer first and mention the video second, which suits community rules.
No searching after every upload
The research happens automatically for every new video.
How it works
What happens, step by step
Every morning ClickRuntime checks your YouTube channel for videos published in the last day.
For each new video, it searches Reddit for recent threads on the same topic.
AI picks the threads where the video would help and drafts a comment for each.
You get an email with the threads, links and suggested comments.
Before it runs live
- Connect Reddit
- Connect YouTube
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 Reddit and YouTube steps into one automation
Under the hood
The code that runs this automation
from datetime import datetime, timedelta, timezone
from clickruntime import on_trigger, credentials, http, ai, notify
CHANNEL_ID = "UCxxxxxxxxxxxxxxxx"
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"]]
@on_trigger
def run(event):
since = (datetime.now(timezone.utc) - timedelta(days=1)).strftime("%Y-%m-%dT%H:%M:%SZ")
videos = http.get("https://www.googleapis.com/youtube/v3/search", params={"key": credentials.secret("YOUTUBE_API_KEY"),
"channelId": CHANNEL_ID, "part": "snippet", "type": "video", "order": "date", "publishedAfter": since}).json()["items"]
if not videos:
return {"videos": 0}
sections = []
for v in videos:
title = v["snippet"]["title"]
threads = reddit("/search", q=title, sort="relevance", t="month", limit=10)
listing = "\n".join(f"- {t['title']} https://reddit.com{t['permalink']}" for t in threads)
picks = ai.generate(f"Video: {title}\nhttps://youtu.be/{v['id']['videoId']}\nThreads:\n{listing}", max_output_tokens=700,
system="Pick up to 3 threads where this video genuinely helps. For each: link and a helpful comment that answers first.").text
sections.append(f"{title}\n{picks}")
notify.email_me("Reddit threads for your new videos", "\n\n".join(sections))
return {"videos": len(videos)}FAQ
Common questions
Does it post comments for me?
How does it find the right threads?
What if I didn't upload anything?
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
Get a morning email of Reddit and YouTube mentions
Each morning you get one email summarising what Reddit and YouTube said about your company or topic yesterday, with sentiment.
See how it worksGet a daily news digest in Slack
Each morning your team gets a short summary of what's new on the sites and blogs you follow.
See how it worksFollow your stocks and crypto in Slack
During market hours you get a short update on the tickers you care about, with a heads-up on big moves.
See how it worksKeep exploring
Set up “Find Reddit threads for your new YouTube videos” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.