Templates / Monitor Facebook post safety with Apify, Google Gemini and Telegram alerts

Monitor Facebook post safety with Apify, Google Gemini and Telegram alerts

Unknown

by Nguyễn Thiệu Toàn (Jay Nguyen) ✓ · 459 views · created 2026-05-13 · Ticket Management, AI Chatbot

Unknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 28 nodes and runs on Telegram events (message) (plus 2 other triggers). Along the way it connects Telegram, MongoDB Chat Memory, Google Gemini Chat Model and Serpapi (community) and 1 more.

How it runs

Trigger: On Telegram events (message) (plus 2 other triggers).

  1. Set Context (Chat) (Edit Fields (Set)): sets 1 field: bot_owner_name
  2. Set Context (Scraper) (Edit Fields (Set)): sets 4 fields: page_url, page_name, admin_chat_id…
  3. Chat AI Agent (AI Agent): runs an AI agent, with model: Google Gemini Chat Model; 2 tools (SerpAPI Search, Scrape Specific Page Tool); memory: MongoDB Chat Memory
  4. Apify: run actor and get dataset
  5. Send Telegram Reply (Telegram): uses Telegram
  6. Normalize Fields (Edit Fields (Set)): sets 14 fields: postId, pageName, url…
  7. If row does not exist (Data table): row not exists
  8. Data table: create or update
  9. Format Post Content (Edit Fields (Set)): sets 1 field: PostContent
  10. Has Image? (Filter): keeps only the items that match a condition

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

Services it uses

TelegramMongoDB Chat MemoryGoogle Gemini Chat ModelSerpapi (community)Apify (community)

Before you upgrade to n8n 3.0

We can't fully verify this one: it relies on 2 community packages, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).

  • Check that n8n-nodes-serpapi is verified or supports 3.0 (used in SerpAPI Search).
  • Check that @apify/n8n-nodes-apify is verified or supports 3.0 (used in Apify Facebook Scraper).

Nodes used (18)

From the author

Monitor Facebook Pages and Analyze Content Safety via Telegram This n8n template automates the collection, storage, and safety analysis of Facebook posts while simultaneously providing an interactive AI assistant on Telegram. If you manage communities or…

Excerpt from Nguyễn Thiệu Toàn (Jay Nguyen)'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.