Automate YouTube Content Research With Monitors and a Webhook
Automate the collecting part of YouTube research: create each channel's monitors with the AyeWatch API, log every alert to a sheet by webhook, and keep the judging for one weekly review.
By AyeWatch Team5 min read
Short answer: To automate YouTube content research, automate the collecting, not the judging. Create a news topic, a subreddit and a YouTube search per channel with the AyeWatch API, send every alert by webhook to Make or n8n, and append each one to a sheet. Picking ideas becomes one short weekly review of a sorted log.
What to automate, and what to keep
Content research has three parts. Collecting is reading news, Reddit and YouTube every day to see what is new. Sorting is putting each find under the right channel and dropping repeats. Judging is deciding which few become videos. The first two are repetitive and suit automation. The third is the work that makes a channel good, and no tool does it for you.
This post automates collecting and sorting for several channels at once, the way AyeWatch's largest customer, a team running about a dozen faceless YouTube channels, does it. The monitors per channel are explained in faceless YouTube channel content ideas. Here they are created by script and logged without anyone opening an app.
Create each channel's monitors with the API
Create a key in API access settings (paid plans, up to 10 active keys). A plain-text name creates an internet topic, with the rule in description:
curl -X POST https://ayewatch.ai/api/v1/topics \
-H "Authorization: Bearer aw_live_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "EV recalls, battery fires and price cuts",
"description": "Only stories with a recall, a fire, a lawsuit, a price cut over $3,000 or a range test that misses the official figure.",
"interval": "1_day"
}'
A source object creates a platform monitor. The subreddit takes a full link, and filter is the "Only alert me about" rule, up to 200 characters:
curl -X POST https://ayewatch.ai/api/v1/topics \
-H "Authorization: Bearer aw_live_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"source": {
"mode": "reddit_subreddit",
"inputs": {
"subreddit": "https://www.reddit.com/r/electricvehicles/",
"filter": "Posts where people disagree about a choice, a rule or a company, or describe a costly mistake."
}
},
"interval": "1_day"
}'
The YouTube search uses "mode": "youtube_search" with "inputs": {"query": "ev range test"}. Keep each response's id, because the webhook sends it back as topic_id.
Loop over a list of channels
For a dozen channels, keep a CSV with one row per channel (channel,subreddit,youtube_query) and loop. This version builds the JSON with jq, so quotes in a query can't break it, and writes each new id next to its channel:
tail -n +2 channels.csv | while IFS=, read -r channel subreddit query; do
jq -n --arg q "$query" \
'{source: {mode: "youtube_search", inputs: {query: $q}}, interval: "1_day"}' |
curl -s -X POST https://ayewatch.ai/api/v1/topics \
-H "Authorization: Bearer $AYEWATCH_KEY" \
-H "Content-Type: application/json" \
-d @- |
jq -r --arg c "$channel" '[.data.id, $c] | @csv' >> monitors.csv
sleep 1
done
Repeat with the subreddit and topic bodies. The API allows 120 requests a minute per key, so one request a second stays well under it. A 403 means no plan, a plan limit or no credits; a 400 means a bad field or an interval your plan doesn't allow. monitors.csv becomes the Monitors tab that maps topic_id to channel. For a fuller script with retries, see create monitors in bulk with the API.
Log every alert by webhook
Set one webhook for the account in Notification settings, Webhook, or with PUT /api/v1/webhook. Every alert from every monitor arrives there as JSON. Then:
- Make: Webhooks, Custom webhook, then Google Sheets, Add a Row. See the Make guide.
- n8n: a Webhook node, then a Google Sheets node set to Append Row. n8n can also check the
X-AyeWatch-SignatureHMAC with a Crypto node, which the standard Make setup can't. See the n8n guide.
Map created_at, topic_id, headline, content and update_id to columns, and look up the channel from topic_id. A failed delivery is retried with the same update_id, so that column is how you spot repeats. There is no endpoint for past alerts, so the sheet is your history; build it before the first monitor runs.
If you want draft titles in the log, add an AI step in your automation tool that reads headline and content and writes three title options to a column. That step runs on your own model account. AyeWatch doesn't write titles or scripts.
What it costs
Per channel, checked daily: topic 1 × 30 = 30, subreddit with filter 2 × 30 = 60, YouTube search 1 × 30 = 30. That is 120 credits a channel a month. Four channels fit Pro's 500; twelve use 1,440 of Pro+'s 1,500. API calls have no separate charge; monitors use credits as checks run. AyeWatch Pro is $9/mo with 50 topics and hourly checks; Pro+ is $19/mo with 200 topics and ASAP mode. Every plan starts with a 7-day free trial.
What automation won't do
- Return view counts. AyeWatch doesn't track views or view history. YouTube's own Data API is the place for numbers.
- Return past alerts. No alert-history endpoint: alerts arrive by webhook and in your notifications.
- Judge ideas. The log is sorted raw material. Someone still reads it.
- Read comments, private subreddits or paywalled articles.
Automate the research in six steps
- Write a CSV with one row per channel: name, subreddit link and YouTube search phrase, plus each channel's topic rule.
- Create an API key and run the loop for each monitor type, saving every new id to monitors.csv.
- Build the receiver in Make or n8n that appends one row per alert to the idea log.
- Set the webhook URL in AyeWatch. It has no test button, so wait for the first real alert and check the row.
- Paste monitors.csv into a Monitors tab and add a VLOOKUP from topic_id to channel.
- Each week, filter the log by channel and pick that channel's ideas in one sitting.
| Log column | Webhook field | Note |
|---|---|---|
| Date | created_at | ISO 8601 timestamp |
| Topic ID | topic_id | Matches the id the API returned |
| Channel | (lookup) | =VLOOKUP(B2, Monitors!A:B, 2, FALSE) |
| Idea | headline | Short summary; can be missing on some updates |
| Detail | content | Full text of the update |
| Update ID | update_id | Same value on a retried delivery |
Start a monitor in under a minute
Describe a topic or paste a URL. Cancel before the trial ends and you pay nothing.
Try it free for 7 daysThe bottom line
Build the sheet and the receiver first, then create one channel's monitors by script and wait for real alerts. When the rows look right, run the loop for the other channels. The weekly review is the part to protect: automation only pays off if someone reads the log.
FAQ
Can YouTube content research be fully automated?
Collecting and sorting can be. Monitors read news, Reddit and YouTube on a schedule and a webhook logs every find. Deciding which ideas become videos still needs a person.
Can I create AyeWatch monitors with a script?
Yes. POST /api/v1/topics creates an internet topic from a plain-text name and description, or a platform monitor from a source object such as reddit_subreddit or youtube_search. API keys need a paid plan.
How fast can I create monitors through the API?
The limit is 120 requests a minute per key. A loop that waits one second between calls stays well under it.
Does the AyeWatch API return YouTube view counts?
No. It manages monitors and the webhook. It has no view statistics and no alert history; alerts arrive by webhook.
Can AyeWatch write video titles for my ideas?
No. Alerts carry a short summary and links. If you want draft titles, add an AI step with your own model account in Make or n8n.