Really struggling to see why this is so difficult. Currently I have a Form with attachments.
The file is stored in a Team Site and I re-create the file in another Site, this works fine.
I now want to delete the original file.
I parse the JSON for the Form and I get the id and referenceId.

"Get file properties 2" requires the id, so I use
first(body('Parse_Dust_Blown_Out_Photo_JSON'))['id']

"Delete file" requires he identifier, so I use
outputs("Get_file_properties_2')?['body/{Identifier}']

I get an error on "Get file properties 2"

"OpenApiOperationParameterTypeConversionFailed. The 'inputs.parameters' of workflow operation 'Get_file_properties_2' of type 'OpenApiConnection' is not valid. Error details: Input parameter 'id' is required to be of type 'Integer/int64'. The runtime value '"01TT7QJCM3ZZYGZ27XVRG2GBHZGATFRSCI"' to be converted doesn't have the expected format 'Integer/int64'."
What does that mean and how do I fix this?