Hi here's one I made. Nothing fancy just a bunch of if/else statements. This assumes Magnet has default keybindings. But if you did change your mappings, workflows intuitive enough to change on your own.
To trigger the workflow, just type `mg` (you can change this too by editing the workflow)
https://1drv.ms/u/s!As2o5OQjnQj8jZ9agLSBJW49HSBMlg?e=dAFQb8