Help guide
How to automatically DM someone who comments on Instagram.
Create a comment campaign: pick the post, the keyword and the message. When someone comments that keyword, dmswift replies under the comment and sends that person one private message through Meta's official API. You need an Instagram professional account connected to dmswift, and your AI agent can set it up for you in one sentence.
1. Before you start
- An Instagram professional account (Business or Creator). Personal accounts cannot be automated through Meta's API.
- The account connected to dmswift with Connect Instagram directly, which uses Instagram's own login and needs no Facebook Page: how to connect Instagram.
- Allow access to messages turned on in the Instagram app (Settings, then Messages and story replies, then Message controls, then Connected tools), so replies people send back reach dmswift.
- A keyword people will comment, such as GUIDE or PRICE, and the message you want to send them, usually with a link.
- A dmswift account. The 7-day trial includes comment campaigns, with no card.
2. Meta's rules, in short
- One private reply per comment. Meta lets a business send one private message to the person who wrote a comment, within 7 days of the comment (Meta's Private Replies docs).
- Then the 24-hour window. More messages are allowed only if the person answers, and only within 24 hours of their answer (Meta's Instagram messaging docs).
- Only the commenter. The message goes to the person who wrote the comment and nobody else. Nobody can be messaged who never wrote to you.
3. Set it up in the dashboard
- Open dmswift, go to Campaigns and choose New campaign.
- Pick a ready-made campaign such as Send a link or Send the price list, or choose Create from scratch.
- Check that the channel is your Instagram account. Under It starts when, choose Someone comments on a post.
- Under On which post, keep your latest post, pick a specific post or reel, or choose All posts.
- Under What should people comment?, type your keyword and confirm it. Add more words if people may write it differently.
- Under How should we answer?, turn on Reply in the comments for the public reply and Send a private message for the DM. Add first name greets each person by name, and Add a link sends your link with the message.
- Read Here's what will happen, then choose Yes, turn it on.
- Test it: comment the keyword from another Instagram account. Comments from your own account are ignored.
4. Or ask your AI agent
If you connected an agent such as Claude or ChatGPT (how to connect one), one sentence does the same thing:
Create a comment campaign on my newest reel: whoever comments GUIDE gets a public reply and a DM with https://example.com/guide, once per person. Test it first.
Done. The campaign is on your newest reel, replies publicly and sends the link by DM once per person. A test comment "guide please" matched.
Behind it, the agent calls list_live_posts, create_campaign with that reel's id, and test_campaign_match, within the permissions and daily caps you set when you connected it.
5. Troubleshooting
- Nothing happens on a personal account. Meta only gives tools access to professional accounts. Switch to Business or Creator in the Instagram app, then connect again in dmswift.
- The keyword does not match. Matching is by whole word and ignores upper and lower case and accents, so PRICE matches "price?" but not "prices". Add each form people use (price, prices) as its own keyword, and check that the campaign is on and set to the right post.
- You tested from your own account. Comments from the account that owns the post are ignored. Test from a second account.
- The person did not see the DM. If they do not follow you, Instagram may put your message in their message requests instead of the main inbox. That is Instagram's choice: the message was still sent, and it shows in the activity log.
- Replies to your DM do not show in the inbox. Turn on Allow access to messages in the Instagram app (step 1), then connect Instagram again in dmswift.
- The same person commented twice. Each comment allows its own private reply. Turn on once per person in the campaign's settings if they should get it only once.
FAQ
Frequently asked questions
Is this allowed by Instagram?
Yes. dmswift uses Meta's official API and its private replies feature, which exists for exactly this. dmswift never logs in with your password.
Does it work on reels and stories?
A comment on a reel is a comment like any other, so a campaign can be bound to one reel. Stories have no comments; for them, choose Someone replies to a story as the trigger.
Can I send more than one message?
Only if the person answers. Meta allows one private reply per comment, and further messages within 24 hours of the person's answer. A campaign can add one follow-up 1 to 23 hours after the person taps or replies; someone who only commented never gets it.
How much does it cost?
Each automated private message counts toward your plan's monthly messages: 3,000 a month on Starter ($19/month). Contacts are never counted. Every new account starts with a 7-day trial, no card. See pricing.
Can my AI agent manage these campaigns?
Yes. Over MCP it can create, test, pause and report on campaigns. The Instagram MCP server explains how to connect Claude, ChatGPT, Cursor or Grok.
Does it work on Facebook too?
Facebook Pages are coming soon for new accounts. The same campaigns will work on Page posts once Pages open.
Keep reading
Keep reading
Comment to DM
A matching comment on a post or a reel gets a public reply and one private message to the person who wrote it.
Help guideConnect Instagram
Connect Instagram directly with Instagram Login, no Facebook Page needed.
MCP for InstagramInstagram MCP server
A hosted MCP server that lets Claude, ChatGPT, Cursor or Grok publish, run comment-to-DM campaigns and answer DMs on your Instagram.
Try dmswift free for a week.
No card. If it does not pay for itself in a week, let it pause.
- 15,000 DMs a month on Pro
- Unlimited contacts on every plan
- Messages only go to people who wrote first