Templates / Automate Instagram comment replies with OpenAI and Redis tracking

Automate Instagram comment replies with OpenAI and Redis tracking

Ready for 3.0

by Oneclick AI Squad ✓ · 1,210 views · created 2025-10-30 · Social Media, Multimodal AI

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 on a schedule (every day). Along the way it connects Redis and OpenAI. It also calls graph.instagram.com over HTTP.

How it runs

Trigger: On a schedule (every day).

  1. Get Recent Posts (HTTP Request): calls graph.instagram.com (POST)
  2. Split Posts (Split Out): splits a list into separate items
  3. Get Comments (HTTP Request): calls an HTTP API
  4. Add Post Context (Merge): merges the data from its input branches
  5. Split Comments (Split Out): splits a list into separate items
  6. Check If Replied (Redis): get
  7. Not Replied Yet? (If): checks a condition and branches into true / false
  8. Spam Filter (Code): runs custom JavaScript code
  9. Should Reply? (If): checks a condition and branches into true / false
  10. Generate AI Reply (OpenAI): work with chat

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

Services it uses

RedisOpenAI

HTTP calls to: graph.instagram.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 (8)

From the author

This workflow automatically replies to new comments on your Instagram posts using smart AI. It checks your recent posts, finds unread comments, and skips spam or duplicates. The AI reads the post and comments to create a friendly, natural reply with emojis.…

Excerpt from Oneclick AI Squad'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.