An Instagram DM agent that replies automatically and lets the owner pause or resume the AI per user.
Overview
NexRion handles Instagram DMs end-to-end, turning incoming messages into fast, helpful replies. It keeps a reliable message queue, pulls context from a knowledge base, and gives the owner direct control over who the AI can respond to.
How it works
1.Incoming Instagram DMs are captured through a webhook and placed into a processing queue so no message is missed.
2.The system identifies the sender and loads recent conversation context to keep replies consistent and personalized.
3.Each message is matched against a knowledge base to pull the most relevant information before drafting a response.
4.An AI agent generates the reply using the message, context, and guidance to keep the tone on brand.
5.The reply is delivered back to Instagram and the delivery status is tracked for reliability and retries.
6.An owner control flow lets specific usernames be paused or resumed instantly from Telegram.
Key features
•Queue-based processing that prevents dropped or duplicated replies
•Knowledge-base responses for accurate, consistent answers
•Per-user pause and resume controls through Telegram
•Conversation memory to keep long chats coherent
•Nightly summarization to keep user profiles up to date
Tech Stack
n8nGoogle GeminiPostgreSQLSupabaseRedisMeta Graph APITelegram Bot API