Hey, all! I’ve spent quite a bit of time reading through the forums to find an answer to this, but please feel free to point me to an existing thread if I’ve overlooked anything.
Core Question:
Am I able to use Bubble’s bulk data api to create not only multiple things, but multiple TYPES of things (i.e. multiple data tables), and define their parent/child relationships? Or do I need to focus on triggering a backend workflows to manage this?
Use Case:
I’m using an external API to parse a resume. API call is successfully set up and I am able to successfully receive a JSON response, which contains multiple tiers of nested data that correlate to multiple “types” of related things in my database.
Data Structure:
Note: I’m over-simplifying for illustrative purposes.
As per best practices to support one-to-many relationships, the data structure consists of multiple related things of different types. For instance, Skill2 below maps to multiple Jobs under a particular User account. Likewise, the JSON nests a Skill object under both Job1 and Job2, as one would expect.
JSON snippit
(sorry the formatting is probably pretty crummy )
<header, other JSON metadata, etc.>
“user”: {“first_name”: “John”,
“last_name”: “Doe”,},
“Experience”: [
{“title”: “Some Title”,
“description”: “Some description.” },
“skills”: [
{“name”: “public speaking”
“type”: “softskill”},
Etc…
(@jacobgershkovich)has put out an incredibly helpful video about the creation of multiple things of the SAME type using the Bubble bulk API, and a simple JSON response, which I’m comfortable with at this point. But I’m stuck on whether the Bubble bulk API functionality can be extended as described above.
Anyone have any advice?