Library / Files & Cloud Storage
Files & Cloud Storage
Sort local folder files into subdirectories with Mistral AI
Runs when files in a watched local folder change, asks Mistral AI where top-level files should go and which subfolders to create, then moves them with shell commands.
What it does
## Try It Out! ### This workflow does the following: * Monitors a target folder for changes using the local file trigger * identifies all files and subdirectories in the target folder and passes this to Mistral AI * Mistral AI suggests where to move top level files into which subdirectories. It can also suggest subdirectories tp create if none are suitable. * Finally, we take the AI's suggestions are perform the move operations using the execute command node. ### Need Help? Join the [Discord]({{ $env.WEBHOOK_URL }} or ask in the [Forum]({{ $env.WEBHOOK_URL }} Happy Hacking!
The steps
- Local File Trigger
- Get Files and Folders
- Files and Folders to Array
- Mistral Cloud Chat Model
- Structured Output Parser
- Set Variables
- Move Files into Folders
- If Has Target Files...
- Get Suggestions to List
- AI File Manager
- Error Handler
Similar automations
Files & Cloud StorageSort files in a watched folder into subdirectories using Mistral AI11 stepsFiles & Cloud StorageOrganise Local Folders with Mistral AI10 stepsFiles & Cloud StorageOrganize Local File Folders with Mistral AI10 stepsFiles & Cloud StorageClassify New Local Files with Mistral AI12 steps