# CSV Upload - CRUD

**URL:** <https://forum.bubble.io/t/csv-upload-crud/351551>\
**Category:** Need help\
**Created:** [December 10, 2024, 11:48am UTC](https://forum.bubble.io/t/csv-upload-crud/351551 "2024-12-10T11:48:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jamie.robson.89](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jamie.robson.89/32/180213_2.png) [@jamie.robson.89](https://forum.bubble.io/u/jamie.robson.89)\
**Post date:** [December 10, 2024, 11:48am UTC](https://forum.bubble.io/t/csv-upload-crud/351551/1 "2024-12-10T11:48:14Z")

</div>

Hi all,

My users need to be able to upload a CSV file, and have that file either create new records, or update/delete existing records, where a unique ID in the CSV, matches the unique ID in the database.

All I’ve been able to do so far, is allow users to create new records, but not overwrite existing ones.

Any ideas on how I can do this?

---

<div class="post-metadata">

**Author:** ![hi.luisacosta](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/hi.luisacosta/32/249869_2.png) [@hi.luisacosta](https://forum.bubble.io/u/hi.luisacosta)\
**Post date:** [December 10, 2024, 3:31pm UTC](https://forum.bubble.io/t/csv-upload-crud/351551/2 "2024-12-10T15:31:44Z")

</div>

Your CSV upload must have the uniqueID of the bubble object you’re working on.

Let’s say this is “events”  
Events with NO uniqueID are considered new, parse those out and send them to the creation workflow

Events WITH a uniqueID are existing, parse those out and send them to an update workflow.

---

<div class="post-metadata">

**Author:** ![jamie.robson.89](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jamie.robson.89/32/180213_2.png) [@jamie.robson.89](https://forum.bubble.io/u/jamie.robson.89)\
**Post date:** [December 10, 2024, 3:58pm UTC](https://forum.bubble.io/t/csv-upload-crud/351551/3 "2024-12-10T15:58:54Z")

</div>

Is there any way to force Bubble to look at a different unique identifier?

---

<div class="post-metadata">

**Author:** ![hi.luisacosta](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/hi.luisacosta/32/249869_2.png) [@hi.luisacosta](https://forum.bubble.io/u/hi.luisacosta)\
**Post date:** [December 10, 2024, 4:13pm UTC](https://forum.bubble.io/t/csv-upload-crud/351551/4 "2024-12-10T16:13:04Z")

</div>

No, you cannot override or manage the bubble UniqueID.

If you want to manage this on your own, you would probably have to create a datatype that processes the CSV upload. then every time you upload via CSV, for each row you create this “Process\_Row” object with all of your fields. Then for each object, you could look up your own ID and see if it’s new or existing and do the 2 workflows I mentioned above.

It depends if your csv plugin allows you to do some of this, but I’ve never seen it yet.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [February 18, 2025, 11:49am UTC](https://forum.bubble.io/t/csv-upload-crud/351551/5 "2025-02-18T11:49:12Z")

</div>

Closed on February 18, 2025, 11:49am UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
