Hello @davidh2892249 , Yes there is a better way, you can use the OOTB
Personalization tab in delivery properties to query your schema,get the
coresponding line for your delivery and store it in a Javascript object
that you can use in your HTML : Br, Amine