Hello,
I have a scenario where I upload a batch of pictures to my social media accounts. Since they are bulk-created, most of them have a similar look but different text. I have around 10 preset styles. Here is what I want to do:
I’d like the scenario to randomly select one of the files (pictures) and start the process. This way, my social media accounts won’t post the same image repeatedly.
I’m not sure if this is possible, as I’m new to this. Here is the scenario. If you have any advice on how I can improve this process, I’m open to feedback. Thank you, and let’s automate!
Welcome to the Make community!
If you want to get a random file, you cannot use “Watch Files in a Folder” trigger.
You can use “Search for Files” instead. Then, aggregate the files to an array, shuffle, and pick the first using the built-in functions.
samliew – request private consultation
Join the Make Fans Discord server to chat with other makers!
And If I do so, wouldn’t I need to set the array everytime I upload new content?, Because now, there are, lets say, 30 images, but If add 30 more, for a total of 60. Wouldn’t I need to det the array for more items?..
I dont know if I don’t understand very well how array works.
Thanks
If you use Search for files and the array aggregator, you are basically building the array everytime the scenario runs.
samliew – request private consultation
Join the unofficial Make Discord server to chat with us!