Data bulk action and manipulation

Hi everyone

I’m facing some issues related to ‘Bulk create things’. More info can be found here: Data API requests | Bubble Docs

The issues are the following:
My client can upload a csv up to 1.000 rows and then I convert it to JSON and make some find and replace manipulations so that I’m able to use the ‘Bulk create things’ with each line containing an json object. Right, that is done. I’m able to create those things for my client which often has many records saved in CSV format.

Then come some issues. First is that when I create those things in bulk create action within the workflow I do not know how to access within the workflow that list of things which we’re created and then I am not able to change, modify, add, remove, etc, or any operation whatsoever within the same workflow.

That is problematic because I need to access those list of things create. Also their “Created by” is empty so I can’t reference it immediately to a client who created them. So they are currently just created in the database but remains odd to access them, retrieve in the workflow, etc.

When I try to call “results of step x” which x is the bulk action it returns a text type parameter and not type = type of thing in the list of things created.

I am finding hard to resolve this issue. How is this problem managed? I’m sure there is a easy way to do it however I’m uncertain.

Thanks

1 Like

You’ll need to add separate unique id through the sheet to index these entries. The creator will be app admin for your case.
and example would be:
P0001, P0002 etc
This way you can always go and make changes to any entry in the table when the csv is updated

1 Like

Hi Jahanzeb, how you doing?

Inside the bulk action output which is accessible within the workflow there is a two paired response: “Successs” or not and “Id” for each entry made. So I can manage to change many things after by retrieving the things by the id. To retrieve the id just use the “bulk action output” from step x which is a text. Then work from that.

Thanks for kindly response, I’ll leave this here because might help someone else.

1 Like

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