Need help using data stores

Hi! I’m currently running a scenario where a PDF is generated in Abyssale and uploaded to a specific folder in Box.com. I want to automate renaming the file—either before it’s uploaded or immediately after.
I found that Box does allow renaming after upload, and someone suggested using Make to automate this. I was told I can add the “Update a File” module from Box after the upload step in Make, and pass a dynamic filename like:
File_{{formatDate(now; "YYYYMMDD-HHmmss")}}.pdf
That works well for timestamped names, but ideally, I’d like to use sequential naming (like File_001.pdf, File_002.pdf, etc.) to make tracking easier.

I’ve been advised that I can use Make’s Data Store to store and increment a counter for this. However, I’m not sure how to set that up in Make. Could someone explain how to use the Data Store to manage the sequential counter and apply it to file renaming?
A visual example or step-by-step explanation(if possible) would be super helpful!

Thanks!

Hey Sahil,

you can search the existing files and check the name of the last one than +1 it to get sequential naming.

If the Make scenario is the only thing uploading files there, then you can use an incrementor module set to Never reset.

Or the Data store yes. Here is how to manage data stores in Make.