Skip to main content

Automate Google Ads search term analysis with Gemini AI and send to Slack

Workflow preview

Workflow preview
100%
Automate Google Ads search term analysis with Gemini AI and send to Slack preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Automate Google Ads Search Term Analysis and Send Insights to Slack Stop manually digging through endless Google Ads search term reports! This workflow puts your brand campaign analysis on autop...

Best for

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

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.slack, @n8n/n8n-nodes-langchain.chainllm, @n8n/n8n-nodes-langchain.lmchatgooglegemini, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-base.googleads, n8n-nodes-base.filter, 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 JJ Tham.

Original n8n.io source

1.1 Workflow description

Title
Automate Google Ads search term analysis with Gemini AI and send to Slack
Workflow name
Automate Google Ads search term analysis with Gemini AI and send to Slack

Automate Google Ads Search Term Analysis and Send Insights to Slack

Stop manually digging through endless Google Ads search term reports! 📊 This workflow puts your brand campaign analysis on autopilot, acting as an AI-powered performance marketer that works for you 24/7.

This template fetches your recent search term data, uses AI to identify wasted ad spend and new keyword opportunities, and delivers a concise, actionable report directly to your Slack channel—complete with buttons to approve the changes.

⚙️ How it works

This workflow connects to your Google Ads account to pull search term data from your brand campaigns. It then feeds this data to Google Gemini with a specific prompt to:

  • Identify Non-Brand Keywords: Isolate all search terms that are not related to your brand.
  • Calculate Wasted Spend: Find terms with zero conversions and sum up the total cost.
  • Flag Opportunities: Highlight non-brand terms that are converting for manual review.
  • Send to Slack: Format the findings into a beautiful, easy-to-read Slack message with interactive buttons to approve adding the wasteful terms as negative keywords.

👥 Who’s it for?

  • PPC & SEM Managers: Save hours each week by automating the search query mining process.
  • Performance Marketers: Instantly spot and plug budget leaks in your brand campaigns.
  • Digital Marketing Agencies: Provide proactive, data-driven insights to clients with zero manual effort.

🛠️ How to set up

This is an advanced workflow that requires several connection points.

Setup involves connecting your Google Ads account, providing your Manager and Client IDs, specifying which campaign and brand terms to analyze, configuring the direct API call with your developer token, and finally connecting your Slack workspace.

👉 For a detailed, step-by-step guide, please refer to the yellow sticky note inside the workflow.

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 ‘Test workflow’

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

Block 2 - Send a message

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.3

Block 3 - Search Terms Checker

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.7

Block 4 - Google Gemini Chat Model1

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

Block 5 - Structured Output Parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.3

Block 6 - Getting Google Campaigns

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

Block 7 - Filtering Only for 'Enabled' Campaigns

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

Block 8 - Filtering For A Specific Search Google Campaign

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

Block 9 - Extracting Search Terms In The Past 14 Days

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

Block 10 - Split Out HTTP Request Into Individual Items

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

Block 11 - Consolidating Search Terms Data (Removing Dates)

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

Block 12 - Removing Brand Terms + EXCLUDED Terms

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

Block 13 - Aggregating Performance Metrics

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

Block 14 - Aggregating Items To Prepare For LLM To Analyze

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

Block 15 - Transforming It It To Be Ready For Slack Block

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

Block 16 - Sticky Note

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

Block 17 - Sticky Note1

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

Block 18 - Sticky Note2

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

Block 19 - Sticky Note3

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

Block 20 - Brand Info Node

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

Block 21 - Sticky Note4

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

3. Summary Table

Workflow Automate Google Ads search term analysis with Gemini AI and send to Slack
Complexity advanced
Nodes 21
Categories Market Research, AI Summarization
Author JJ Tham
Published 11 Nov 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/10718/10718.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 Google Ads search term analysis with Gemini AI and send to Slack do?

Automate Google Ads Search Term Analysis and Send Insights to Slack Stop manually digging through endless Google Ads search term reports! This workflow puts your brand campaign analysis on autop...

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 Summarization use case.