Pictures from Google Drive - Upload to GPT and data to Instagram for business

I’m working on creating a workflow that seems straightforward but has proven challenging. My goal is to:

  1. -Start with a Google Drive folder containing only pictures.
  2. -Use GPT-4 to analyze these pictures and generate captions suitable for Instagram.
  3. -Combine each picture with its corresponding caption and upload them to Instagram for Business and Facebook.

I’ve tried various methods so far:

Using the “Watch Files” module in Google Drive to obtain shared links.
Employing tools to modify the URL to a static one.

( {{substring(9.shareLink; indexOf(9.shareLink; “/d/”) + 3; indexOf(9.shareLink; “/view”))}}

Despite my efforts, nothing has worked, and I’m feeling quite frustrated. I would greatly appreciate any guidance or suggestions on how to achieve this workflow.

Thank you in advance for your help!

Phuu, if someone is hitting the same problems, kindly take a look at this Gentlemen:
[Issue with Base64 Image Handling in OpenAI Module Starting from Google Drive - #2 by samliew]

If selecting Image in GTP for Vision, turn off Map !

2 Likes