Hi A_oxolins,
Flow isn’t able to access metafields through the dot-delimited way that the Online Store editor can.
Liquid like this to replace the first line of your Value field may help:
{% assign accumulation = 0 %}
{% for metafields_item in order.customer.metafields %}
{% if metafields_item.namespace == "loyalty" and metafields_item.key == "points" %}
{% assign accumulation = metafields_item.value %}
{% endif %}
{% endfor %}
Hope that helps!