Library / Files & Cloud Storage
Files & Cloud Storage
Sort files in a watched folder into subdirectories using Mistral AI
Runs when files change in a local folder, asks Mistral AI which subdirectory each top-level file belongs in, and 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 local folder files into subdirectories with Mistral AI11 stepsFiles & Cloud StorageOrganise Local Folders with Mistral AI10 stepsRAG & Knowledge BasesChat with Financial Documents Using Qdrant and Mistral23 stepsFiles & Cloud StorageClassify New Local Files with Mistral AI12 steps