Skip to main content

Monitor Google Maps reviews with sentiment analysis & RAG agent using Pinecone

Workflow preview

Workflow preview
100%
Monitor Google Maps reviews with sentiment analysis & RAG agent using Pinecone preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Analyze and Sync Google Maps Reviews to Pinecone Note: This template requires an Apify account, an OpenAI account, and a Pinecone database. Overview This workflow automates your reputation man...

Best for

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

Tools used

n8n-nodes-base.set, n8n-nodes-base.stickynote, n8n-nodes-base.scheduletrigger, n8n-nodes-base.wait, n8n-nodes-base.telegram, n8n-nodes-base.telegramtrigger, @n8n/n8n-nodes-langchain.embeddingsopenai, @n8n/n8n-nodes-langchain.vectorstorepinecone

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Monitor Google Maps reviews with sentiment analysis & RAG agent using Pinecone
Workflow name
Monitor Google Maps reviews with sentiment analysis & RAG agent using Pinecone

Analyze and Sync Google Maps Reviews to Pinecone

> Note: This template requires an Apify account, an OpenAI account, and a Pinecone database.

Overview

This workflow automates your reputation management by scraping Google Maps reviews, analyzing their sentiment using AI, and storing them in a Vector Database (Pinecone). It also includes a RAG (Retrieval-Augmented Generation) agent that allows you to chat with your review data via Telegram to ask specific questions about customer feedback.

How it works

  • Scrape: At a scheduled time (or manually), the workflow triggers an Apify actor to scrape the latest reviews from a specific Google Maps URL.
  • Analyze: It uses GPT-4o to analyze the sentiment of the reviews and generates a summary of complaints and praises.
  • Notify: A Telegram message is sent with the sentiment score and a summary of the latest reviews.
  • Store: The review data is embedded and upserted into a Pinecone Vector Store.
  • Chat (RAG): You can send messages to a Telegram bot to query the database (e.g., "What are people saying about our coffee?"). The AI retrieves relevant reviews from Pinecone to answer your question.
  • Cleanup: A weekly schedule cleans up the namespace to ensure data freshness (optional).

How to set up

  1. Apify: Create an account and subscribe to the Google Maps Reviews Scraper actor. Set up your Apify credentials in n8n.
  2. OpenAI: Set up your OpenAI credentials in n8n.
  3. Pinecone: Create an Index in Pinecone. Set up your Pinecone credentials in n8n.
  4. Telegram: Create a new bot via BotFather to get your Token and Chat ID. Set up your Telegram credentials in n8n.

Configure the Workflow

  1. Open the ⚠️ CONFIGURATION nodes.
  2. Paste your telegram_chat_id.
  3. Paste the Maps_url of the business you want to monitor.
  4. Define your pinecone_namespace.

HTTP Node Configuration

In the "Empty Namespace" node, update the URL to match your Pinecone Index Host and add your Pinecone API Key in the header or use credentials.

🙋 Support

If you encounter any issues during setup or have questions about customization, please reach out to our dedicated support email: [email protected]

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 - Format Data (Reviews)

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

Block 2 - Sticky Note

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

Block 3 - Trigger at midnight

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

Block 4 - Wait 5s

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

Block 5 - ⚠️ CONFIGURATION2

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

Block 6 - ⚠️ CONFIGURATION1

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

Block 7 - Send a text message

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 8 - Telegram Trigger

Type / Role
n8n-nodes-base.telegramTrigger - telegramTrigger
Config choices
Version 1.2

Block 9 - Sticky Note6

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

Block 10 - Embeddings OpenAI1

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

Block 11 - Pinecone Search Tool

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

Block 12 - OpenAI Chat Model

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

Block 13 - AI Data Analyst

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

Block 14 - Confirmation text

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 15 - Sticky Note5

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

Block 16 - Empty Namespace (Keep DB)

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

Block 17 - Every Sunday at 11pm

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

Block 18 - Sticky Note1

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 Note3

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

Block 21 - Sticky Note2

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

Block 22 - Sticky Note7

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

Block 23 - Default Data Loader

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

Block 24 - Send Alert

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

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

3. Summary Table

Workflow Monitor Google Maps reviews with sentiment analysis & RAG agent using Pinecone
Complexity advanced
Nodes 38
Categories Market Research, AI RAG
Author Gtaras
Published 01 Dec 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/11381/11381.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 Google Maps reviews with sentiment analysis & RAG agent using Pinecone do?

Analyze and Sync Google Maps Reviews to Pinecone Note: This template requires an Apify account, an OpenAI account, and a Pinecone database. Overview This workflow automates your reputation man...

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.