Add order line item pulling from different location to existing order items

We have a 'Gift Flow’ set up in Shopify as the following:

  1. When an order is created and customer orders = 0
  2. Add an order line item using variant ID

On POS sales this is adding from the wrong location. It should presumably use the same location as the POS and the rest of the order (if possible) however it doesn’t seem to work that way. There also doesn’t seem to be a way to control for this in the flow step itself.

Hopefully just missing a step somewhere, thanks in advance!

Hi, there
Does the first condition refer to first-time buyers?**

Yes that’s correct, it’s a filter for first time buyers

you can do this using Shopify flow .see my pic below. the line item is your gift product variant

There is no issue with adding the order line item, the issue is the line item being added is using a different stock location from the one POS uses.