Autoposting to social: how to match the content and corresponding images

I am working on my workflow to have autoposting social media post.

My workflow is:
Google form to collect content and upload image > update Google sheets > call Google Sheet content to LLM > download an image from Google drive > post

My issue:
I find it works well if there is only one submission before running to post it. However, when there are two or more contents and images pending before running the workflow. The workflow can select the first content but mistakenly select the last uploaded image for posting.

So, I am asking for how to match the content with the respective image?

Great thanks!

Hi @FH,

To match content with the respective image, storing the file ID of each image in the Google Sheet alongside the content would be a good solution.

This way, the content and image will always be linked correctly, even if multiple submissions are pending.

Let me know if you require any additional assistance!

Great thanks for your prompt response!

However, I am sure how to set that file ID as you mentioned. Can you explain more a bit?