Shortcut to write to a file
I'm getting variable and frustrating results with a very simple task. I created a shortcut to pass a text variable to the Append to Text File function to write the result to a file. The default location is 'Shortcuts' folder at the top level of iCloud Drive (see image). If I use 'Desktop' as the location, the file is not written to the Desktop folder, but instead reverts back and creates a file in the Shortcuts folder. If I use 'Documents' as the location, I get an error stating I don't have permission. If I use a personal folder I create at the top level within iCloud Drive, the file is written to the correct location. Why the different behaviors? I would prefer to write the file to a subfolder in 'Documents' which makes the most sense.
MacBook Pro (M2, 2022)