Generate a Google Ads keyword plan from seed keywords with Keyword Planner and OpenAI
Ready for 3.0What 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”).
- Parse & normalize user inputs (Code): runs custom JavaScript code
- Get keyword ideas from Google Keyword Planner (HTTP Request): calls googleads.googleapis.com (POST)
- Structure & format output for AI (Code): runs custom JavaScript code
- Analyze & enrich keywords with AI (Basic LLM Chain): sends a prompt to an LLM, with model: GPT 5.4-mini
- Create spreadsheet for saving keyword plan & keyword ideas (Google Sheets): work with spreadsheet
- Parse AI output for Google Sheet (Code): runs custom JavaScript code
- Save keyword plan to Google Sheet (Google Sheets): append
- Parse Google Keyword Planner output for Google Sheet (Code): runs custom JavaScript code
- Save all keyword ideas to Google Sheet (Google Sheets): append
Services it uses
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)
- Code
n8n-nodes-base.code - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - HTTP Request
n8n-nodes-base.httpRequest - Google Sheets
n8n-nodes-base.googleSheets - n8n Form Trigger
n8n-nodes-base.formTrigger
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…