> For the complete documentation index, see [llms.txt](https://docs.zbrain.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zbrain.ai/zbrain-documentation/zbrain-builder/flows/flow-components/bubble.md).

# Bubble

Bubble: Connect your Bubble apps to ZBrain Flow to automatically create, find, or update items in your app's database.

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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
