Hi @PytByt
You can click on the images and see a better resolution. Path wise here is the flow :
When an item is created or modified -> Initialise an array variable with empty value. -> Check if the item has any attachments -> if yes, Get the attachments by item ID -> Apply to each of the attachments and populate the array with the name split by the identifier for each attachment. If the identifier exists, then do nothing else Get the attachment content and create a new one with this conetent but the name will be appended along with the ID and then finally delete the previous attachment.
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!