Hey Michel,
Yes, this approach will work.
An alternative would also be to write cookies to the order attributes (via Shopify API after the order is created), so in webhook this would also be available.
I can also recommend using the Flow app in Shopify to build the webhook - this will avoid the hassle of mapping data on the server for standard webhook as you can create the structure of the webhook payload you need in the Flow app.