Post random photo to instagram from photo bank

I Have a bank of photos, I am trying to make a work flow that randomly selects one of those photos and posts it to insatgram. It seems like a simple enough goal, but i cant figure it out.

Welcome to the Make community!

Could you provide more details? Which service is your photo bank? How many photos are there in it? What does your existing scenario look like, and are there any errors?

1. Screenshots of module fields and filters

Please share screenshots of relevant module fields and filters in question? It would really help other community members to see what you’re looking at.

You can upload images here using the Upload icon in the text editor:
Screenshot_2023-10-07_111039

2. Scenario blueprint

Please export the scenario blueprint file to allow others to view the mappings and settings. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.

Screenshot_2023-08-24_230826
(Note: Exporting your scenario will not include private information or keys to your connections)

Uploading it here will look like this:

blueprint.json (12.3 KB)

3. And most importantly, Output bundles

Please provide the output bundles of the modules by running the scenario, then click the white speech bubble on the top-right of each module, save the bundle contents in your text editor as a bundle.txt file, and upload it here into this discussion thread.
Screenshot_2023-10-06_141025

Providing the output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.

Following these steps will allow others to assist you here. Thanks!

2 Likes

use chatgpt to generate a random number, and use that to select file name. Or list all the names of your files in the chatgpt prompt and tell it to pick one at random.

This is an overkill because Make already has a random variable for that

2 Likes

solution I have used:

  1. Put all your files in a google drive folder
  2. create a Google sheet with 2 columns: Column A has your file names, Column B has the formula =rand() next to all file names in column A
  3. Google Apps Script that refreshes the sheet every day at midnight (I assume you do this daily, but it can be any interval you need)
  4. Make module (google sheet ‘search rows’) that pulls the value in column A based on a descending (or ascending) order in column B. This is the part that randomizes the selection
  5. Make module (google drive ‘search files/folders’) that searches the folder from #1 for the file name from #4
  6. Make module (google drive ‘download file’) that downloads the file output from #5
2 Likes