The Deterministic Rules Engine provides a user-configurable automation system where you define exact conditions and actions—same inputs always produce identical outputs, with no AI interpretation.
While AI sorting handles nuanced organization, sometimes you need precise, predictable control. The Deterministic Rules Engine lets you create IF/THEN rules with exact conditions: if a filename contains "invoice" and the file is a PDF, move it to Finance/Invoices. These rules execute the same way every time, making them ideal for compliance workflows, automated pipelines, and situations where consistency is critical.
You build rules using a visual Rule Builder with three components: conditions (what files to match), logic operators (how to combine conditions), and actions (what to do with matches). Conditions support comparators like equals, contains, regex, numeric ranges, and date-based filters. You can nest condition groups with AND/OR/NOT logic for complex matching. Rules run in priority order, and you can preview results with dry-run mode before applying changes.
Open Sortio and go to the Rules tab
Click "Create Rule" and choose the visual Rule Builder
Set a name and priority for your rule
Add conditions using the condition builder
Combine conditions with AND/OR/NOT as needed
Define actions (move, rename, etc.)
Use dry-run to preview which files would match
Enable the rule to start processing files
PDFs containing "invoice" automatically move to Finance/{year}/Invoices
Files starting with "Screenshot" go to Screenshots/{date} with timestamp rename
Files over 100MB modified in the last 30 days move to Archive
All .psd files to Design/Source, all .jpg to Design/Exports
Ensure specific file types always land in designated folders
Visual interface to build conditions with field, comparator, and value
Combine conditions with ALL (AND), ANY (OR), or NONE (NOT) logic
Set execution order—lower numbers run first
Run rules before AI sorting, after AI sorting, or standalone
See exactly which files would be affected before applying
AI sorting interprets your intent and makes intelligent decisions about file organization. Deterministic rules follow exact conditions you specify—same inputs always produce identical outputs. Use AI for flexible, context-aware sorting; use deterministic rules when you need guaranteed, repeatable results.
Yes. You can configure rules to run before AI sorting (to handle specific files first), after AI sorting (to post-process results), or standalone. This gives you precise control over critical files while letting AI handle everything else.
The engine includes 20+ comparators: equals, not equals, contains, starts with, ends with, matches regex, greater than, less than, between, in list, modified within, has tag, exists, and more.
Yes. Dry-run mode shows you exactly which files match your conditions and what actions would be taken—without actually moving or modifying anything. This lets you refine rules safely before enabling them.
Experience the power of Deterministic Rules Engine and transform how you organize your files with Sortio.
Download Sortio FreeWe use strictly necessary cookies to run the site. We also use optional analytics, marketing, and preference cookies if you agree. You can change your mind anytime via the "Cookie Settings" link in the footer. See our Cookie Policy and Privacy Policy.