Skip to main content

AI-powered review sentiment analysis to Salesforce & Google Sheets with Decodo

Workflow preview

Workflow preview
100%
AI-powered review sentiment analysis to Salesforce & Google Sheets with Decodo preview
Open on n8n.io

Important notice

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

1. Workflow Overview

What this workflow does This workflow scrapes customer reviews from Trustpilot , analyzes them with AI, and keeps both Salesforce and Google Sheets automatically updated with customer sentiment ins...

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.code, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.googlesheets, n8n-nodes-base.stickynote, @decodo/n8n-nodes-decodo.decodo, n8n-nodes-base.salesforce, @n8n/n8n-nodes-langchain.lmchatopenai

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
AI-powered review sentiment analysis to Salesforce & Google Sheets with Decodo
Workflow name
AI-powered review sentiment analysis to Salesforce & Google Sheets with Decodo

What this workflow does

This workflow scrapes customer reviews from Trustpilot, analyzes them with AI, and keeps both Salesforce and Google Sheets automatically updated with customer sentiment insights.

It uses Decodo to reliably extract review content from Trustpilot, processes the text with OpenAI, and orchestrates everything using n8n.

👉 Deocodo

How it works (high level)

  1. Reads Trustpilot review URLs and Salesforce Account IDs from Google Sheets
  2. Scrapes Trustpilot reviews using Decodo
  3. Uses AI to summarize sentiment, trends, and key positives/negatives
  4. Generates two outputs in parallel

Outputs generated

1. Salesforce Account update

The workflow updates an existing Salesforce Account by writing the AI-generated sentiment summary into a custom text field (e.g. recent_trend_summary__c).

This brings external customer feedback directly into Salesforce, allowing teams to work with real market perception inside the CRM.

2. Google Sheets analytics dataset

At the same time, structured review metrics are stored in Google Sheets:

  • Ratings and sentiment distribution
  • Top positive and negative keywords
  • Trend summaries over time

This creates a reusable dataset for dashboards and reporting.

How to configure it (general)

  • Google Sheets: add review URLs + Salesforce Account IDs

  • Decodo: add your API key to scrape Trustpilot reliably

  • OpenAI: add your API key for AI analysis

  • Salesforce:

    • Create a custom Text (255) field on Account
    • Connect Salesforce credentials in n8n
    • Only existing Accounts are updated

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 - Code in JavaScript

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

Block 3 - AI Agent

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

Block 4 - Code in JavaScript1

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

Block 5 - Get row(s) in sheet

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

Block 6 - Append row in sheet

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

Block 7 - Sticky Note

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

Block 8 - Sticky Note1

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

Block 9 - Sticky Note2

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

Block 10 - Sticky Note5

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

Block 11 - Decodo

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

Block 12 - Create or update an account

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

Block 13 - OpenAI Chat Model

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

Block 14 - Code in JavaScript2

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

Block 15 - If

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

Block 16 - Loop Over Items

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

Block 17 - Sticky Note3

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

Block 18 - Sticky Note4

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

3. Summary Table

Workflow AI-powered review sentiment analysis to Salesforce & Google Sheets with Decodo
Complexity advanced
Nodes 18
Categories Market Research, AI Summarization
Author Kevin Meneses
Published 04 Dec 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/11489/11489.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 AI-powered review sentiment analysis to Salesforce & Google Sheets with Decodo do?

What this workflow does This workflow scrapes customer reviews from Trustpilot , analyzes them with AI, and keeps both Salesforce and Google Sheets automatically updated with customer sentiment ins...

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.