Comments Agent
Auto-reply to public comments and DM commenters — with keyword automations, plus an AI Comments Agent for everything else.
Overview
The Comments page is your Instagram and Facebook engagement console. It pairs a keyword-automation engine (deterministic, always wins) with an AI Comments Agent that replies to comments your keyword rules didn't catch. A keyword automation can post a public reply, send a private DM, or both — always using your own prewritten text. Configure the AI Comments Agent's voice on the Agent tab; keyword rules live in Automations.
Tabs on this page
Pick which Instagram or Facebook posts the AI is allowed to engage with. Untoggled posts are ignored end-to-end.
Monitored posts
Toggle a post on to enable comment automations + the AI Comments Agent for it. Toggling it off silences replies on that post immediately.
Manual takeover
Pause AI on a specific post and reply yourself — useful during launches, ad spikes, or sensitive threads.
Features
Matching flow (deterministic-first)
On each comment: load enabled, non-deleted, non-expired automations → run all keyword automations (substring match) → if any match, fire its prewritten reply and stop. If no keyword automation matches, the comment falls through to the AI Comments Agent (when it's enabled).
Execute phase
Dedupe check → increment trigger count → resolve reply language (the user-picked one; auto-detect was removed because single comments aren't a reliable signal) → produce comment text (preset or AI) → produce DM text (same / preset / AI) → schedule send after the response-delay → record dedupe immediately so a duplicate comment within the cooldown window is silently skipped.
Echo handling (DM appears in inbox)
When the IG echo for the automation DM arrives, the conversation is created with source = 'ig_dm' and a comment_automation_context payload (post caption, comment text, automation name). The original public comment is persisted as the first user-role message so the customer's intent is preserved if they reply.
Common tasks
Edit the AI Comment Agent Prompt
About 3 min- Open the sidebar → Instagram Comments AI.
- Switch to the AI Prompt tab. (Bookmarks to the old
?tab=ai-settingsURL are auto-migrated.) - Edit the prompt directly, or click any token in the System Variables sidebar to insert it at the cursor. Toggle Diff view to compare against the last saved version.
- Click Save in the floating save bar at the bottom — changes apply on the next incoming comment.
Create a deterministic keyword automation
About 4 min- Open the sidebar → Instagram Comments AI → Automations tab.
- Click New Automation. Step 1 (Trigger): pick Any keyword / All keywords / Exact match and add the keywords.
- Step 2 (Reply Type): choose Public Comment, Private DM, or Both — the next steps appear/disappear based on your choice.
- Step 3 (Public Comment Reply, if enabled): write the reply to post — one shared reply, or a different reply per channel. A reply is required.
- Step 4 (Private DM, if enabled): pick Same as comment or a Custom preset DM message. Toggle Pause AI after DM if a human should handle the follow-up.
- Step 5 (Timing): set the response delay and dedupe window. Step 6 (Settings): name it, toggle Enabled, optionally set Auto-expiry, and Save.
Auto-expire an automation
About 1 min- Open the automation in Edit mode and go to Step 6 — Settings.
- Toggle Auto-expiry on, pick a datetime (or use a preset shortcut like "In 7 days").
- Save. Past dates show a warning; the pipeline filters expired automations out of every webhook hit automatically.
Tips
Frequently asked questions
Was this page helpful?