Skip to content
Log inStart free
Engage · Comment-to-DM rules

Comment-to-DM rules, step by step.

A rule says: when someone comments this on that post, reply in public and send them this message. Foxli's wizard builds one in three screens and shows a live preview as you go.

Instagram and FacebookTemplate or from scratchLive preview
The New automation template picker in Foxli Auto DM
HOW IT WORKS

How it works

01
Choose a goal

Pick a template such as Free guide, Discount code or Book a call, or start from scratch.

02
Pick the post and the words

Select the channel and post, then the words that should trigger the DM. Add a public reply.

03
Write the DM

Add your text, a button with a link, and an optional follow gate or contact question.

04
Turn it on

Save the rule. It starts watching comments right away, and you can pause it any time.

IN THE APP
A single Auto DM rule in Foxli showing the comment-to-click funnel
One rule in detail. The funnel runs from comments matched to link clicks, and the flow card spells out every step of the rule, including the follow gate.
ON THE SCREEN

What a rule can include

1

Templates

Start

Free guide (GUIDE), Discount code (CODE), Price & details (PRICE), Send a link (LINK), Book a call (BOOK) and Join the waitlist (JOIN). Each one fills in sensible defaults.

2

Which post

Step 1

One specific post or reel, any post or reel, or the next one you publish.

3

Trigger

Step 2

Specific words, where any of your listed words starts the DM, or Any comment. You can also list words that should not trigger it.

4

Public reply

Step 2

Reply under the comment. Add up to ten wordings, which rotate, or write them with AI on Creator and Team.

5

Follow gate

Step 3

On Instagram, ask people to follow first. The DM unlocks when they tap I'm following.

6

The DM

Step 3

Text and a button, or text only. Add a link, a button label, and on Instagram an image or video.

7

Ask for phone or email

Step 3

Optional question in the DM. Replies are saved in the rule's Leads tab.

THE DETAILS

Building a rule that works

Start from a goal

When you press New automation, Foxli shows a picker called What do you want to send. Free guide, Discount code and Join the waitlist turn the follow gate on by default. Price & details, Send a link and Book a call don't. Join the waitlist also collects an email.

Each template comes with a keyword like GUIDE or PRICE, a public reply and a DM draft. All of it can be edited. Start from scratch if none of them fits.

Choosing the post

First you pick the channel. Auto DM works on Instagram and Facebook. Then you choose between a specific post or reel, which is best for a launch or an offer, any post or reel, which covers everything now and in future, or the next one you publish.

A rule on one post is the easiest to understand. Rules on every post can send DMs you didn't expect, so use them on purpose.

Trigger words

Specific words means a comment must contain one of the words you add. Type a word and press Enter to add it. Any comment means every comment starts a DM. There is also an optional list of words that should stop the rule, so a comment like 'where is my refund' isn't answered with a promo.

By default a rule only looks at top-level comments, not replies inside a thread.

The public reply

A public reply tells everyone that the DM is on its way, which also keeps the comments looking alive. You can add up to ten versions, and Foxli rotates them so the thread doesn't repeat itself. Use the placeholder {username} to greet the person by their handle.

On Creator and Team you can have the AI write replies. It uses a tone you choose and costs one credit per reply. If the AI is off or credits run out, your own versions are used.

The Foxli Auto DM page with rule stats and live activity
Auto DM. Each rule has its own counts for comments matched, DMs sent, new followers and link clicks. Live activity is on the right.

The follow gate

On Instagram you can ask people to follow you first. If someone comments without following, the DM asks them to follow and then tap a button. Only after they confirm does Foxli send the real message. It's the reason a free guide or a code can double as a way to grow.

The gate is Instagram only. Facebook Pages don't use it.

The DM itself

Choose Text and a button for a link, which gets more taps, or Text only for a plain message. Add the button text, such as Open link, and paste the link. Foxli also keeps a list of your recent links. You can use {username} in the text.

On Instagram you can also attach an image or video. JPG or PNG up to 8 MB, or MP4 up to 25 MB and 60 seconds. It is sent after the follow gate is passed, so turn the gate on to use it. The wizard marks DM media as a Creator feature.

Asking for contact details

Switch on Ask for phone or email, choose what you want, and the DM asks for it. The answers show up in the rule's Leads tab. See the leads and funnel page for how to read it.

Meta's rules

These come from Meta, not Foxli. A private reply to a comment is limited to one per comment, within seven days of the comment. After that, a message can only follow if the person writes back, and then a 24-hour window applies. Public replies are not limited by that window.

Because of those rules, a rule can't send a second unprompted message. Put everything the person needs in the first DM.

AT A GLANCE

The templates

Each one fills in a keyword and sensible defaults.

TemplateKeywordFollow gateCollects email
Free guideGUIDEYesNo
Discount codeCODEYesNo
Price & detailsPRICENoNo
Send a linkLINKNoNo
Book a callBOOKNoNo
Join the waitlistJOINYesYes
QUESTIONS

Frequently asked questions

Can I use more than one keyword?

Yes. Add as many words as you like. A comment that contains any of them triggers the rule.

Is there regex or exact-match?

No. Rules use words you list, or Any comment.

Can I stop it replying to some comments?

Yes. Add words to the exclude list and a comment containing them is skipped.

Can one rule cover several posts?

Yes, choose Any post or reel. Or create one rule per post to keep results separate.

Does the public reply cost credits?

Only if you use the AI to write replies. Your own wordings cost nothing.

Can I test a rule?

Comment on your own post from another account and watch the Live activity list on the Auto DM page.

Can I pause a rule?

Yes. Each rule has an Active switch and an Edit button.

Does it work on Facebook?

Yes, with a public reply and a Messenger DM. See the Facebook Auto DM page.

SOURCES

Sources & references

Write once, post everywhere.

Connect your channels in minutes. Month one is free.

Start free for 30 days · No card needed · Cancel anytime