Skip to content

Instagram DM automation

aghost schedules posts to Instagram, Facebook, LinkedIn, X, Threads, YouTube and TikTok, turns Instagram comments into DMs, and tracks every channel. Run it from the dashboard or an AI agent over MCP or REST.

What is comment-to-DM automation?

Comment-to-DM automation sends a private Instagram message when someone comments on your post or reel. You choose the trigger and write the message in advance. For example, a comment containing “GUIDE” can receive a DM with a link to your resource.

In aghost, an automation can cover one post or reel, or all of them. It can match keywords or respond to any comment. An optional public reply lets the commenter know to check their inbox.

A small part of your social media workflow

Social media management includes planning content, publishing, answering your audience, and measuring results. aghost schedules posts to Instagram, Facebook, LinkedIn, X, Threads, YouTube and TikTok, and handles Instagram engagement: the automation that answers a post’s comments, requested links, DM conversations, and automation activity.

Your dashboard and AI agent work with the same posts, automations, contacts, inbox, and analytics.

How to automate Instagram DMs with aghost

  1. Step 1

    Connect your account

    Sign in with Google, choose a plan, and connect an Instagram Business or Creator account through Instagram’s authorization flow.

  2. Step 2

    Choose the trigger

    Select one post or reel, or all of them. Match any comment or use up to 20 keywords with contains, whole-word, or exact matching.

  3. Step 3

    Write your reply

    Add your DM and up to 3 link buttons. Choose an optional public reply, opening message, or follower rule, then activate the automation.

What can you send?

Creators can send a guide, checklist, or course sign-up link when someone asks for it in a comment. A shop can share a product page or discount code. A service business can send a booking link from a post about its work.

Write a message that explains what the link is for. Personalize it with the commenter’s first name or username, and use the inbox to answer their follow-up questions.

What can you measure?

Each automation shows comments, DMs sent, and link clicks. Its activity log shows messages that were sent, are waiting for a tap, or failed. These are automation metrics; a link click by itself does not tell you whether someone bought or signed up.

Explore triggers, messages, and inbox features

What do you need to get started?

You need an Instagram Business or Creator account and an active aghost plan. Your account connects through Instagram’s own login; aghost does not ask for your Instagram password. Delivery depends on Instagram’s permissions, messaging windows, and rate limits.

A follower rule can reserve your link for followers. People whose follow status Instagram cannot confirm receive a request to follow first. You can pause an automation whenever you need to.

Compare monthly and yearly plans

Can an AI agent manage your DMs?

Yes. Connect Claude Code, Codex, Cursor, or another HTTP MCP client with a workspace API key. Agents can create and update automations, read stats and activity, look up contacts, and read and reply to inbox conversations. Scripts can use the same operations through the REST API.

MCP and REST API access are included on every plan. The account owner creates and revokes keys in Settings.

Set up your AI agent

Your audience is everywhere. Be there with one post.

Seven platforms. Every comment answered. One workspace.