Hey @ljcn, glad to hear that you are enjoying n8n and that you found the other posts helpful 
You can accomplish that using a Function node. You can subtract the modified date from the current date to check if that is greater than 180 days. I created a sample workflow that showcases how to do that.
{
"nodes": [
{
"parameters": {},
"name": "Start",
"type": "n8n-nodes-base.start",
"typeVersion": 1,
"position": [
250,
300
]
},
{
"parameters": {
"functionCode": "return [{json: {id: 1, title: \"hi\", date: \"2020-10-20T10:20:45\"}}, {json: {id: 2, title: \"hi world\", date: \"2020-12-20T10:20:45\"}}];"
},
"name": "Function",
"type": "n8n-nodes-base.function",
"typeVersion": 1,
"position": [
450,
300
]
},
{
"parameters": {
"functionCode": "const newItems = [];\nconst olderThan = 180;\n\nfor(let i=0; i<items.length; i++) {\n if(parseInt((new Date() - new Date(items[i].json.date))/(1000*60*60*24)) > olderThan) {\n newItems.push({json: items[i].json});\n }\n}\n\nreturn newItems;\n"
},
"name": "Function1",
"type": "n8n-nodes-base.function",
"typeVersion": 1,
"position": [
650,
300
]
}
],
"connections": {
"Start": {
"main": [
[
{
"node": "Function",
"type": "main",
"index": 0
}
]
]
},
"Function": {
"main": [
[
{
"node": "Function1",
"type": "main",
"index": 0
}
]
]
}
}
}
In this workflow, you’ll notice that I use the first Function node to simulate the data that you posted above (simplified version). In the second Function node, I convert the incoming date to milliseconds for subtraction with today’s date. I then convert the milliseconds into days and check if that is older than 180 days. If it is, the record will be passed on as input to the next nodes. If not, this node will not send any data to the next nodes.
const newItems = [];
const olderThan = 180;
for(let i=0; i<items.length; i++) {
if(parseInt((new Date() - new Date(items[i].json.date))/(1000*60*60*24)) > olderThan) {
newItems.push({json: items[i].json});
}
}
return newItems;
For you use-case, you might have to adjust the code in the function node a bit to point to modified
or modified_gmt
instead of date
. I hope that helps 