Hi @Anonymous ,
It seems you want to get all the lists in your SharePoint subsite.
Then checking each item whether they older than X years.
I suggest you use the 'Get lists' action of SP.

Best Regards,
Community Support Team _ Zhongys
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.