Skip to main content

Automate daily keyword research with Google Sheets, Suggest API & Custom Search

Workflow preview

Workflow preview
100%
Automate daily keyword research with Google Sheets, Suggest API & Custom Search preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Who's it for This workflow is perfect for SEO specialists, marketers, bloggers, and content creators who want to automate keyword research using Google Sheets, Google Suggest, and Google Custom Sea...

Best for

  • Market Research automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.googlesheets, n8n-nodes-base.code, n8n-nodes-base.set, n8n-nodes-base.httprequest, n8n-nodes-base.function, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Fahmi Oktafian.

Original n8n.io source

1.1 Workflow description

Title
Automate daily keyword research with Google Sheets, Suggest API & Custom Search
Workflow name
Automate daily keyword research with Google Sheets, Suggest API & Custom Search

Who's it for

This workflow is perfect for SEO specialists, marketers, bloggers, and content creators who want to automate keyword research using Google Sheets, Google Suggest, and Google Custom Search. Ideal for those building content pipelines, researching trends, or powering AI content generation with fresh search data.

What it does

This workflow automates the process of discovering a new keyword daily. It:

  • Rotates through a keyword list in Google Sheets

  • Selects one keyword per day

  • Fetches autocomplete suggestions from Google Suggest

  • Queries the Google Custom Search API for top results

  • Returns structured JSON containing titles, links, and snippets

How it works

  1. Manual Trigger – Initiates workflow manually

  2. Google Sheets – Reads keywords from a sheet (column: Title or Keyword)

  3. Code Node – Selects a daily keyword based on the number of days since July 4, 2025

  4. Set Node – Saves the selected keyword as seed_keyword

  5. HTTP Request – Fetches autocomplete suggestions from Google Suggest API

  6. Function Node – Parses suggestions into usable items

  7. HTTP Request – Calls Google Custom Search API for each suggestion

  8. Code Node – Formats the search results into JSON

How to set up

  • Connect your Google Sheets OAuth2 credentials in n8n

  • Use credential variables for Google Custom Search (⚠️ do not hardcode your key and cx)

  • Replace the sample sheet ID with your own

  • Run the workflow manually or schedule it daily

Requirements

  • Google account

  • Enabled Custom Search JSON API on Google Cloud

  • Google Sheet with a column labeled Title or Keyword

  • n8n instance (cloud or self-hosted)

How to customize

  • Change the start date to control the keyword rotation cycle

  • Randomize keyword selection instead of rotating

  • Enrich results using tools like Ahrefs or SEMrush

  • Push final output to Telegram, Notion, Slack, or Airtable

  • Add filtering logic based on CPC, volume, or duplicates

Example Sheet

📄 Click Here to access the example Google Sheet

Sheet must contain a column Title or Keyword in the first row:

Title

  • teknologi AI

  • berita viral

  • tren startup

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Manual Trigger

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 2 - Fetch Keyword List (Google Sheets)

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 3 - Select Keyword of the Day

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 4 - Set Selected Keyword

Type / Role
n8n-nodes-base.set - set
Config choices
Version 2

Block 5 - Fetch Autocomplete Suggestions (Google Suggest API)

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 2

Block 6 - Extract Suggestion Keywords

Type / Role
n8n-nodes-base.function - function
Config choices
Version 1

Block 7 - Search Keywords (Google Custom Search API)

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 8 - Format Search Results

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 9 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Automate daily keyword research with Google Sheets, Suggest API & Custom Search
Complexity intermediate
Nodes 9
Categories Market Research
Author Fahmi Oktafian
Published 05 Jul 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/5699/5699.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Automate daily keyword research with Google Sheets, Suggest API & Custom Search do?

Who's it for This workflow is perfect for SEO specialists, marketers, bloggers, and content creators who want to automate keyword research using Google Sheets, Google Suggest, and Google Custom Sea...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Market Research use case.