I would guess that your problem is that the product id you entered is the id of a main product, but you're actually buying a variant of that product with a different product id
That's exactly what is causing the issue, thank you!
I solved by changing the filter order_product_name and inserting part of this product name
now the action works
My only doubt is: since this action changes the order status from "confirmed" to "gift" (so I can identify the order easily in the orders list), but after sending the gift to the client I have to change the order status back to "confirmed", will the action be triggered again and change it back again to "gift" ? In this case maybe it's better if I change it back to a status like "gift confirmed" to avoid any issue...
Current settings:
nimb.ws/yMVHE7
Thank you