@dims12
What do you Mean by New year?
Is it the financial year or calendar year?
From your question I think you want the data for 2023 to get archived when 2024 sets in.
Is that correct?
You can build a recurrence flow that runs start of each year on 1st Jan at 12:AM and queries SharePoint with a oData filter query in your Get items
'Your SharePoint date Field' lt utcNow()
This will return you all previous year data. Which you can delete by employing a loop.
Note: Get items will only return 500 records. If your data is more than that you will need to adjust the value.