Create a Data Thing or a Bulk of Data Things on Bubble
Modified on Wed, 29 May at 2:34 PM
In a Bubble Data Type, a data thing is a new entry with one or more fields. You can think of it as a row in a Google Sheet. You can either create a data thing or a bulk of data things on Bubble using the respective Bubble modules on Make.
The same principles apply when creating a data thing from any third-party service.
Watch the video tutorial or continue reading below.
Create the Data Types on Bubble and an entry in each.
Create the Data Types in which you'd like to create Data Things dynamically. We have created 2 new Data Types:
Location_Preference
andProfession
as shown below.Under App Data, create a new entry in each of the Data Types shown for Location_Preference.
Expose the Data Types in the API settings:
Create the scenario in Make:
The scenario in Make looks like below and is available as a template for you to replicate.
Create a form on Bubble to populate dynamic data things when the above scenario runs.
While you can see the data things being added dynamically under Data Types, this is a sample use case of this tutorial on Bubble. See the form below.
Populate the dropdown with dynamic data things from Professions'
profession_choices
.Similarly, the radio buttons are populated with dynamic data things from Location_Preferences'
location_choices
.When you add new profession_choices and location_choices to your Google Sheet and run the scenario, the dropdown and the radio buttons are populated with those choices.
Create an API workflow called load_data_types under Backend Workflows.
The workflow load_data_types serves to expose data types to Make as patterns to create new data things. This endpoint must also be exposed as a public endpoint.
Add the list of Data Types to the workflow.
The workflow load_data_types returns a text list of data types visible to Make and the items in the list are delimited with a comma as shown below:
You are able to use the Create the bulk of data things module in your scenarios.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article