Hi @LRW1
You don't need separate loop for creating file in one drive.
Pls add create file action within "Apply to each 3" block. You need to pass the content of the file from the output of get attachment action as shown below:

If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.