🔓 Unlock all 10,000+ workflows & prompts free Join Newsletter →
✅ Full access unlocked — explore all 10,000 AI workflow and prompt templates Browse Templates →
Home n8n Workflow
January 22, 2026

Apify + Airtable: YouTube keyword research, sorted

Lisa Granqvist Partner Workflow Automation Expert

You do “quick” YouTube keyword research… and somehow it turns into an hour of tabs, half-copied notes, and a spreadsheet you don’t trust.

Content creators feel it when they’re trying to plan next week’s videos. A marketing lead feels it when reporting is due. And if you run a small agency, you feel it twice. This YouTube research automation keeps the work consistent without you babysitting it.

This workflow pulls YouTube results for your keywords, cleans and summarizes transcripts with AI, then stores everything in Airtable so you can search, sort, and plan faster.

How This Automation Works

Here’s the complete workflow you’ll be setting up:

n8n Workflow Template: Apify + Airtable: YouTube keyword research, sorted

Why This Matters: Weekly YouTube research gets messy fast

Keyword research is supposed to be a simple habit. In reality, it’s a weekly scramble. You search YouTube, open a bunch of promising videos, skim intros, try to understand what actually made them work, and then copy notes somewhere “temporary” (which becomes permanent). The worst part isn’t even the time. It’s the inconsistency. One week you capture views and titles, the next week you forget to save publish dates, and suddenly your “research” can’t answer basic questions like “what’s trending right now?” or “which formats keep winning in this niche?”

It adds up fast. Here’s where it breaks down.

  • You end up re-checking the same keywords because last week’s notes aren’t searchable.
  • Video “inspiration” lives in tabs and bookmarks, so patterns are hard to spot.
  • Transcripts are long, messy, and honestly not readable without cleaning.
  • Even if you save links, you still have to re-watch to remember what the video covered.

What You’ll Build: Apify → AI summaries → Airtable research base

This automation runs on a schedule (weekly by default). It starts by loading the keywords you want to track, then asks Apify to scrape YouTube search results for those terms using a relevance filter and a date filter you control. Because scraping runs as an asynchronous “dataset job,” the workflow waits and checks the job status until the dataset is ready. Once the results are available, it pulls each video record, cleans the transcript text so it’s usable, and sends it to an AI summarizer. Finally, it writes a structured record into Airtable, so every keyword run becomes a neat, searchable library you can use for planning, briefs, and trend review.

The workflow kicks off from the weekly schedule, generates a fresh dataset in Apify, and polls until it’s complete. After that, each video gets cleaned and summarized, then saved into Airtable as a record you can filter by keyword, date, or whatever fields you decide to keep.

What You’re Building

Expected Results

Say you track 10 keywords each week and you usually review about 5 videos per keyword. Manually, that’s opening around 50 videos, grabbing links, copying titles, finding transcripts, then writing notes, which can easily take about 3 hours. With this workflow, you spend maybe 10 minutes updating keywords (if needed), then let it run while you do other work. When it’s done, you’re reviewing summaries inside Airtable, which is usually closer to 20–30 minutes of actual planning time.

Before You Start

  • n8n instance (try n8n Cloud free)
  • Self-hosting option if you prefer (Hostinger works well)
  • Apify to scrape YouTube search results.
  • Airtable to store and search summaries.
  • Apify API token (get it from Apify Console → Integrations/API).

Skill level: Intermediate. You’ll paste API tokens, adjust a JSON body, and map fields into Airtable.

Want someone to build this for you? Talk to an automation expert (free 15-minute consultation).

Step by Step

A weekly schedule kicks things off. The workflow starts with the Weekly Schedule Trigger, then loads your tracked keyword list from a Set step so the rest of the run stays consistent.

Apify creates a dataset job for YouTube search. An HTTP request sends your keywords and filters (like dateFilter and relevance settings) to Apify, which begins collecting matching videos in the background.

Status checks and a short delay prevent half-finished data. The workflow waits, checks run status, and branches until the dataset is actually completed. That little loop is what makes this reliable week after week.

