This workflow automates the process of collecting, analyzing, and storing Facebook post comments with AI-powered sentiment analysis about YOUR Facebook Page.
Eliminates manual work by automatically collecting and analyzing Facebook comments end-to-end.
Uses Google Gemini to accurately classify user sentiment, enabling deeper insights into audience perception and engagement.
Saves results directly into Google Sheets, making the data easy to analyze, share, and visualize with dashboards or reports.
The “append or update” logic ensures comments are not duplicated and can be refreshed if sentiment analysis changes.
Pagination handling, batch processing, and wait nodes allow the workflow to scale to large volumes of comments without hitting API limits.
The use of sub-workflows makes the solution reusable and easy to integrate into larger automation pipelines (e.g. monitoring multiple posts or pages).
Can be run manually for testing or automatically as part of a broader workflow ecosystem.
This workflow automates the process of fetching Facebook post comments, performing sentiment analysis on each comment, and storing the results in a Google Sheet. It operates in two modes:
Manual execution mode:
Call 'Facebook' node) to process each comment batch through sentiment analysis and save results to Google Sheets.Triggered execution mode:
Configure Facebook Graph API credentials:
Set up Google Gemini API credentials:
Prepare Google Sheet:
POST ID, COMMENT ID, COMMENT, SENTIMENT.Configure the sub-workflow call:
Optional: Adjust batch and wait settings:
Activate the workflow:
👉 Subscribe to my new YouTube channel. Here I’ll share videos and Shorts with practical tutorials and FREE templates for n8n.
Contact me for consulting and support or add me on Linkedin.