🔓 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

YouTube to Google Sheets, trend research logged clean

Lisa Granqvist Partner Workflow Automation Expert

You open YouTube to “quickly check what’s trending,” then you’re 40 minutes deep with 12 tabs open and nowhere to put the useful findings. Copy-pasting titles, links, and tags into a spreadsheet feels small. It isn’t. It’s the kind of recurring busywork that quietly wrecks consistency.

Content strategists feel this first. But marketing managers planning campaigns and solo founders trying to stay relevant run into the same wall. This YouTube trends automation gives you a clean Google Sheet log by country and language, so your research becomes something you can actually reuse.

You’ll see how the workflow captures your inputs, pulls real-time trending video data through an API, reshapes it, and appends it into a structured spreadsheet you can share with your team.

How This Automation Works

See how this solves the problem:

n8n Workflow Template: YouTube to Google Sheets, trend research logged clean

The Challenge: Trend Research That Never Stays Organized

Trend research is supposed to be quick. In practice, it turns into a messy routine: you check what’s trending in one country, then you try another market, then you realize you didn’t track what you saw last week. So you start over. The manual steps are the worst part because they don’t feel “important,” yet they still steal about 2 hours a week once you add them up. And the moment your research isn’t logged in one place, planning gets fuzzy, decisions get slower, and “we should post something about this” never becomes an actual post.

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

  • You end up saving trends in random places (tabs, notes, Slack messages), which means nothing is searchable later.
  • Copy-pasting video titles and links into a sheet is easy to mess up, especially when you’re grabbing 20 results at a time.
  • Country and language context gets lost, so your “trend list” becomes a pile of untagged ideas.
  • When someone asks “what did we see last month?”, you can’t answer without redoing the research.

The Fix: Capture YouTube Trends and Auto-Log Them in Sheets

This workflow turns trend checking into a repeatable input-and-log process. You start with a simple form where you choose the country and language you want to research. n8n takes that input and sends it to the YouTube Trend Finder API (via an HTTP request), which returns a list of trending videos for that exact region. Next, the workflow reshapes the response so it’s spreadsheet-friendly (think title, link, tags, and any other fields you choose to keep). Finally, it appends the cleaned rows into Google Sheets, creating a running “trend ledger” that stays consistent over time. No more rebuilding your research history from memory. Honestly, this is what makes trend work usable.

The workflow begins when you submit the form. Then it pulls live trending data and reformats it into clean columns. Google Sheets becomes the final destination, so your team has one place to reference, filter, and plan from.

What Changes: Before vs. After

Real-World Impact

Say you track trends for 5 countries each week and you like to capture the top 20 videos per country. Manually, grabbing titles, URLs, and a few tags is maybe 10 minutes per country, plus time cleaning the sheet, so you’re around an hour weekly. With this workflow, submitting 5 form entries takes about 5 minutes total, then n8n fetches and logs everything automatically. You keep the same insight, but the “admin” part mostly disappears.

Requirements

  • n8n instance (try n8n Cloud free)
  • Self-hosting option if you prefer (Hostinger works well)
  • Google Sheets for the shared research log.
  • YouTube Trend Finder API (RapidAPI) to fetch trending videos by region.
  • RapidAPI key (get it from your RapidAPI dashboard)

Skill level: Beginner. You will connect accounts, paste an API key, and pick a target spreadsheet.

Need help implementing this? Talk to an automation expert (free 15-minute consultation).

The Workflow Flow

Form submission kicks things off. You enter the country and language you want to check (for example, US + English, or DE + German). This keeps the workflow simple for anyone on your team.

The workflow fetches trends through an API call. n8n sends your inputs to the YouTube Trend Finder endpoint using an HTTP request and receives a list of trending videos in return.

The response is cleaned and reshaped. A code step extracts only what you actually need, like titles, links, and tags, so your spreadsheet doesn’t become a dump of raw JSON.

Google Sheets is updated automatically. Each run appends new rows to your chosen sheet, which means your research history grows over time and stays shareable.

You can easily modify the captured fields (for example, add channel name or publish date) to match your planning process. See the full implementation guide below for customization options.

Step-by-Step Implementation Guide

Step 1: Configure the Form Trigger

Set up the form that collects country and language inputs to start the workflow.

  1. Add and open Form Intake Trigger.
  2. Set Form Title to YouTube Trend Finder.
  3. Set Form Description to YouTube Trend Finder.
  4. In Form Fields, add required fields labeled country and language.

