Describe the problem/error/question
Infinite Loop in Messenger AI Workflow:
Reponse is sent automatically to the user in messenger, and it never stops. I need to deactivate the workflow manually.
This is happening in production stage.
I tried several approach: Added webhook at the end of HTTP node with response OK to send facebook message that I have received the message.
I have added ‘if’ node before ‘AI’ node and added 2 conditions to check so the loop can be broken based on empty message or same sender (messenger user) and recipient id (page id)
I tried to match them by hardcoding the page id. Nothing worked.
Thank you very much for your patience. I am very new to this platform. Need Help…
What is the error message (if any)?
No error message as there is no error in the workflow apparently
WORKFLOW IMAGE (AI PART AS FACEBOOK VERIFICATION WORKS FINE) - JSON IS GIVEN BELOW THE IMAGES
Please share your workflow
Information on your n8n setup
- n8n version:
- Database (default: SQLite): Postgres
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app): Running on Render via Docker Image
- Operating system: Ubuntu