Each video is cleaned, summarized, and stored. Results are retrieved in batches, transcript text is cleaned with a small code step, an AI chain summarizes it, and Airtable gets a fresh record per video so you can sort, filter, and plan.

You can easily modify the keyword list and date filters to match your niche and cadence. See the full implementation guide below for customization options.

Step-by-Step Implementation Guide

Step 1: Configure the Schedule Trigger

Set up the weekly schedule that starts the workflow and feeds your keyword configuration.

  1. Add or open Weekly Schedule Trigger.
  2. Set the Interval rule to weekly with TriggerAtDay set to 1 (Monday).
  3. Connect Weekly Schedule Trigger to Define Search Keywords.

Step 2: Connect the Apify Data Run

Configure the keyword inputs and the Apify requests that generate and monitor the YouTube dataset.

  1. Open Define Search Keywords and set the three assignments: keyword1 to Healthy food, keyword2 to Meal prep healthy, and keyword3 to High Protein Snack.
  2. Open Generate Video Dataset and set Method to POST, URL to https://api.apify.com/v2/acts/streamers~youtube-scraper/runs?token=[CONFIGURE_YOUR_TOKEN], and JSON Body to the provided payload using {{ $json.keyword1 }}, {{ $json.keyword2 }}, and {{ $json.keyword3 }} in searchQueries.
  3. Ensure Generate Video Dataset has Send Body and Send Headers enabled, and set the header Content-Type to application/json.
  4. Open Check Run Status and set the URL to https://api.apify.com/v2/acts/streamers~youtube-scraper/runs/last?token=[CONFIGURE_YOUR_TOKEN].
  5. Configure Status Branch with Left Value set to {{ $json.data.status }} and Right Value set to SUCCEEDED.
  6. Connect Generate Video DatasetCheck Run StatusStatus Branch.
  7. Connect the False branch of Status Branch to Delay Cycle, then Delay Cycle to Check Run Status to create the polling loop.

⚠️ Common Pitfall: The Apify endpoints in Generate Video Dataset, Check Run Status, and Retrieve Video Records contain [CONFIGURE_YOUR_TOKEN]. Replace it with a valid Apify token or the requests will fail.

Step 3: Retrieve and Iterate Video Records

Pull the completed dataset and loop through each video item for processing.

  1. Open Retrieve Video Records and set the URL to https://api.apify.com/v2/acts/streamers~youtube-scraper/runs/last/dataset/items?token=[CONFIGURE_YOUR_TOKEN].
  2. Connect the True branch of Status Branch to Retrieve Video Records.
  3. Connect Retrieve Video Records to Iterate Video Items to process videos one by one.
  4. Note that Iterate Video Items outputs to No-Op Placeholder for future expansion and to Clean Transcript Text for processing.

The No-Op Placeholder is intentionally empty and can be used for debugging or additional filters later.

Step 4: Set Up Transcript Cleaning and Summarization

Clean the subtitles text and summarize it with the AI chain connected to your Mistral model.

  1. Open Clean Transcript Text and keep the JavaScript Code as provided to transform SRT captions into a single paragraph.
  2. Open Summarize Transcript and set Text to {{ $json.cleanedText }}.
  3. In Summarize Transcript, keep the Prompt as defined to produce the structured summary.
  4. Verify Mistral Chat Engine is connected as the language model for Summarize Transcript.

Credential Required: Connect your mistralCloudApi credentials. The credentials are configured on Mistral Chat Engine, not on Summarize Transcript.

Step 5: Configure Airtable Output

Store the summarized structure and video metadata into Airtable.

  1. Open Airtable Record Insert and confirm the Operation is create.
  2. Select the Base named YTB Trend Finder and the Table named Listing.
  3. Map fields exactly as configured, including Link to {{ $('Iterate Video Items').item.json.url }}, Title to {{ $('Iterate Video Items').item.json.title }}, Structure to {{ $json.text }}, and Thumbnail to {{ [{ "url": $('Iterate Video Items').item.json.thumbnailUrl }] }}.
  4. Connect Summarize Transcript to Airtable Record Insert, then from Airtable Record Insert back to Iterate Video Items to continue batching.

