Templates / Reply to Instagram comments with Groq, Telegram approval, and Google Sheets logging

Reply to Instagram comments with Groq, Telegram approval, and Google Sheets logging

Ready for 3.0

by Emel ✓ · 153 views · created 2026-06-27 · 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 workflow has 32 nodes and runs on a schedule (every 10 minutes) (plus 1 other trigger). Along the way it connects Telegram and Google Sheets. It also calls graph.facebook.com, api.telegram.org and api.groq.com over HTTP.

How it runs

Trigger: On a schedule (every 10 minutes) (plus 1 other trigger).

  1. Read All Comment IDs (Google Sheets): uses Google Sheets
  2. Wait: waits 3 seconds
  3. Read Pending Rows (Google Sheets): uses Google Sheets
  4. Wait: waits 4 seconds
  5. Compile Logged IDs (Code): runs custom JavaScript code
  6. Fetch Instagram Media (HTTP Request): calls graph.facebook.com
  7. Retrieve Stored Offset (Code): runs custom JavaScript code
  8. Split Media Data (Split Out): splits a list into separate items
  9. Fetch Telegram Updates (HTTP Request): calls api.telegram.org
  10. Fetch Media Comments (HTTP Request): calls an HTTP API

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

Services it uses

TelegramGoogle Sheets

HTTP calls to: graph.facebook.com, api.telegram.org, api.groq.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 (12)

From the author

Quick Overview This workflow monitors new Instagram comments, generates a draft reply with Groq (OpenAI-compatible chat completions), sends it to Telegram for YES/NO approval, and logs the decision in Google Sheets before optionally posting the approved reply…

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