Instagram DM Automation With n8n: Build a Keyword-Based Auto-Reply Flow (2026)
说明与用途
使用 n8n 自动化 Instagram DM 回复:设置关键词路由器,遵守 API 规则,并实施防护措施以避免垃圾邮件。
问题
Automate Instagram direct message replies without using paid SaaS tools.
结果
The flow allows a business to automatically reply to common DM inquiries using keyword matching, reducing manual effort while staying within Instagram’s official API guidelines.
工作流
- Connect Instagram to n8n via OAuth and a webhook or trigger node.
- Add a Switch node to route incoming messages based on keyword matches.
- Attach an Instagram send‑message node to each keyword branch to reply appropriately.
- Include a default fallback reply for unmatched messages.
- Add guardrails: per‑user message cap, human takeover path, and 24‑hour window compliance.
- Test the flow on a second account before deploying to real followers.
证据
Want Instagram DM automation without paying for another SaaS tool? Here’s how to wire up a keyword-based auto‑reply flow in n8n, step by step.
An Instagram trigger fires when someone DMs you or comments with a keyword.
A Switch node checks the message text for keywords like "price", "book", or "hours".
Add a per‑user message cap. Track who you’ve replied to and don’t send more than one or two automated replies per person per day.
Instagram’s messaging rules limit promotional messages to people who contacted you recently.
- 记录日期: 2026-10-23T04:11:14.883Z