# Bubble

The Bubble piece in ZBrain Flow enables seamless integration with Bubble applications, allowing you to automate data management and interact with your Bubble database effortlessly. With this connector, you can create, update, delete, and retrieve data objects (Things) directly within your workflows. This integration simplifies communication with your Bubble backend, eliminating the need for custom API setups.

### **How to Use Bubble in ZBrain Flow** <a href="#how-to-use-bubble-in-zbrain-flow" id="how-to-use-bubble-in-zbrain-flow"></a>

1. Click on the ‘+’ button in the Flow, search for ‘Bubble,’ and select it.
2. Choose the required action from the available options:
   * ‘Create Thing’ – Add a new data object.
   * ‘Delete Thing’ – Remove an existing thing.
   * ‘Update Thing’ – Modify an existing thing.
   * ‘Get Thing’ – Retrieve a specific thing by its ID.
   * ‘List Thing’ – Fetch a list of things based on type.

### **How to Create a Thing in Bubble** <a href="#how-to-create-a-thing-in-bubble" id="how-to-create-a-thing-in-bubble"></a>

1. In the ‘Typename’ field, enter the name of the Bubble data type you want to create.
2. In the ‘Body’ section, provide the key-value pairs for the fields you want to populate.

### **How to Delete a Thing in Bubble** <a href="#how-to-delete-a-thing-in-bubble" id="how-to-delete-a-thing-in-bubble"></a>

1. In the ‘Typename’ field, enter the name of the Bubble data type you want to delete.
2. In the ‘Thing ID’ field, provide the unique ID of the item to be deleted.

### **How to Update a Thing in Bubble** <a href="#how-to-update-a-thing-in-bubble" id="how-to-update-a-thing-in-bubble"></a>

1. In the ‘Typename’ field, enter the name of the Bubble data type you want to update.
2. In the ‘Thing ID’ field, provide the unique ID of the item to be updated.
3. In the ‘Body’ section, define the fields and values you want to update.

### **How to Retrieve a Thing in Bubble** <a href="#how-to-retrieve-a-thing-in-bubble" id="how-to-retrieve-a-thing-in-bubble"></a>

1. In the ‘Typename’ field, enter the name of the Bubble data type you want to retrieve.
2. In the ‘Thing ID’ field, provide the unique ID of the item you want to fetch.

### **How to List Things in Bubble** <a href="#how-to-list-things-in-bubble" id="how-to-list-things-in-bubble"></a>

1. In the ‘Typename’ field, enter the name of the Bubble data type you want to retrieve a list from.
2. (Optional) Add constraints:
   * In the ‘Constraint’ field, define filtering conditions.
   * In the ‘Field’ section, specify the data field to apply the constraint.
   * In the ‘Value’ field, enter the matching value for the constraint.
3. In the ‘Start from’ field, enter the index number from where the list should begin.
4. In the ‘Limit’ field, specify the maximum number of items to retrieve.

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.zbrain.ai/zbrain-documentation/zbrain-builder/flows/flow-components/bubble.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
