Turn Instagram comments into quick, human style replies powered by AI. This setup helps social media teams keep conversations going under posts without watching the feed all day. It is great for brands, creators, and agencies that want faster engagement.
New comment events arrive through a secure webhook. A response step confirms the Meta handshake by echoing the challenge token. The flow then maps key fields, fetches the post caption from Instagram Graph, and checks that the comment did not come from the account owner. A Set step organizes user id, username, message id, message text, and media id. A Filter node named its me prevents self replies. A request to the Instagram Graph API v22.0 returns the caption for extra context. The AI Agent uses OpenRouter to write a friendly reply that fits an AI and automation profile. An HTTP call posts the response back under the original post.
Setup needs an Instagram Graph access token, a verified webhook, and an OpenRouter API key. Expect shorter reply times, a steady brand tone, and the ability to handle a larger comment volume with the same team. Add this when you run launches, promotions, and posts where many people ask similar questions. In Meta App settings, use the same verify token as in n8n. Map fields to match your exact payload and adjust the prompt to your voice. Test with a real comment and fine tune phrasing as needed.