Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
Hi, I'm using nofraud to screen orders for risk. It always tags my orders with tags like nofraud_skip, or nofraud_merchantskip. Once screened, I have to capture payments manually and I'm trying to automate that by inputting the tags into Flow and getting them to capture themselves. For some reason, Flow isn't reading the tags, therefore not capturing. Here's my workflow, along with the conditions and the error I'm getting.
Solved! Go to the solution
This is an accepted solution.
Hi! Thanks for your response. With the info you gave me, I decided to set a 'wait' action before the tag conditions for 2 minutes. Hopefully this will give nofraud enough time to tag the orders. I also changed the first node to 'order created' instead of 'order risk analyzed'. I'm gonna let this run for the day and see how it goes.
Hi, I suspect there's a race condition between nofraud adding the tags, and the Flow Workflow being run.
For example, the Workflow may run before nofraud has added the tags, as these are 2 distinct async systems. The Order Risk Analyzed trigger only relates to Shopify Risk Analysis, so there's no guarantee that nofraud has completed yet.
Unfortunately, there's not much we can do here unless nofraud implements a Flow trigger so that the Workflow can run after nofraud has completed analysis.
To learn more visit the Shopify Help Center or the Community Blog.
This is an accepted solution.
Hi! Thanks for your response. With the info you gave me, I decided to set a 'wait' action before the tag conditions for 2 minutes. Hopefully this will give nofraud enough time to tag the orders. I also changed the first node to 'order created' instead of 'order risk analyzed'. I'm gonna let this run for the day and see how it goes.
Ah, yeah, wait is a good idea, not sure why that didn't occur to me. It's not a guarantee, but definitely decreases the likelihood of a race condition, and if time is not a factor, you can increase it further if need be.
To learn more visit the Shopify Help Center or the Community Blog.
Update: It's working perfectly! All my nofraud-screened orders are being captured automatically after a brief 2-minute wait period. Thanks again for helping to identify the issue!
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025