Most people accomplish this automatically using radarr/sonarr. Trashguides is commonly recommended for people to understand how to set it up correctly.
If you want to manage your torrents and files manually it gets tedious fast, so I recommend setting up radarr/sonarr. If you're like me and don't agree with the trashguides policy of "always grab the highest quality file available", then just disable monitoring and use "interactive search" for torrents or manually import files from torrents that you download normally.

