Templates / Gemini-powered Facebook comment & DM assistant with Notion

Gemini-powered Facebook comment & DM assistant with Notion

Ready for 3.0

by Abdullah Alshiekh ✓ · 1,733 views · created 2025-08-30 · Support Chatbot, AI Chatbot

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 23 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Google Gemini Chat Model, Facebook Graph API and Notion. It also calls api.notion.com over HTTP.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. If: checks a condition and branches into true / false
  2. Parse Comms (Edit Fields (Set)): sets 8 fields: page_id, post_id, comment_id…
  3. Code: runs custom JavaScript code
  4. Check Database (Notion): get many (database page)
  5. Fetch KB (HTTP Request): calls api.notion.com (POST)
  6. Arrange KB (Code): runs custom JavaScript code
  7. Who's there? (If): checks a condition and branches into true / false
  8. Comment (Facebook Graph API): uses Facebook Graph API
  9. AI Agent: runs an AI agent, with model: Google Gemini Chat Model
  10. Separate rep&sent (Edit Fields (Set)): sets 2 fields: sentiment, dm_message

…plus 11 more steps. See the full node list below.

Services it uses

Google Gemini Chat ModelFacebook Graph APINotion

HTTP calls to: api.notion.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 (9)

From the author

What Problem Does It Solve? Customers often ask product questions or prices in comments. Businesses waste time replying manually, leading to delays. Some comments only need a short thank-you reply, while others need a detailed private response. This workflow…

Excerpt from Abdullah Alshiekh'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.