Web Automation

Collect tweets and analyze sentiment with OpenAI

20 nodes 357 155 Automatic trigger
Download

Workflow Description

Automation that retrieves tweets from X platform, analyzes the emotional tone of each tweet using advanced OpenAI models, and automatically records results in a Google Sheets spreadsheet for review and further analysis.

How it works

  1. 1.Trigger search for tweets related to a specific brand name or topic
  2. 2.Extract text content and metadata from each tweet
  3. 3.Send tweet to OpenAI for sentiment analysis and classification
  4. 4.Record analysis results (positive/negative/neutral) in the spreadsheet

Use cases

  • Monitor brand reputation on X and automatically understand customer opinions
  • Identify negative sentiment quickly to respond and take action immediately
  • Gather sentiment data to generate comprehensive reports on follower sentiment
  • Study discussion trends around company products or services

Requirements

  • Active X account with valid API credentials available
  • Google account with edit permissions on a shared Sheets document
  • OpenAI API key with sufficient credits for repeated requests

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 357
Downloads 155

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