Step 2: Connect the Trend Analysis API Call

Send the form inputs to the external trend API using a POST request.

  1. Add and open Trend Analysis API Call.
  2. Set URL to https://youtube-trend-finder.p.rapidapi.com/trend.php and Method to POST.
  3. Enable Send Body and set Content Type to multipart-form-data.
  4. Add body parameters: country = {{ $json.country }} and language = {{ $json.language }}.
  5. Enable Send Headers and add x-rapidapi-host = youtube-trend-finder.p.rapidapi.com and x-rapidapi-key = [CONFIGURE_YOUR_API_KEY].

⚠️ Common Pitfall: The API key is a placeholder. Replace [CONFIGURE_YOUR_API_KEY] with your actual RapidAPI key or the request will fail.

Step 3: Set Up Data Reshaping

Transform the API response into a list of trend items that can be appended to Google Sheets.

  1. Add and open Reshape Response Data.
  2. Set JavaScript Code to return $input.first().json.data.
  3. Confirm the execution flow connects Trend Analysis API CallReshape Response Data.

Step 4: Configure Google Sheets Output

Append each trend item into your spreadsheet.

  1. Add and open Append to Spreadsheet.
  2. Credential Required: Connect your googleApi credentials.
  3. Set Authentication to serviceAccount and Operation to append.
  4. Set Document to the file with ID [YOUR_ID] and Sheet to Sheet1 (gid=0).
  5. Ensure columns map to thumbnail, title, link, and tags using Auto Map Input Data.
  6. Confirm the execution flow connects Reshape Response DataAppend to Spreadsheet.

Tip: Make sure your sheet has headers that match thumbnail, title, link, and tags so auto-mapping works correctly.

Step 5: Test and Activate Your Workflow

Run a manual test to validate the end-to-end flow, then activate for production use.

  1. Click Test workflow and submit the form in Form Intake Trigger with a valid country and language.
  2. Verify Trend Analysis API Call returns a response and Reshape Response Data outputs a list of trend items.
  3. Confirm new rows appear in the Google Sheet configured in Append to Spreadsheet.
  4. Click Activate to run the workflow continuously for new form submissions.
🔒

Unlock Full Step-by-Step Guide

Get the complete implementation guide + downloadable template

Watch Out For

  • RapidAPI credentials can expire or get blocked by plan limits. If things break, check your RapidAPI dashboard usage and the API key permissions first.
  • If you’re using Wait nodes or external rendering, 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.

Common Questions

How quickly can I implement this YouTube trends automation automation?

About 30 minutes if your Google Sheet and RapidAPI key are ready.

Can non-technical teams implement this trend logging?

Yes. You’ll mainly connect Google Sheets and paste an API key into n8n.

Is n8n free to use for this YouTube trends 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 RapidAPI costs for the YouTube Trend Finder API (usually a small monthly plan once you scale).

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.

How do I adapt this YouTube trends automation solution to my specific challenges?

You can extend the “Reshape Response Data” step to keep more fields (like channel name, publish date, or view count) and map them into new Google Sheets columns. If you want different markets, add more form fields for category or max results, then pass them into the HTTP request. Some teams also add an optional “notes” field in the form so the row includes why the trend matters.

Why is my RapidAPI connection failing in this workflow?

Usually it’s an expired or rotated API key, or you’ve hit your RapidAPI usage limit for the month. Open the HTTP request node, confirm the key/header is still correct, then check your RapidAPI dashboard for quota and subscription status. Also confirm the endpoint expects the same country/language format you’re submitting in the form.

What’s the capacity of this YouTube trends automation solution?

On n8n Cloud, capacity depends on your plan’s monthly executions, and self-hosting removes execution limits (your server becomes the bottleneck). In practice, this workflow is lightweight; it’s usually the API quota on RapidAPI that sets the real ceiling.

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

Often, yes, because this workflow leans on an HTTP request plus data reshaping, and n8n handles that kind of “API + cleanup + append” pattern cleanly. You also get a self-hosting option, which matters when you run trend checks a lot. Zapier or Make can still do it, but you may spend more time fiddling with formatting and paid tiers for premium steps. If you’re unsure, Talk to an automation expert and we’ll help you pick the simplest setup for your volume and team.

Once this is running, trend research stops being a recurring chore and starts behaving like an asset. The workflow handles the logging. You decide what to do with the ideas.

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