Facebook comment AI moderator with Notion & Gemini
Ready for 3.0What this workflow does
This AI workflow has 13 nodes and runs on a schedule (every 10 seconds). Along the way it connects Google Gemini Chat Model, Notion and Facebook Graph API.
How it runs
Trigger: On a schedule (every 10 seconds).
- Posts Fetcher (HTTP Request): calls an HTTP API
- Last Post Fetcher (HTTP Request): calls an HTTP API
- CommentID Checker (Notion): get many (database page)
- Knowledge Base (Notion): get many (database page)
- Merge: merges the data from its input branches
- KB Arrange (Code): runs custom JavaScript code
- New Comment Conditioner (If): checks a condition and branches into true / false
- Latest Comment (Facebook Graph API): uses Facebook Graph API
- AI Agent: runs an AI agent, with model: AI Chat Model
- Reply Writer (Facebook Graph API): uses Facebook Graph API
…plus 1 more step. See the full node list below.
Services it uses
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 (9)
- AI Agent
@n8n/n8n-nodes-langchain.agent - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Merge
n8n-nodes-base.merge - Notion
n8n-nodes-base.notion - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Facebook Graph API
n8n-nodes-base.facebookGraphApi
From the author
🧩 Problem Solved Eliminates the slow, inconsistent, and error-prone process of manually replying to Facebook comments by automating it with AI, ensuring fast, accurate, and on-brand customer engagement 24/7. 📝 Description This workflow automatically…