Skip to content

Create a Data Thing or a Bulk of Data Things on Bubble

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 Ibexa Connect.

Part 1: Create a data thing on Bubble when a row is updated on a Google Sheet

The same principles apply when creating a data thing from any third-party service.

Watch the video tutorial or continue reading below.

  1. 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 and Profession as shown below.

    data_type_field_location_choices.png

    data_type_field_profession_choices.png

    Under App Data, create a new entry in each of the Data Types shown for Location_Preference.

    app_data_.png

  2. Expose the Data Types in the API settings:

    settings_.png

  3. Create the scenario in Ibexa Connect:

    The scenario in Ibexa Connect looks like below and is available as a template for you to replicate.

    scenario_.png

  4. 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.

    name_.png

    Populate the dropdown with dynamic data things from Professions' profession_choices.

    bubble_dropdown_dynamic_choices.png

    Similarly, the radio buttons are populated with dynamic data things from Location_Preferences' location_choices.

    bubble_radio_button_dynamic_choices.png

    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.

Part 2: Create a bulk of data things under a data type

  1. Create an API workflow called load_data_types under Backend Workflows.

    The workflow load_data_types serves to expose data types to Ibexa Connect as patterns to create new data things. This endpoint must also be exposed as a public endpoint.

    load_data_types_.png

  2. Add the list of Data Types to the workflow.

    The workflow load_data_types returns a text list of data types visible to Ibexa Connect and the items in the list are delimited with a comma as shown below:

    return_data_from_api_.png

You are able to use the Create the bulk of data things module in your scenarios.

bubble_.png