Tech With Galvan
Back to Articles
AutomationMar 1, 2029 • 5 min read

How to Auto-Reply to Instagram and Facebook Messages

Set up auto-replies for Instagram and Facebook messages — welcome messages, FAQ bots, and lead capture. Step-by-step guide for businesses.

Galvan
Galvan

Founder & Creator

Introduction

Customers expect instant responses on social media. If someone DMs your business on Instagram and doesn’t hear back for 6 hours, they’ve already moved on. Auto-replies ensure every message gets an immediate response — even at 3 AM.

This post shows you how to set up auto-replies for Instagram and Facebook messages, from simple greetings to AI-powered chatbots.

Method 1: Meta Business Suite (free, built-in)

Setup

  1. Go to business.facebook.com
  2. Click “Inbox” (left sidebar)
  3. Click “Automations” (top right)
  4. Set up auto-replies

Auto-reply types

1. Instant reply (greeting)

Sent immediately when someone messages you for the first time:

“Hi! 👋 Welcome to [Business Name]. Thanks for reaching out! We’ll get back to you within 2 hours. In the meantime, check out our services: [link]”

2. Away message

Sent when you’re outside business hours:

“Hi! We’re currently closed. Our hours are Mon-Sat 10 AM - 8 PM. We’ll reply when we’re back. For urgent matters, call us at [phone].”

3. FAQ auto-replies

Set up keyword-based responses:

Keyword Auto-reply
“price” / “cost” / “rates” “Our prices start at ₹[X]. Full price list: [link]”
“hours” / “open” / “timing” “We’re open Mon-Sat 10 AM - 8 PM, Sun 10 AM - 6 PM”
“location” / “address” / “where” “We’re at [address]. Google Maps: [link]”
“book” / “appointment” “To book, visit [link] or call [phone]”

Limitations of Meta’s built-in auto-replies

  • Only 1 instant reply and 1 away message
  • FAQ auto-replies are keyword-based (not AI)
  • No lead capture or CRM integration
  • Limited to Facebook and Instagram (not WhatsApp)

Method 2: ManyChat (free tier, more features)

ManyChat is the most popular chatbot platform for Instagram/Facebook.

Setup

  1. Sign up at manychat.com
  2. Connect your Facebook/Instagram page
  3. Create a flow (visual builder)
  4. Set up triggers and responses

What you can build

Welcome flow

User sends first message
    ↓
Bot: "Hi! Welcome to [Business]. What can I help you with?"
    ↓
[Button: Services] [Button: Pricing] [Button: Contact]
    ↓
User clicks "Services"
    ↓
Bot: "Here are our services: [list]. Which one interests you?"
    ↓
User: "Website design"
    ↓
Bot: "Great choice! Our websites start at ₹15,000. Would you like a free quote?"
    ↓
[Button: Yes, get a quote] [Button: Learn more]
    ↓
User clicks "Yes"
    ↓
Bot: "What's your name and email? We'll send you a custom quote."
    ↓
Capture lead → Send to Google Sheets/CRM

Lead capture flow

  • Ask for name, email, phone
  • Save to Google Sheets or CRM
  • Send notification to you
  • Tag the conversation for follow-up

FAQ flow

  • Keyword triggers (price, hours, location, etc.)
  • Pre-written responses
  • “Talk to a human” button for complex queries

Pricing

  • Free: 1,000 contacts, basic flows
  • Pro: $15/mo (unlimited contacts, advanced features)

Method 3: Python chatbot (full control)

For developers who want full control:

from flask import Flask, request
import requests, os

app = Flask(__name__)

VERIFY_TOKEN = os.environ["VERIFY_TOKEN"]
PAGE_ACCESS_TOKEN = os.environ["PAGE_ACCESS_TOKEN"]

@app.route("/webhook", methods=["GET"])
def verify():
    """Verify webhook with Facebook."""
    if request.args.get("hub.verify_token") == VERIFY_TOKEN:
        return request.args.get("hub.challenge")
    return "Verification failed", 403

