Templates / Auto-reply to Instagram comments with Gemini and Google Sheets tracking

Auto-reply to Instagram comments with Gemini and Google Sheets tracking

Ready for 3.0

by Tricore Infotech Pvt Ltd ✓ · 271 views · created 2026-05-04 · Social Media, 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 18 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Facebook Graph API, Google Sheets and Google Gemini.

How it runs

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

  1. Configure Post & Message (Edit Fields (Set)): sets 5 fields: postUrl, instaId, brandName…
  2. Get Instagram Posts (Facebook Graph API): uses Facebook Graph API
  3. Filter and Get Post ID (Code): runs custom JavaScript code
  4. Get All Comments (Facebook Graph API): uses Facebook Graph API
  5. Read Contacted Users (Google Sheets): uses Google Sheets
  6. Filter New Comments (Code): runs custom JavaScript code
  7. Check If Has New Comments (If): checks a condition and branches into true / false
  8. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  9. Generate Summary (Code): runs custom JavaScript code
  10. Generate Reply with AI (Google Gemini): uses Google Gemini

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

Services it uses

Facebook Graph APIGoogle SheetsGoogle Gemini

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 (11)

From the author

AI Auto-Reply to Instagram Comments with Gemini & Google Sheet Tracker Summary Automate your Instagram community management without sounding like a bot. This workflow monitors a specific Instagram post, uses Gemini 2.5 Flash to generate context-aware, highly…

Excerpt from Tricore Infotech Pvt Ltd'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.