Hi everyone,
I built a workflow in n8n that integrates ManyChat with Shopify to allow users to check their order status automatically.
The workflow asks the user for an order number, then the AI agent searches Shopify and returns the order details.
However, I am facing an issue where the workflow executes successfully but returns incorrect information.
Here is what happens:
-
The user sends an order number in ManyChat.
-
The workflow runs successfully in n8n.
-
But the AI agent responds that it cannot find the order, even though the order exists.
Interestingly, the same order number worked correctly one week ago, and the workflow returned the correct order details.
When I checked the execution logs:
-
The workflow runs successfully.
-
It fetches some orders from Shopify.
-
But it does not return the specific order that the user provided.
It looks like the system may be:
-
Fetching only a limited number of recent orders
-
Or not filtering correctly based on the order number.
I have attached a Loom video showing the full workflow execution and the issue.
I would really appreciate any suggestions on:
-
What might be causing this issue
-
Whether this could be a limit in the Shopify node
-
Or if the AI filtering logic is incorrect
Thank you in advance for your help!