File Sorting with Apple Intelligence (iPad)
Have some time off my “normal” job, so spent some time playing around with Shortcuts (as one does). Really wanted to see what Apple Intelligence can handle. Inspired by some of the videos that are going around about Claude & file management, decided to see if I could replicate this on iPad. Ended up piecing together 4 shortcuts that will sort files based on a file name (I’m also seeing if I can create one that renames files reliably). Pleased with the initial results - seems to be getting ~90% of my files automatically sorted, and usually just takes a little TLC (either giving a better file or folder name) to get the rest.
Finding that this works really well in limited capacity. Since my iPad/iCloud Drive is mostly my personal stuff, I’d like to get to a point where this is just running every night on my Documents folder and auto filing everything (basically so i can stay in one spot). Finding that the cloud/ChatGPT models run into token limits quickly, so really can only run this on ~10-12 files before it shuts down for a bit.
Shortcuts:
1) Sort Files in Folder (https://www.icloud.com/shortcuts/aa47a5249d3f49f0a03e24d8850601c4) - this is the main shortcut that prompts for a folder, selects all of the (non-folder) contents, then runs it through the Sort File shortcut.
2) Sort File (https://www.icloud.com/shortcuts/b531db8d6a79439798c5083f3dc0396a) - There’s some ancillary stuff to let this either run from another Shortcut or directly (for testing). From here, I use Data Jar to check if the folder should have directories (and allow the shortcut to create new ones if needed). From here, the shortcut uses the On Device model (🤯) to determine the best folder match. Usually if a folder can’t be found, this will call into the Create Folder shortcut and prompt for a new file.
3) Create Folder (https://www.icloud.com/shortcuts/728e9ed7ab1444a8bdb355d4224927b1) - This uses the Private Cloud Compute model to analyze a file and return a common folder name. It then creates the folder and moves the file. Admittedly, this is kind of hit/miss on the model actually being able to access the file (seems to really struggle with “scans” - photos of documents saved as PDFs).
4) Get Folder from File (https://www.icloud.com/shortcuts/e545f17ad7ab40279e09da130d46300c) - I think I use this in all/most of the above shortcuts. This will grab the folder that a file is residing in. Find this really helpful to call into (similar to a “function” in traditional coding). Really kind of stinks that this only works if the file is picked from the Shortcut. Starting from the share sheet sandboxes the files, so they have no awareness of where the initially came from).
Here’s a video of the shortcut in action and a quick scroll through of the setups.
ScreenRecording_02-26-2026 21-04-23_1.mp4