Why Your DMs Are Costing You Leads
If you're running a business on Instagram or Facebook, every unanswered DM is a missed opportunity. Followers ask questions, request links, or signal buying intent — and if you're not responding fast enough, they move on. The solution isn't to hire a VA. It's to build a smart automation system using n8n and manychat — and you can set it up in under 20 minutes.
What You'll Build
This workflow does three things automatically:
- Detects a specific keyword or trigger phrase in an incoming DM
- Sends an instant personalised reply via manychat
- Logs the lead data and triggers a follow-up sequence through n8n
The result? Every lead gets a response within seconds, and your backend data stays clean and organised without you touching a thing.
What You Need Before You Start
- A free or pro account on manychat (connected to your Instagram or Facebook page)
- An n8n account — cloud or self-hosted both work
- A Google Sheet or Airtable base to store lead data (optional but recommended)
- About 20 minutes of focused time
Step 1: Set Up Your ManyChat Trigger (5 Minutes)
Log into your manychat dashboard and navigate to Automation → Flows. Create a new flow and choose Instagram DM or Facebook Messenger as your channel.
Set your trigger keyword — for example, "link", "pricing", or "info". This is the word your audience will type to activate the automation.
Add a quick reply message inside manychat that feels human. Something like: "Hey [First Name]! Thanks for reaching out — here's exactly what you asked for 👇" followed by your link or CTA button.
Publish the flow. manychat is now listening for that keyword around the clock.
Step 2: Connect ManyChat to n8n via Webhook (7 Minutes)
Open your n8n workspace and create a new workflow. Add a Webhook node as your trigger. Copy the webhook URL that n8n generates.
Go back into manychat and, inside your flow, add an External Request action. Paste the n8n webhook URL and map the fields you want to send — such as subscriber name, email (if collected), and the trigger keyword they used.
Test the connection by sending a DM to yourself with the keyword. Watch n8n receive the data in real time. You'll see the payload populate inside the webhook node — subscriber ID, first name, timestamp, and more.
Step 3: Build the n8n Logic (5 Minutes)
Now that n8n is receiving data, add your next nodes:
- Google Sheets node: Append a new row with the subscriber's details — name, keyword, timestamp, and source platform.
- IF node (optional): Use n8n's IF node to branch logic. For example, if the keyword is "pricing", trigger an email sequence. If it's "link", just log and stop.
- Email or Slack node: Notify yourself when a high-intent keyword is detected so you can follow up personally.
Save and activate the n8n workflow. It's now live and processing every new DM trigger automatically.
Step 4: Test the Full Flow End-to-End (3 Minutes)
Open a second device or ask a friend to DM your page with your trigger keyword. Watch the sequence fire:
- manychat sends the instant reply
- n8n receives the data via webhook
- Your Google Sheet logs the lead
- You get a notification if configured
If something doesn't fire, check the webhook URL is correctly pasted in manychat and that your n8n workflow is set to Active, not just saved.
Pro Tips to Get More From This Setup
Use Multiple Keywords
Inside manychat, you can stack multiple keyword triggers for the same flow. Cover variations — "price", "pricing", "how much", "cost" — so you never miss a buyer signal.
Add a Delay Sequence in ManyChat
manychat supports follow-up messages with time delays. Set a message to fire 24 hours after the initial reply to re-engage contacts who didn't click your link.
Tag Contacts in n8n
Use n8n to hit the manychat API and apply custom tags to subscribers based on their keyword. This makes your audience segmentation effortless for future campaigns.
Why This Stack Works So Well
manychat is purpose-built for conversational marketing inside social platforms — it handles compliance, delivery, and the human-feel of messaging. n8n brings the backend power: conditional logic, multi-app connections, and data logging that manychat alone can't do.
Together, they form a lead capture machine that runs 24/7 without a single manual action. Whether you're a solo creator or running a full marketing team, this 20-minute setup pays for itself the first time it captures a lead while you're asleep.
Ready to Build It?
Get started with n8n and connect it to your manychat account today. The template is simple enough for beginners and flexible enough to scale with your business. Stop leaving DMs on read — start turning them into revenue.
This post was created with tools we use and recommend: n8n for workflow automation, Turbotic as an AI-native automation alternative, ElevenLabs for AI voiceover, Placid for visual content creation, and Hostinger for reliable VPS hosting. Some links are affiliate links.