Templates / Instagram content & DM automation with Gemini, Telegram, and Apify

Instagram content & DM automation with Gemini, Telegram, and Apify

Ready for 3.0

by Msaid Mohamed el hadi ✓ · 6,561 views · created 2025-07-16 · 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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 41 nodes and runs on Telegram events (message) (plus 4 other triggers). Along the way it connects OpenRouter Chat Model, Telegram and Google Sheets. It also calls api.apify.com and api.replicate.com over HTTP.

How it runs

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

  1. Variables (Code): runs custom JavaScript code
  2. Variables (Code): runs custom JavaScript code
  3. Variables (Code): runs custom JavaScript code
  4. Variables (Code): runs custom JavaScript code
  5. Variables (Code): runs custom JavaScript code
  6. Switch: routes items into 2 branches
  7. monitor instagram DM and notificatios with apify (HTTP Request): calls api.apify.com (POST)
  8. Get Users to follow (Google Sheets): uses Google Sheets
  9. AI Agent: runs an AI agent, with model: OpenRouter Chat Model
  10. Date Formatter (Code): runs custom JavaScript code

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

Services it uses

OpenRouter Chat ModelTelegramGoogle Sheets

HTTP calls to: api.apify.com, api.replicate.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.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (11)

From the author

🤖 Instagram Automation Suite: AI Chatbot & Content Powerhouse Workflow Overview This cutting-edge n8n workflow is a comprehensive automation solution designed to streamline various Instagram operations. It combines an intelligent AI chatbot for direct…

Excerpt from Msaid Mohamed el hadi'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.