Web Automation

Collect tweets and analyze sentiment with OpenAI

20 nodes 314 128 Automatic trigger
Download

Workflow Description

This automation retrieves tweets about your topic from X, analyzes emotional tone using OpenAI's language model, and organizes results in Google Sheets. It classifies sentiments as positive, negative, or neutral for actionable brand insights.

How it works

  1. 1.Manual or scheduled trigger to start the workflow
  2. 2.Search and retrieve relevant tweets from X
  3. 3.Extract text and metadata from each tweet
  4. 4.Send tweets to OpenAI for sentiment analysis
  5. 5.Classify results as positive, negative, or neutral
  6. 6.Store analyzed data with scores in Google Sheets

Use cases

  • Monitor brand reputation by tracking customer sentiment in real-time
  • Analyze customer feedback on new product launches
  • Identify market trends and consumer opinions from public conversations

Requirements

  • Active X account with valid API credentials
  • OpenAI project with API key configured
  • Google Sheets spreadsheet set up for data storage
  • Reliable internet connection

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 314
Downloads 128

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