Credential Required: Connect your airtableTokenApi credentials.

Step 6: Test and Activate Your Workflow

Validate the end-to-end flow and enable it for weekly production runs.

  1. Click Execute Workflow to run a manual test starting from Weekly Schedule Trigger.
  2. Confirm Generate Video Dataset returns a run, Check Run Status reports SUCCEEDED, and Retrieve Video Records returns items.
  3. Verify Summarize Transcript produces text and Airtable Record Insert creates rows with populated fields.
  4. Set the workflow Active toggle to on to run automatically each week.
🔒

Unlock Full Step-by-Step Guide

Get the complete implementation guide + downloadable template

Troubleshooting Tips

  • Apify credentials can expire or be pasted incorrectly. If things break, check the HTTP Request node URLs for a missing or outdated API token first.
  • If you’re using Wait nodes or external dataset runs, processing times vary. Bump up the wait duration if downstream nodes fail on empty responses.
  • Default prompts in AI nodes are generic. Add your brand voice early or you’ll be editing outputs forever.

Quick Answers

What’s the setup time for this YouTube research automation?

About 30 minutes if you already have Apify and Airtable ready.

Is coding required for this YouTube research automation?

No. You’ll mainly connect accounts and edit a couple of values like keywords and filters. There is a small “clean transcript” code step included, but you can use it as-is.

Is n8n free to use for this YouTube research automation workflow?

Yes. n8n has a free self-hosted option and a free trial on n8n Cloud. Cloud plans start at $20/month for higher volume. You’ll also need to factor in Apify usage costs and AI summarization costs (often just a few dollars a month at small volume).

Where can I host n8n to run this automation?

Two options: n8n Cloud (managed, easiest setup) or self-hosting on a VPS. For self-hosting, Hostinger VPS is affordable and handles n8n well. Self-hosting gives you unlimited executions but requires basic server management.

Can I modify this YouTube research automation workflow for different use cases?

Yes, and you probably should. Most people tweak the “Define Search Keywords” step, adjust the dateFilter and searchQueries inside the “Generate Video Dataset” HTTP Request, and change what gets written in “Airtable Record Insert.” You can also swap the summarizer model (the workflow includes a Mistral chat engine and an LLM summarization chain) to match your cost and tone. Common variations include adding a “language” filter, saving extra metadata fields, or writing to Google Sheets instead of Airtable.

Why is my Airtable connection failing in this workflow?

Usually it’s the base/table permissions or a mismatched field type. Reconnect Airtable in n8n, confirm the base is shared with the right account, and double-check the fields you’re mapping match what your table expects. If it only fails sometimes, you may be hitting Airtable rate limits during large batch inserts.

What volume can this YouTube research automation workflow process?

A typical weekly run of a few dozen videos is fine on most setups.

Is this YouTube research automation better than using Zapier or Make?

Often, yes, because this workflow has a “wait + status check” loop and batch processing, which can get awkward (and expensive) in simpler tools. n8n is also more flexible when you need branching logic, data cleanup, and custom mapping into Airtable. The flip side is you have more knobs to configure, which means a bit more initial setup. If you just need “keyword in, row out,” Zapier or Make can work. If you want repeatable weekly research you can trust, n8n is usually the calmer option. Talk to an automation expert if you’re not sure which fits.

Once this is running, your weekly YouTube research stops being a chore and starts being a resource. Set it up, let it collect, then open Airtable and plan with confidence.

Need Help Setting This Up?

Our automation experts can build and customize this workflow for your specific needs. Free 15-minute consultation—no commitment required.

Lisa Granqvist

Workflow Automation Expert

Expert in workflow automation and no-code tools.

×

Use template

Get instant access to this n8n workflow Json file

💬
Get a free quote today!
Get a free quote today!

Tell us what you need and we'll get back to you within one working day.

Get a free quote today!
Get a free quote today!

Tell us what you need and we'll get back to you within one working day.

Launch login modal Launch register modal