Hi Experts,
I am trying to create flow which will delete items from recycle bin of sharepoint after 7 days. I have attached the photo below.
1st i will do Http request to filter required directory file and to select ID and deleted date.
2nd I used Apply for each with Body.D.Result from json
3rd Compose with item()?['DeletedDate'], item()?['id']
4th I compare Deleted date with formatdatetime and I get output if the argument is true or false
5th If the argument is true I want to delete the item.


Please give me suggestion to improve the flow anddelete the item which is more then 7 days