Finding Mileage Between IP and Shipping Address in Flow

Finding Mileage Between IP and Shipping Address in Flow

zbetters
Visitor
1 0 0

Hi all,

 

So my team and I are trying to find a way to capture the distance between the IP address and the shipping address of any given order. I see that the value does exist since it is shown in the fraud analysis section of an order (ie: "Shipping address is XX miles from location of IP address"), but I don't see any way to interact with it via Flow. We are trying to achieve this so that we can tag orders that are shipping to a location 500+ (or so) miles away from where it was purchased (the IP address). Is there any possible way to do this? Thanks in advance!

 

-Zach

Replies 2 (2)

Beacon-Jason
Shopify Partner
284 17 62

Hi @zbetters 

 

We are not aware of other apps or Shopify Flow being able to do this except our app Beacon. 

 

Beacon has this exact feature where you can measure, flag, then tag the order based on the distance between the IP address and the default address in KM when the threshold is hit.

 

I've pasted this below of some screen caps of this feature in our app. 

Screenshot 2023-03-22 at 4.37.36 PM.pngScreenshot 2023-03-22 at 4.37.16 PM.png

 

I hope this answers your question. 

 

Decrease fraudulent orders, stop chargebacks with Beacon. The most customizable fraud and risk management system built for Shopify businesses

https://apps.shopify.com/beacon

paul_n
Shopify Staff
1188 144 279

That exact text is available via order / risks / message, which you can access via Flow. If you want to use the actual number, you'll have to write some liquid to split it out. Also realize that sometimes the data isn't available, so you'll need to have when there is no match for that string. 

Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.