Hey everyone,
We’re working on a data pipeline where information comes in lots. Each lot contains multiple related documents — like agreements, vehicle RCs, and other PDFs. We’ve created a Lot object to represent each batch of data, and we have separate objects for the document metadata (agreements, vehicles, RC info, etc.).
The part I’m not totally clear on:
We’re uploading the actual PDFs through the Media Uploader widget in Foundry. What’s the best way to associate each uploaded PDF with its corresponding Lot?
My initial thought was to:
-
Create a Lot object,
-
Link or reference all other objects (agreements, vehicle RCs, etc.) under that Lot,
-
But I’m not sure how to cleanly assign those uploaded PDFs to the correct Lot — especially since uploads happen independently via the widget.
Is there a recommended pattern for this in Foundry? Maybe a way to capture the Lot reference during the upload or through a pipeline that auto-links files post-upload?
Any tips or examples from folks who’ve handled similar “batched document ingestion” setups would be awesome.
Thanks!