I have a single workflow that does the following:
- Downloads a random image from my google drive folder
- Analyses the image with ChatGPT DALL-E to determine it’s category
- Generates custom text based on the category and posts the image to Instagram
- For example, one category is “Movie Poster”, another is “Portrait”.
- Moves the images to a different Google Drive folder (‘Posted’ or ‘Failed’)
It does this on a schedule, and it works. I like that I can just dump my images into a single folder and let ChatGPT handle the sorting. But I don’t like how big and messy this is. As I add another category, there’s more to copy and paste. And if I need to update a part lower in the chain, I have to do it for every single branch (and I really try to use the “Don’t Repeat Yourself” principle).
I feel like I might be using the router wrong, or missing something. I only need the router for a single part: using a different ChatGPT completion prompt depending on the category of images the DALL-E analysis returns. After that part, the rest of the chain is the same (post to Instagram, move to folder).
Any ideas?
Welcome to the Make community!
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:
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.
(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 and select “Download output bundles”.
A.
Save the bundle contents in your text editor as a bundle.txt
file, and upload it here into this discussion thread.
Uploading it here will look like this:
bundle.txt (12.3 KB)
B.
If you are unable to upload files on this forum, alternatively you can paste the formatted output bundle in this manner:
-
Either add three backticks ```
before and after the code, like this:
```
input/output bundle content goes here
```
-
Or use the format code button in the editor:
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