Hi everyone,
I'm trying to automate a workflow where emails I receive are analyzed automatically using ChatGPT. Many of these emails include PDF-attachments, and I want those attachments to be uploaded to OpenAI so that they can also be processed by ChatGPT.
The workflow is set up like this:
The trigger is a new email in my inbox. I then take the attachment directly from the email and upload it to ChatGPT using the Upload File action.

In the next step, I try to access the uploaded file in a new conversation with ChatGPT. I use the File Search model and pass the File ID from the Upload File step.

However, I receive an error stating that the PDF file cannot be accessed. I'm not sure what the issue is, and I’d really appreciate any help. Could it be because the file always shows as "exists but not shown"? Or is there another way this should be handled?
Thanks in advance for any guidance!