Templates / Generate a Google Ads keyword plan from seed keywords with Keyword Planner and OpenAI

Generate a Google Ads keyword plan from seed keywords with Keyword Planner and OpenAI

Ready for 3.0

by Zeljislav Petrovic · 180 views · created 2026-04-22 · Market Research, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 11 nodes and runs when someone submits an n8n form (“Google Ads Keyword Research Tool”). Along the way it connects OpenAI Chat Model and Google Sheets. It also calls googleads.googleapis.com over HTTP.

How it runs

Trigger: When someone submits an n8n form (“Google Ads Keyword Research Tool”).

  1. Parse & normalize user inputs (Code): runs custom JavaScript code
  2. Get keyword ideas from Google Keyword Planner (HTTP Request): calls googleads.googleapis.com (POST)
  3. Structure & format output for AI (Code): runs custom JavaScript code
  4. Analyze & enrich keywords with AI (Basic LLM Chain): sends a prompt to an LLM, with model: GPT 5.4-mini
  5. Create spreadsheet for saving keyword plan & keyword ideas (Google Sheets): work with spreadsheet
  6. Parse AI output for Google Sheet (Code): runs custom JavaScript code
  7. Save keyword plan to Google Sheet (Google Sheets): append
  8. Parse Google Keyword Planner output for Google Sheet (Code): runs custom JavaScript code
  9. Save all keyword ideas to Google Sheet (Google Sheets): append

Services it uses

OpenAI Chat ModelGoogle Sheets

HTTP calls to: googleads.googleapis.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (6)

From the author

Who is this template for? This workflow is built for digital marketers, SEO/PPC specialists, and business owners who run or plan Google Ads campaigns and need a fast, structured way to discover and evaluate keywords. Instead of manually exporting data from…

Excerpt from Zeljislav Petrovic's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.