Inside my scenario I set up a variable and initialize it with the name CC and with the value 1711, then I add the increment function module in order to increment CC to 1, however the increment I get in i is equal to 1 (i=1).
What I would like to do is to be able to increment the variable CC to 1 each time I run the automation, ie:
Run 1 CC = 1711
Run 2 CC = 1712
Run 3 CC = 1713 and so on.
Is this possible?
The purpose is to be able to create a folder with the following structure 1711 (Any name)
Thank you!
1 Like
May I suggest searching for the last created folder’s name, and simply incrementing from there?
To do this, you can try using the Google Drive “Search for Files/Folders” module —
Searches for files or folders based on search criteria.
For more information, see https://www.make.com/en/integrations/google-drive, and https://www.make.com/en/help/app/google-drive in the help centre.
Example
Here is an example of how your scenario could look:

This is just an example. Your final solution may or may not look like this depending on your requirements and actual input data.
Hope this helps! Let me know if there are any further questions or issues.
— @samliew
P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.