Create multiple folders with new name each time

I want to automate the creation of several folders in google docs, specifically the naming of them. I want the first one to be called "folder 1", the second "folder 2", etc.

The part I am struggling with is trying to find a way to have each new folder's name be +1 of the last one. Is there any way to do this (maybe with the insert text action or something)?

You can use a counter variable that's incremented by one each time the macro is run, and use that when pasting the folder name:

image

1 Like

Thanks for the info! This is exactly what I needed!

1 Like