GenAiHub

Last checked 24 November 2026 — responded normally.

Log weekly Google Trends for keyword lists with Apify and Google Sheets

Quick overview

Live
Open / InstallLast updated November 24, 2026

Description

Quick overview This workflow runs every Monday and reads a keyword list from Google Sheets, fetches Google Trends interest-over-time data for the list via Apify, then writes one weekly summary row per keyword (latest complete week and average) back to a Trends sheet. How it works Runs on a schedule every Monday at 07:07 in the workflow time zone. Reads keywords from the keyword column in the Keywords tab of Google Sheets, trimming, deduplicating, and stopping if the list is empty. Sends the keyword list, country (geo), and time range to the Apify Google Trends actor to fetch interest-over-time results in a single run. Excludes partial (currently running) days/weeks and calculates, per keyword, the latest complete Sunday–Saturday week value and the average over the selected time range. Appends or updates one row per keyword in the Trends tab of Google Sheets, matching on a key made from keyword|week_start (or keyword|no data) so re-runs update the same week. Setup Install the Apify community node (@apify/n8n-nodes-apify) and add an Apify API token credential. Add a Google Sheets OAuth2 credential and select it for both Google Sheets nodes. Create a Google Sheets spreadsheet with a Keywords tab (header keyword) and a Trends tab with columns key, keyword, week_start, week, latest_value, average, status, run_date. Update spreadsheetId in the workflow Settings and adjust geo, timeRange, and tab names as needed. Requirements An n8n instance with the verified community node Apify (@apify/n8n-nodes-apify), tested with version 0.9.0 An Apify account and API token. The Google Trends Actor costs $0.015 per keyword that returns data, and keywords with no data cost nothing. 20 keywords a week cost about $0.30 A Google account with Google Sheets Customization Change geo in Settings to another country (GB, DE, US-CA), or leave it empty for worldwide Set timeRange from today 1-m to today 5-y. Up to about 9 months Google returns daily values, and the week's value is their mean Change the day and time in the schedule trigger Additional info The Google Trends Actor usedThe Google Trends Actor used here is made by the author of this template (Tallydata). Limitations: each keyword has its own 0–100 scale, so compare a keyword with itself over time, not with other keywords. Around 150 keywords take 5 minutes in one run. If the Apify run fails, the workflow stops before writing anything. Hourly ranges (now 1-d, now 7-d) and all (monthly values) are not supported. here is made by the author of this template (Tallydata). An n8n automation workflow template by Mohamed Elshahed.

Community Metrics

Views
0
Avg Rating
N/A
Ratings
0
Likes
0
Comments
—

Author

Mohamed Elshahed

Platform

web

Pricing model

free

Categories

  • Automation

Tags

  • n8n
  • workflow
  • google-sheets
  • code

Capabilities

  • 2 nodes

Information

TypeWorkflow
Sourcen8n
AddedNovember 17, 2026

Comments

?

Others in the same category, ranked by how often they are opened.