Templates / Reply to Instagram ad comments with GPT-4o, Google Docs, and Slack

Reply to Instagram ad comments with GPT-4o, Google Docs, and Slack

Ready for 3.0

by Salman Mehboob ✓ · 162 views · created 2026-04-08 · Social Media, AI RAG

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 14 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenRouter Chat Model, Google Docs and Slack.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Filter: keeps only the items that match a condition
  2. Get Commnet Details (HTTP Request): calls an HTTP API
  3. If: checks a condition and branches into true / false
  4. Get Ad Data (HTTP Request): calls an HTTP API
  5. Clean Data (Edit Fields (Set)): sets 5 fields: post_text, post_permalink, comment_text…
  6. Comment Classifier (AI Agent): runs an AI agent, with model: OpenRouter Chat Model; output parser: Structured Output Parser
  7. Switch: routes items into 4 branches
  8. Comment Generator (AI Agent): runs an AI agent, with model: OpenRouter Chat Model; 1 tool (Knowledge Base)
  9. Inform User (Slack): uses Slack
  10. Reply to Comment (HTTP Request): calls an HTTP API (POST)

Services it uses

OpenRouter Chat ModelGoogle DocsSlack

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

Never miss a lead from your Instagram ads again. This workflow automatically monitors every comment on your Instagram ad posts in real time, classifies the comment using AI, and takes the right action instantly — whether that is replying with accurate…

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