Templates / Automate Twitter sentiment analysis with OpenAI, Google Sheets, and Slack alerts

Automate Twitter sentiment analysis with OpenAI, Google Sheets, and Slack alerts

Ready for 3.0

by InfyOm Technologies ✓ · 471 views · created 2025-07-18 · Market Research, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 14 nodes and runs on a schedule (every 6 hours). Along the way it connects OpenAI, Google Sheets, Slack and OpenAI Chat Model. It also calls api.apify.com over HTTP.

How it runs

Trigger: On a schedule (every 6 hours).

  1. Request for Twitter Post via Apify (HTTP Request): calls api.apify.com (POST)
  2. Get Requested Post from Apify (HTTP Request): calls api.apify.com
  3. Set Field for Loop (Edit Fields (Set)): sets 3 fields: id, tweet_url, tweet_text
  4. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  5. Get Post Data (Google Sheets): uses Google Sheets
  6. If: checks a condition and branches into true / false
  7. Sentiment Analyst (AI Agent): runs an AI agent, with model: OpenAI Chat Model; output parser: Structured Output Parser
  8. Switch: routes items into 3 branches
  9. OpenAI: uses OpenAI
  10. Send negative post message on slack (Slack): uses Slack

…plus 1 more step. See the full node list below.

Services it uses

OpenAIGoogle SheetsSlackOpenAI Chat Model

HTTP calls to: api.apify.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (12)

From the author

✅ What problem does this workflow solve? Tracking what people say about your brand on Twitter can be overwhelming, especially when important mentions slip through the cracks. This workflow automates the process: it scrapes Twitter mentions, analyzes sentiment…

Excerpt from InfyOm Technologies's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.