Hello! Is it possible to use a blobKey that was created in a different flow? I have the following flow structure:
Flow 1: Preps staged file data for upload into Shopify. The flow retrieves the file(s) data from the source app (Salsify in this case) and the file is retreived and stored in Celigo and I get the blobKey. I retrieve the file data here because I have to provide the computed file size to Shopify, which passes this data to their Google storage to generate a policy for upload and Google will reject it if it doesn’t get the file it expects so it has to be very specific. The file data is then staged to Shopify and I pass the record data to a second flow, Flow 2. This works great.
Flow 2: Listens for the record data from Flow 1, pushes the data to Shopify’s Google storage, and then uploads the final file data into Shopify. The files need to be uploaded to Google storage as form-data so the blobKey from Flow 1 is used to send the blob data as a form-data attachment. However, I get a “Could not locate the blob object with blobKey“ error when uploading to Google storage.
I had this set up originally in a single flow and it worked great, but I was testing with a single file. I can receive up to 7 files per record from Salsify which made the data structure messy, and Shopify uses 2 separate Google storage buckets for video and image uploads which forced me to branch and the data structure was not providing me the data I needed for selection. There wasn’t a way to rearrange the data so it paged differently so I opted for the chained flows to simplify the data structure so I could branch and upload the files to Google.
So, all that being said, I know that the blobKey reference works in a single flow but when I reference it in the second flow it doesn’t have any awareness of it. Can you use a blobKey in a flow separate from the one it was generated in?
Thanks!