Instagram DMs webhooks work only in test mode

I am having an issue when receiving direct messages on Instagram in LIVE mode within my workflow.
I have Webhooks and HTTP requests configured in my workflow, but they are only triggered when I send direct messages from my Instagram account designated as a tester, and not from any other account.
The Facebook Developers platform is fully configured, with all the steps approved and even the permissions accepted by the reviewers.
I would love to understand why it doesn’t work to receive direct messages from any other Instagram account.
The nodes I am sharing below have private data replaced with XXXX, but I believe it is important to show you how they are configured.

Describe the problem/error/question

What is the error message (if any)?

Please share your workflow

Share the output returned by the last node

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Ah @Nicolas_Almazan welcome to the community.

This is a classic Instagram API limitation not an n8n issue.

Zelite, thank you so much for your reply!

So, you are saying that this kind of integration through n8n to Instagram DMs can’t be done?

Or am I doing something wrong?

No all im saying is, the problem is that Instagram’s API has some strict limitations. For example in development mode, only accounts added as “testers” can trigger webhooks. Also, your Instagram account needs to be a Business or Creator account, and your app needs to go through Facebook’s App Review process.

Here’s are something’s to check to fix the issue

  1. Make sure your app is in Live mode, and you’ve submitted for App Review with the instagram_manage_messages permission.
  2. Ensure your Instagram account is a Business or Creator account, connected to a Facebook Page, and added to your app in Facebook Developer.
  3. Verify that your webhook is subscribed to “instagram_message” events and verified.

Once you’ve completed the App Review process, your app should work for all users.

Zelite, I can’t believe it.

I spent over a month struggling with Facebook integrations, waiting for approvals, setting up webhooks, watching dozens of YouTube videos, etc.

I thank you from the deepest part of my spirit.

I thought that having the advanced Facebook permissions requests approved was enough, but I didn’t know that I then had to link those permissions to the webhooks. Your comment, “Verify that your webhook is subscribed to ‘instagram_message’ events and verified”, made me realize that.

Once again, thank you and I really appreciate your help.

This made me happy man.

You are welcome. Keep going and remember to always spread the love.