Add billing Country Code or Country name tag on order

Hi,

As we are shipping from Spain to different countries, I would like to know how we can add automatically a tag on the order using Shopify Flow with the country name or country code where the order is being shipped/billed.

What we want to do with it is to make easier for our team to identify the country VAT. For now, on the order is displayed the VAT% but there’s none one separated field for our ERP with the billing country.

Could you please help me? I know it is possible with Shopify Flow.

Thank you!

If you’re using Flow and are able to tag based on order JSON data, then you can use: order.shipping_address[“country”]

Hi

Just jumping on this. A little confused.

I’d like to add a tag of the country code please as an action in the flow - I added this but it isn’t working so just lookin for some advise:

{% for customAttributes_item in order.customAttributes %} {% if customAttributes_item.key == “order.billingAddress.countryCodeV2” %}Country code:{{customAttributes_item.value}},{% endif %} {% endfor %}