Hello, I apologize in advance if this topic was opened unnecessarily.
However, I couldn’t find a solution to the problem.
I set up a DM automation for Instagram.
I used a chat trigger when creating the agent structure. My agent structure works flawlessly and exactly as I want it to.
However, the problem started when I tried to connect it to Instagram.
I am not using third-party software.
I connected the Instagram account to the workflow via webhook.
After completing the testing phases, I went live with the app via Facebook and activated the DM automation.
Whenever I send a message to Instagram, the webhook triggers multiple times.
I just can’t seem to figure this out.
I looked into solutions with Claude or ChatGPT, but none of them worked.
When I looked at the resources I found on YouTube, they didn’t have that problem at all.
I tried external solutions myself. Each message generates a “mid” number, and even if I try to filter them, I think the mid values change because the webhook triggers the same message multiple times, but I’m not sure.
How can I solve this problem?
If anyone has experienced this and solved the problem, I would appreciate their help.



