Hi @christofkoller,
@Meneghino is right.
This should be better done with Microsoft Flow.
As Mabel suggested in your another thread, currently there is no available trigger or action to work with the Metadata of the SharePoint library file.
But we could workaround it by using the SharePoint ->Get items action.
For example, we would like to run it in a schedule, the steps should be:
1. Add the Schedule trigger, specify the recurrency that you prefer,
2. Add the SharePoint -> Get items Action, Specify SharePoint site, under List name, choose to enter custom value, then enter the Library1 Name, click on advanced option, under Filter Query part, enter the filter option, assuming the column field is a Text field, which named as State, then the filter Query should be: State eq 'Done'
3. Add SharePoint->Get File content Action, enter SharePoint site address, use the File identifier Dynamic content from the Get Items, doing this would automatically add an Apply to each,
4. After the Get File content Action, add SharePoint-Create File Action, specify the site address, folder path, use File Name Dynamic content from Get items Action, File content from the Get File Content Action,
5. After the Create File Action, add delete file action, enter the site Address, use the Identifier from the Get items Action.
Screenshots below:



Regards,
Michael