Hello everyone, I hope you are all doing great!
This is my first post here, so I hope I am doing it the right way.
I have a question about the “Watch files in a folder” module for Google Drive. Is it possible to set the path using dynamic variables?
I would like to have an input on my scenario and the its value to build the path that needs to be watched.
For instance, I have the following file structure:
|->XYZ->|->XX
| → YY
The input is “XX” so the file that needs to be watched is “XYZ\XX”.
Thanks for taking the time to read my message and have a nice day!
2 Likes
Hi @Baboune Welcome to the community!
You can use this setup in “Search files” module
Let me know if you need more help!
Best,
@Prem_Patel
1 Like
@Prem_Patel is correct.
Following which, you can filter the file by Modified Date, with the last time the scenario ran.
To do this, you can use the built-in function:
The function may have also been covered in the Make Academy tutorials — refer to the Make Academy Course Overview for more info.
Here’s an example of how you can use the function, if your scenario is running every hour:
{{ addHours(now; -1) }}
(copy-paste the above into the field, or type it exactly as shown)
Hope this helps! Let me know if there are any further questions or issues.
— @samliew
P.S.: investing some effort into the tutorials in the Make Academy will save you lots of time and frustration using Make!
1 Like