Skip to main content

Audience problem keyword research workflow with OpenAI, Ahrefs and Google Sheets

Workflow preview

Workflow preview
100%
Audience problem keyword research workflow with OpenAI, Ahrefs and Google Sheets preview
Open on n8n.io

Important notice

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

1. Workflow Overview

This workflow contains community nodes that are only compatible with the self hosted version of n8n. Generates relevant keywords and questions from a a customer profile. Keyword data is enriched fr...

Best for

  • Market Research automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.set, @n8n/n8n-nodes-langchain.openai, n8n-nodes-base.googlesheets, n8n-nodes-base.code, n8n-nodes-base.splitinbatches, n8n-nodes-mcp.mcpclient, n8n-nodes-base.if

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Audience problem keyword research workflow with OpenAI, Ahrefs and Google Sheets
Workflow name
Audience problem keyword research workflow with OpenAI, Ahrefs and Google Sheets

This workflow contains community nodes that are only compatible with the self-hosted version of n8n.

Generates relevant keywords and questions from a a customer profile. Keyword data is enriched from ahref and everything is stored in a Google Sheet. This is great for market and customer research. Understanding search intent for a well defined audience and gives relevant actionable data in a fraction of time that manual research takes.

How it works

  • We'll define a customer profile in the 'Data' node
  • We use an OpenAI LLM to fetch relevant search intent as keywords and questions
  • We use an SEO MCP server to fetch keyword data from ahref free tooling
  • The fetched data is stored in the Google sheet

Set up steps

  • Copy Google Sheet template and add it in all Google Sheet nodes
  • Make sure that n8n has read & write permissions for your Google sheet.
  • Add your list of domains in the first column in the Google sheet
  • Add MCP credentials for seo-mcp
  • Add OpenAI API credentials

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 - When clicking ‘Execute workflow’

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

Block 2 - Data

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

Block 3 - SEO Seed Keywords

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.8

Block 4 - AEO Questions

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.8

Block 5 - Add keyword

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

Block 6 - Add keywords

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

Block 7 - Parse MCP Keywords JSON

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

Block 8 - Loop Over AI Keywords

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 9 - Related Keyword Generator

Type / Role
n8n-nodes-mcp.mcpClient - mcpClient
Config choices
Version 1

Block 10 - Loop Over SEO Return Values

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 11 - If

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 12 - Parse Keyword JSON

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

Block 13 - Parse Question JSON

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

Block 14 - Loop Over AI Questions

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 15 - Add AI question

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

Block 16 - Add SEO research question

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

Block 17 - Sticky Note7

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

3. Summary Table

Workflow Audience problem keyword research workflow with OpenAI, Ahrefs and Google Sheets
Complexity advanced
Nodes 17
Categories Market Research, Multimodal AI
Author Michael Muenzer
Published 07 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/7147/7147.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 Audience problem keyword research workflow with OpenAI, Ahrefs and Google Sheets do?

This workflow contains community nodes that are only compatible with the self hosted version of n8n. Generates relevant keywords and questions from a a customer profile. Keyword data is enriched fr...

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, Multimodal AI use case.