Templates / Analyze Facebook comment sentiment with GPT-4, Slack, Sheets & Outlook reports

Analyze Facebook comment sentiment with GPT-4, Slack, Sheets & Outlook reports

Ready for 3.0

by Rahul Joshi ✓ · 603 views · created 2025-11-14 · 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-10-19.

What this workflow does

This AI workflow has 15 nodes and runs on a schedule (every day at 10:00) (plus 1 other trigger). Along the way it connects Slack, Facebook Graph API, OpenAI Chat Model and Google Sheets and 1 more.

How it runs

Trigger: On a schedule (every day at 10:00) (plus 1 other trigger).

  1. Fetch Recent Facebook Posts (Facebook Graph API): uses Facebook Graph API
  2. Slack: uses Slack
  3. Format Facebook Data (Code Node) (Code): runs custom JavaScript code
  4. 💬 Agent - Sentiment & Tone Evaluator (AI Agent): runs an AI agent, with model: LLM - OpenAI GPT-4 Model; memory: Memory Buffer - Session Context; output parser: Structured JSON Parser
  5. Route Based on Sentiment Score (Switch): routes items into 2 branches
  6. Slack: uses Slack
  7. Prepare Data for Google Sheets (Code): runs custom JavaScript code
  8. Format HTML Email Report (Code Node) (Code): runs custom JavaScript code
  9. Update Google Sheet - Sentiment Log (Google Sheets): append or update
  10. Send Sentiment Report (Outlook) (Microsoft Outlook): uses Microsoft Outlook

Services it uses

SlackFacebook Graph APIOpenAI Chat ModelGoogle SheetsMicrosoft Outlook

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

📊 Description Automatically analyze the sentiment of Facebook posts and their audience comments using GPT-4 to identify trends and potential PR risks. 🧠💬 This workflow fetches recent posts via the Facebook Graph API, performs AI-powered sentiment analysis…

Excerpt from Rahul Joshi'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.