Hello, everyone!
I’m facing an issue with processing user-uploaded data through a workflow in Bubble when trying to integrate it with GPT for analysis. Here’s a breakdown of the problem:
The Problem:
- Manual Upload: When I manually upload a CSV file to my app, it works fine. Bubble assigns the file to the app admin, and GPT is able to access the uploaded data and respond to the user’s question.
- Workflow Upload: However, when the file is uploaded through a workflow (using the File Uploader), it seems to be created by “nothing” (not associated with any user), and GPT is unable to process or access the uploaded data. I get an error after the user submits their question.
Steps Taken:
- I’ve used a CSV-to-JSON parser, and the data is correctly formatted for GPT (JSON format).
- The file is successfully uploaded through the workflow, but for some reason, GPT cannot read the data or respond to user queries when the file is uploaded this way.
- There seems to be a permission or reference issue related to how the file is stored and accessed by GPT when uploaded through the workflow.
What I’ve Tried:
- Ensured the file is uploaded properly via workflow and checked if the correct file reference is passed.
- Verified that the data is correctly formatted and parsed into JSON.
- Checked that the file is associated with the correct user (as with manual uploads) but still facing issues when the upload is via workflow.
My Question:
- Does anyone know why the file uploaded via the workflow is treated differently, or how to ensure it’s accessible for GPT to process?
- Could this be a permissions issue, or a file reference issue? How can I fix this so GPT can read the uploaded file correctly after a workflow upload?
Any help or suggestions would be greatly appreciated!
Thanks in advance!