Blog

How to auto-send a Messenger DM when someone comments on your Facebook post

If your Facebook posts get comments like "price?" or "link please", answering each one by hand takes hours, and late answers lose customers. This guide sets up an automation that sends every commenter a Messenger message with what they asked for, plus an instant reply to keywords sent in Messenger.

It takes about ten minutes. You will need a Facebook Page that you manage.

Step 1: Connect your Facebook Page

Sign in to OneSocialX on the website, open Facebook in the menu and click Connect Facebook Page. In Facebook's window, choose the Pages you want to automate and approve access. Your Pages then appear on the Facebook page as Listening.

Step 2: Write a post with a clear call to action

Tell people exactly what to comment and what they will get, for example: "Comment PRICE and we'll send you the full price list on Messenger." A distinctive keyword works best.

  • PRICE for a price list.
  • LINK for a product or booking link.
  • MENU for a restaurant menu.
  • GUIDE for a free resource.

Matching is not case-sensitive and finds the keyword anywhere in a comment, so avoid short words that hide inside others.

Step 3: Create the automation

Go to Automations, click New automation, pick your Facebook Page and choose Comment reply. Pick the post (or all posts), type your keyword, and write the Messenger message.

Messenger message: price list
Hi {{username}}, thanks for your comment! 馃檶

Here is our price list: [link]

Reply here if you have any questions or want to order.

{{username}} is filled in with the person's name.

Step 4: Add a public reply (optional)

A short reply under the comment shows everyone that you answered, and invites more people to comment.

Public reply
Sent! Check your Messenger 馃摡

Step 5: Answer keywords in Messenger too

Many people message your Page directly instead of commenting. Create one more automation, choose DM keyword, and write the reply for a keyword such as PRICE or MENU. Anyone who sends that word in Messenger gets your answer instantly.

Step 6: Test it

Comment your keyword on the post from a different Facebook account; your own Page's comments never trigger automations. The Messenger message should arrive within moments.

Good to know

  • Only new comments trigger the automation, not comments already on the post.
  • Each comment gets one private message, as Facebook allows.
  • You can pause any automation from the Automations page without deleting it.

Read more about Facebook comment-to-DM with OneSocialX, or set up the same thing on WhatsApp.

Frequently asked questions

Can one automation cover all my posts?

Yes. Choose all posts instead of a single one. A rule for a specific post still wins when both apply.

Can I use the same keyword on Instagram and Facebook?

Yes. Create one automation on each account, with the same keyword and message.

Why did my own test comment not get a message?

Comments made as your Page, or by your own account, are ignored. Test from a second Facebook account.

Turn your next comments into conversations.

Connect your Instagram account, Facebook Page or WhatsApp number and set up your first automation in a few minutes.

Meta-approved app 路 Official Instagram API 路 Your password is never shared