Templates / Automated Instagram comment response with DMs & Google Sheets tracking

Automated Instagram comment response with DMs & Google Sheets tracking

Ready for 3.0

by Juan Carlos Cavero Gracia ✓ · 12,714 views · created 2025-07-13 · Social Media

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 12 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Google Sheets. It also calls api.upload-post.com over HTTP.

How it runs

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

  1. Configure Post & Message (Edit Fields (Set)): sets 3 fields: postUrl, replyMessage, profileUsername
  2. Read Contacted Users (Google Sheets): uses Google Sheets
  3. Get Post Comments (HTTP Request): calls an HTTP API
  4. Filter New Comments (Code): runs custom JavaScript code
  5. Check If Has New Comments (If): checks a condition and branches into true / false
  6. Send Reply to Comment (HTTP Request): calls api.upload-post.com (POST)
  7. Generate Summary (Code): runs custom JavaScript code
  8. Check Reply Success (If): checks a condition and branches into true / false
  9. Record Contacted User (Google Sheets): append
  10. Log Failed Reply (Code): runs custom JavaScript code

Services it uses

Google Sheets

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

From the author

Description This automation template is designed for Instagram marketers, influencers, and businesses looking to supercharge their Instagram engagement strategy. It automatically monitors Instagram post comments and sends personalized direct messages (DMs) to…

Excerpt from Juan Carlos Cavero Gracia'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.