Skip to main content

How to Set Up Auto-Replies on Messenger and Instagram DMs

Answer every Messenger and Instagram message in seconds, even at night. A step-by-step setup with ready-to-use reply examples.

ReplyNinja Team5 min readUpdated
A man holding a phone over a laptop on a desk

Key takeaways

  • Turn on "Allow access to messages" in Instagram before you start, or Instagram DMs won't reach ReplyNinja.
  • Use a Message bot with "first message only" for a greeting, and Message bots with keywords for common questions.
  • Let Ninja AI answer everything your keywords don't cover.
  • You can reply freely within 24 hours of the customer's last message, so end every reply with a question.
In this article
  1. Before you start
  2. Step 1: Write down your top questions
  3. Step 2: Create a greeting
  4. Step 3: Add keyword replies
  5. Step 4: Let Ninja AI handle the rest
  6. Step 5: Set up the first screen
  7. Step 6: Respect the 24-hour window
  8. Test it
  9. Your checklist

Most people who message a page on Messenger or Instagram expect an answer within minutes. If they wait an hour, many have already bought somewhere else. Auto-replies make sure every message gets an answer right away, even at 2 a.m.

This guide shows how to set them up in ReplyNinja, step by step.

Before you start

Check two things:

  1. Your Facebook page and Instagram account are connected. See connecting your first page.
  2. Instagram message access is on. In the Instagram app, open Settings → Messages and story replies → Message controls → Connected tools, and turn on Allow access to messages. Without it, Instagram DMs don’t reach ReplyNinja.

Step 1: Write down your top questions

Open your last 50 conversations on Messenger and Instagram. Write down the questions that come up again and again. For most businesses:

  • How much is it?
  • Is it available?
  • Do you deliver to my area? How much?
  • Where are you located? What are your hours?
  • How do I order?

These are your first replies.

Step 2: Create a greeting

A greeting answers the very first message of every new conversation.

  1. Open Bots and choose Add Bot.
  2. Choose the Message trigger.
  3. Under Bot Conditions, turn on Reply to the customer’s first message only.
  4. Turn on Send Message and write your greeting.
  5. Save and turn the bot on.
The Add Bot page with the bot name and the Comment and Message triggersThe Add Bot page with the bot name and the Comment and Message triggers
Add Bot: name the bot and choose the Message trigger.
Bot Conditions with Reply to the customer's first message only turned onBot Conditions with Reply to the customer's first message only turned on
Turn on Reply to the customer's first message only for a greeting.
ninja.storeonlineInstagram
hi
23:14
Hi! 👋 Welcome to Ninja Store. Are you looking for something for yourself or a gift?
Auto-reply23:14
A greeting that answers and asks what they need.

For more ideas, see 20 greeting and away message examples. They work just as well on Messenger and Instagram.

Step 3: Add keyword replies

Keyword replies answer specific questions.

  1. Add a new bot with the Message trigger.
  2. In Bot Conditions, add the words people use for that question. For delivery: “delivery”, “deliver”, “shipping”, “how long”, plus the dialect and misspelled versions your customers actually type.
  3. Add the action Send message, or Send Template if you want buttons.
  4. Repeat for each question on your list.

Keep each reply to two or three lines, answer first, and end with a question.

Ninja StoreonlineMessenger
do you ship to alex?
14:02
Yes! Delivery to Alexandria takes 2 days and costs 50 EGP 🚚 Which item would you like?
Auto-reply14:02
Answer, one useful detail, then a question.
Bot Conditions with the words delivery, shipping and their Arabic versionsBot Conditions with the words delivery, shipping and their Arabic versions
Add the words people use for the question, in every language your customers write in.
Bot Actions to Take with Send Message turned on and a delivery replyBot Actions to Take with Send Message turned on and a delivery reply
Then write the reply under Send Message, and tag the contact if you want.

Step 4: Let Ninja AI handle the rest

Keywords can’t catch everything. Customers ask mixed questions, send photos, or write in ways you didn’t expect. Ninja AI answers those from your own business information, and hands the chat to your team when it should.

See how to train an AI sales agent on your business, and if you’re unsure how to split the work, read keyword bot or AI replies?.

Step 5: Set up the first screen

On Messenger and Instagram, you can shape what people see before they even type:

Each tap can trigger a bot action, so the first answer arrives instantly.

Step 6: Respect the 24-hour window

On Messenger and Instagram, you can send normal messages within 24 hours of the customer’s last message. That’s why every reply should end with a question: when they answer, the window opens again.

If a customer stops replying, use reminders while the window is still open. See follow-up messages that bring customers back.

After 24 hours, bots and automations stop. What is still possible:

Time since the customer’s last message Messenger Instagram
Up to 24 hours Any normal message, from a bot or a person Any normal message, from a bot or a person
24 hours to 7 days Replies from a person on your team only (Human Agent tag) Replies from a person on your team only (Human Agent tag)
After 7 days Only marketing messages to people who opted in (paid, some countries only) Nothing until the customer writes again

You don’t need to do anything for the Human Agent tag. When your team replies from the ReplyNinja inbox between 24 hours and 7 days, ReplyNinja adds it automatically. After 7 days, the chat is locked until the customer writes again.

Read more in the Instagram 24-hour window and Messenger message tags in 2026.

Test it

From a personal account, message your page and your Instagram account and try:

  • “hi” (greeting),
  • each keyword question,
  • a question you didn’t plan for (Ninja AI),
  • “I want to talk to someone”.

Your checklist

Done? Item
☐ Page and Instagram account connected
☐ Instagram message access turned on
☐ Greeting bot with “first message only”
☐ Keyword replies for your top questions
☐ Ninja AI trained for everything else
☐ Welcome screen, ice breakers and persistent menu
☐ Tested from a personal account

Want the full picture of Instagram? Read Instagram DM automation: the complete guide.

Frequently asked questions

Can one bot reply on both Messenger and Instagram?

Each Facebook page and Instagram account is its own profile in ReplyNinja, so you create the bot on each one. Use Copy bots to copy your setup from one profile to another in a few clicks.

Will auto-replies work on messages from ads?

Yes. Messages that start from a click-to-Messenger or click-to-Instagram ad arrive like any other message, and your bots reply to them.

What happens after 24 hours?

Your bots can only reply within 24 hours of the customer's last message. After that, a person on your team can still reply for up to 7 days: ReplyNinja sends those inbox replies with Meta's Human Agent tag automatically. After 7 days, you wait for the customer to write again. On Messenger, people who opted in can also receive marketing messages, but Meta charges for them and they are only available in some countries. Instagram has no marketing messages.

Tags

  • Messenger
  • Instagram
  • DMs & Private Messages
  • Auto-Reply
  • How To

Written by

ReplyNinja Team

The ReplyNinja team builds the platform businesses use to capture, convert and keep customers on WhatsApp, Instagram, Messenger and Facebook. We write about what we see working for thousands of businesses.