Hi Gianmaria!
I would look into using the acf/update_value filter found here: https://www.advancedcustomfields.com/resources/acf-update_value/
You can even specify which fields you want to filter using the name={$field_name}
query.
Please let me know if you have any other questions or need anything else clarified.
Phil