{ "format": "sortcerer-rules", "groups": [], "rules": [ { "actions": [ { "template": { "template": "Your Bank Name {statement_date:yyyy-MM}" }, "type": "rename" }, { "template": { "template": "~/Documents/Statements/Your Bank Name" }, "type": "move" } ], "collisionPolicy": "renameWithSuffix", "folderPath": "~/Downloads", "id": "CBAE274B-F727-5BF0-BD22-F7AB6C217E06", "isEnabled": false, "name": "Bank statements by month", "rootGroup": { "join": "and", "nodes": [ { "condition": { "type": "fileType", "value": "pdf" }, "type": "condition" }, { "condition": { "match": { "caseSensitive": false, "mode": { "type": "literal", "value": "Your Bank Name" }, "occurrenceIndex": 1, "operatorType": "contains" }, "type": "contents" }, "type": "condition" }, { "condition": { "match": { "captureName": "statement_date", "caseSensitive": false, "mode": { "pattern": { "rule": { "dayOrder": "monthFirst", "detection": "automatic", "includesMonthYear": true, "missingDay": "firstOfMonth", "parts": { "dayStyles": [ "number", "paddedNumber" ], "layout": "monthDayYear", "monthStyles": [ "number", "paddedNumber", "abbreviatedName", "fullName" ], "separators": [ "slash", "dash", "dot", "space" ], "yearStyles": [ "twoDigit", "fourDigit" ] } }, "type": "dateRule" }, "type": "pattern" }, "occurrenceIndex": 1, "operatorType": "contains" }, "type": "contents" }, "type": "condition" } ] }, "trigger": { "type": "liveEvents" } } ], "version": 1 }