Web Automation

Collect tweets and analyze sentiment with OpenAI

20 nodes 139 81 Automatic trigger
Download

Workflow Description

This automation retrieves tweets from X platform, analyzes their sentiment using OpenAI's language model, and logs results to Google Sheets for continuous brand monitoring. Track customer opinions and emotional responses in real time with minimal manual effort.

How it works

  1. 1.Trigger manually or when new tweets arrive
  2. 2.Extract tweets mentioning your brand from X
  3. 3.Send each tweet to OpenAI for sentiment analysis
  4. 4.Record sentiment classification (positive/negative/neutral) in Google Sheets
  5. 5.Manage volume and control processing limits

Use cases

  • Monitor brand reputation and public perception on social media
  • Automatically collect and analyze customer reviews and satisfaction
  • Track sentiment trends for quarterly reports and strategic insights

Requirements

  • Active X account with API access permissions
  • Valid OpenAI API key with sufficient quota
  • Editor permissions on target Google Sheets document

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

Twitter/X Google Sheets Sentiment Analysis OpenAI

Details

Trigger Automatic trigger
Nodes 20
Apps 4
Views 139
Downloads 81

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (20)

/

Split Out

Split Out

#1

Information Extractor

Information Extractor

#2

If

If

#3

When clicking ‘Test workflow’

Manual Trigger

#4

Limit1

Limit

#5

Sticky Note

Sticky Note

#6

Sticky Note1

Sticky Note

#7

Sticky Note2

Sticky Note

#8

Sticky Note3

Sticky Note

#9

Set Parameters

Set

#10

Get reviews

HTTP Request

#11

Extract

HTML Page

#12

Get rows

Google Sheets

#13

Get Google Sheets

Google Sheets

#14

Get Single review

HTTP Request

#15

Extract review

HTML Page

#16

Update sheet

Google Sheets

#17

Sentiment Analysis

Sentiment Analysis

#18

DeepSeek Chat Model

OpenAI

#19

OpenAI Chat Model

OpenAI

#20