Read the directory using Directory List node
Using the date columns from the output of the Directory List node (created or modified date), filter and split out the files that are older than X
Then you can link that to a Transform node, and in your Transform you can use this script to loop through and delete the files:
Configure Fields:
import os
Process Records:
os.remove(in1.FileName)
It should loop through each file and delete it one by one
------------------------------
Alex Day
Knowledge Community Shared Account
------------------------------