@app.route("/webhook", methods=["POST"])
def handle_message():
    data = request.json
    for entry in data.get("entry", []):
        for messaging in entry.get("messaging", []):
            sender_id = messaging["sender"]["id"]
            if "message" in messaging:
                text = messaging["message"].get("text", "")
                reply = generate_reply(text)
                send_message(sender_id, reply)
    return "OK", 200

def generate_reply(text):
    """Generate a reply based on the message."""
    text_lower = text.lower()
    
    if any(kw in text_lower for kw in ["price", "cost", "rate"]):
        return "Our prices start at ₹5,000. Full price list: [link]"
    elif any(kw in text_lower for kw in ["hours", "open", "timing"]):
        return "We're open Mon-Sat 10 AM - 8 PM. Sun 10 AM - 6 PM."
    elif any(kw in text_lower for kw in ["location", "address", "where"]):
        return "We're at [address]. Google Maps: [link]"
    elif any(kw in text_lower for kw in ["book", "appointment", "schedule"]):
        return "To book, visit [link] or call [phone]."
    else:
        return "Thanks for your message! We'll get back to you shortly. For urgent queries, call [phone]."

def send_message(recipient_id, text):
    url = f"https://graph.facebook.com/v18.0/me/messages?access_token={PAGE_ACCESS_TOKEN}"
    payload = {"recipient": {"id": recipient_id}, "message": {"text": text}}
    requests.post(url, json=payload)

if __name__ == "__main__":
    app.run(port=5000)

Deploy

  • Deploy on Heroku, Render, or Railway (free tiers available)
  • Set up the webhook URL in Facebook Developer Console
  • Verify the webhook

Best practices

1. Set expectations

  • “We typically respond within 2 hours during business hours”
  • “For urgent matters, call us at [phone]”

2. Provide escape hatches

  • “Talk to a human” button in every flow
  • “For complex queries, please email [email]”

3. Capture leads

  • Ask for name, email, phone in the first message
  • Save to Google Sheets or CRM
  • Follow up within 24 hours

4. Don’t over-automate

  • Auto-replies are for initial contact, not entire conversations
  • Hand off to a human for complex queries
  • Review chatbot conversations weekly for improvements

5. Personalize

  • Use the customer’s name
  • Reference their previous messages
  • Don’t send identical responses to everyone

Common mistakes

  • No human handoff — bots that can’t transfer to a human frustrate customers
  • Too many questions — asking for name, email, phone, budget, timeline in one message overwhelms
  • No opt-out — always provide “Talk to a human” option
  • Stale responses — update auto-replies when prices/hours change
  • Ignoring the inbox — auto-replies don’t replace human responses. Check messages daily.

Key Concepts

  • Meta Business Suite = Facebook’s free business tools (includes auto-replies)
  • ManyChat = chatbot platform for Instagram/Facebook
  • Webhook = HTTP callback for real-time messages
  • Lead capture = collecting contact info from potential customers
  • Human handoff = transferring from bot to human agent

What to Try Next

FAQ

Meta auto-replies vs ManyChat — which to use?

Meta’s built-in auto-replies are free and simple (greeting + away + basic FAQ). ManyChat is more powerful (visual flows, lead capture, integrations). Start with Meta’s built-in; upgrade to ManyChat when you need more.

Can I auto-reply on WhatsApp?

Yes — but you need the WhatsApp Business API (not the free app). Use WATI, Twilio, or Gupshup. The free WhatsApp Business app has basic auto-replies (greeting + away messages) but no keyword-based responses.

Will auto-replies hurt my engagement?

No — if done well, auto-replies improve response time and customer satisfaction. But if they’re generic or unhelpful, they frustrate customers. Always provide a “talk to a human” option.

How do I handle messages in multiple languages?

Meta’s auto-replies don’t support multiple languages natively. ManyChat supports language-based flows. For Python bots, detect language with langdetect and respond accordingly. See Best Tools for Freelancers.