Skip to main content

Monitor and classify brand mentions from Instagram and Google with Gemini

Workflow preview

Workflow preview
100%
Monitor and classify brand mentions from Instagram and Google with Gemini preview
Open on n8n.io

1. Workflow Overview

Quick overview This workflow runs daily to find new brand mentions from Instagram hashtags and Google Search via Apify, deduplicates them in an n8n Data Table, classifies each mention with Google G...

Best for

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

Tools used

n8n-nodes-base.scheduletrigger, n8n-nodes-base.set, @apify/n8n-nodes-apify.apify, n8n-nodes-base.merge, n8n-nodes-base.code, n8n-nodes-base.datatable, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.outputparserstructured

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Monitor and classify brand mentions from Instagram and Google with Gemini
Workflow name
Monitor and classify brand mentions from Instagram and Google with Gemini

Quick overview

This workflow runs daily to find new brand mentions from Instagram hashtags and Google Search via Apify, deduplicates them in an n8n Data Table, classifies each mention with Google Gemini for sentiment and urgency, and sends high-urgency alerts to a Slack channel.

How it works

  1. Runs every day at 9am UTC on a schedule.
  2. Pulls recent Instagram hashtag posts using Apify’s Instagram Hashtag Scraper and normalizes each post into a standard mention format.
  3. Runs Apify’s Google Search Scraper for the configured query, splits organic results into individual mentions, and normalizes the fields.
  4. Merges Instagram and Google mentions into a single stream and filters out mentions already logged in an n8n Data Table based on a unique mention ID.
  5. Stores each new mention’s ID in the Data Table and sends the mention text to Google Gemini to classify sentiment, urgency, relevance score, summary, and topic.
  6. Keeps only mentions with relevance scores of 6 or higher and posts a Slack alert when urgency is medium or high.

Setup

  1. Add credentials for Apify (OAuth2), Google Gemini (PaLM/Gemini API), and Slack (OAuth2).
  2. Create or select an n8n Data Table (for example, “Brand monitoring DB”) with a string column named mention_id, and point both Data Table steps to that same table.
  3. Update the Brand Config values for instagramHashtags (array of hashtags) and googleQueries (your search query string).
  4. Choose the target Slack channel in the Slack alert step and adjust the relevance (>= 6) and urgency (medium/high) thresholds if needed.

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 - Daily at 9am UTC

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.3

Block 2 - Brand Config

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

Block 3 - Scrape Instagram

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

Block 4 - Normalize Instagram

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

Block 5 - Merge mentions

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

Block 6 - Scrape Google

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

Block 7 - Split & Normalize Google

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

Block 8 - Filter to New Mentions

Type / Role
n8n-nodes-base.dataTable - dataTable
Config choices
Version 1.1

Block 9 - Classify Mention

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

Block 10 - Mention Schema

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

Block 11 - Relevance >= 6?

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

Block 12 - High Urgency?

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

Block 13 - Slack high-urgency alert

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

Block 14 - Insert row

Type / Role
n8n-nodes-base.dataTable - dataTable
Config choices
Version 1.1

Block 15 - Google Gemini Chat Model

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

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 - Sticky Note4

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

Block 21 - Sticky Note5

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

3. Summary Table

Workflow Monitor and classify brand mentions from Instagram and Google with Gemini
Complexity advanced
Nodes 24
Categories Market Research, AI Summarization
Author Apify
Published 04 Jun 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/16120/16120.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 Monitor and classify brand mentions from Instagram and Google with Gemini do?

Quick overview This workflow runs daily to find new brand mentions from Instagram hashtags and Google Search via Apify, deduplicates them in an n8n Data Table, classifies each mention with Google G...

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.