Skip to main content

Analyze competitor content gaps with Gemini AI, Apify & Google Sheets

Workflow preview

Workflow preview
100%
Analyze competitor content gaps with Gemini AI, Apify & 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. Capture More Traffic: AI Mapped Topics & Keywords Stay ahead of competitors by uncovering their ...

Best for

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

Tools used

@n8n/n8n-nodes-langchain.agent, n8n-nodes-base.stickynote, n8n-nodes-base.code, @apify/n8n-nodes-apify.apify, n8n-nodes-base.httprequest, @n8n/n8n-nodes-langchain.lmchatgooglegemini, n8n-nodes-base.merge, n8n-nodes-base.googlesheets

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Analyze competitor content gaps with Gemini AI, Apify & Google Sheets
Workflow name
Analyze competitor content gaps with Gemini AI, Apify & Google Sheets

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

Capture More Traffic: AI-Mapped Topics & Keywords

Stay ahead of competitors by uncovering their content strategies automatically. This workflow crawls competitor websites, extracts structured topic hierarchies, entities, and depth scores, and delivers actionable insights directly into Google Sheets. No more manual browsing, just clean, analyzable data you can act on.

Benefits

  • Competitor mapping at scale Automatically map sites into hierarchical topics and entities.
  • Data-driven content strategy Identify gaps, weak spots, and opportunities to stand out.
  • Seamless integration Results flow straight into Google Sheets for filtering, charting, or export.
  • Time & resource savings Eliminate copy-paste research and focus on strategy.

Target audience

  • SEO specialists and digital marketers
  • Content strategists and copywriters
  • Agencies running content audits
  • SaaS startups monitoring competition
  • E-commerce teams benchmarking rivals

Required APIs

  • Google Sheets credentials (trigger & save)
  • Apify API token (crawler)
  • Gemini (Google Generative AI) key (content parsing)

Easy customization

  • Competitor domains: Update in the Google Sheets config.
  • Crawl depth & limits: Adjust max_pages_num and crawl_depth_num.
  • Output format: Modify the Code node to add or remove Google Sheets columns.
  • Delivery channels: Add Slack or Email nodes for instant audit reports.

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 - AI Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2.2

Block 2 - Sticky Note

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

Block 3 - Prepare Apify Input

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

Block 4 - Crawl Competitor Website

Type / Role
@apify/n8n-nodes-apify.apify - apify
Config choices
Version 1

Block 5 - Fetch Crawled Dataset

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

Block 6 - Extract Page Metadata

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

Block 7 - Analyze Page Content

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Block 8 - Parse and Normalize Gemini JSON

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

Block 9 - Derive Sheet Name

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

Block 10 - Merge

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 11 - Save Data Of The request

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

Block 12 - Check if the data exist

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

Block 13 - Has content to email

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

Block 14 - Save the data collected

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

Block 15 - Create sheet for the data

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

Block 16 - Send report

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 17 - Sticky Note2

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

Block 18 - Sticky Note3

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

Block 19 - Sticky Note4

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

Block 20 - Sticky Note5

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

Block 21 - Sticky Note1

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

Block 22 - Sticky Note6

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

Block 23 - Sticky Note7

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

Block 24 - Sticky Note8

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

Showing the first 24 of 30 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Analyze competitor content gaps with Gemini AI, Apify & Google Sheets
Complexity advanced
Nodes 30
Categories Market Research, AI RAG
Author Mychel Garzon
Published 10 Sept 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/8446/8446.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 Analyze competitor content gaps with Gemini AI, Apify & Google Sheets do?

This workflow contains community nodes that are only compatible with the self hosted version of n8n. Capture More Traffic: AI Mapped Topics & Keywords Stay ahead of competitors by uncovering their ...

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