Templates / Extract and analyze 🔬 ALL Facebook post comments with sentiment AI using Gemini

Extract and analyze 🔬 ALL Facebook post comments with sentiment AI using Gemini

Ready for 3.0

by Davide Boizza ✓ · 968 views · created 2026-02-05 · 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 14 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Google Gemini Chat Model, Facebook Graph API and Google Sheets.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).

  1. Set Fb post ID (Edit Fields (Set)): sets 1 field: post_id
  2. Split Out: splits a list into separate items
  3. Get Fb Post (Facebook Graph API): uses Facebook Graph API
  4. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  5. Get Fb comments (Facebook Graph API): uses Facebook Graph API
  6. Sentiment Analysis: scores sentiment with AI, with model: Google Gemini Chat Model
  7. Call 'Facebook' (Execute Sub-workflow): calls another n8n workflow
  8. Next page? (If): checks a condition and branches into true / false
  9. Add comment (Google Sheets): append or update
  10. Get next comments page (Edit Fields (Set)): sets 1 field: after

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

Services it uses

Google Gemini Chat ModelFacebook Graph APIGoogle Sheets

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

This workflow automates the process of collecting, analyzing, and storing Facebook post comments with AI-powered sentiment analysis about YOUR Facebook Page. Typical Use Cases: Social media sentiment monitoring Brand reputation analysis Campaign performance…

Excerpt from Davide Boizza'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.