Bubble With Proxy icon

Bubble With Proxy

Consume the Bubble Data API with proxy support

Actions5

Overview

This node, named "Bubble With Proxy," allows users to interact with the Bubble Data API while optionally routing requests through a proxy server. It supports operations on Bubble data objects such as creating, deleting, retrieving, updating, and listing objects of specified data types.

The "Create" operation for the "Object" resource enables users to create new Bubble data objects by specifying the object type and setting custom properties.

Common scenarios:

  • Automating data entry into a Bubble app from external sources.
  • Integrating Bubble apps with other systems where direct API access requires proxy usage (e.g., due to network restrictions).
  • Creating new records in Bubble dynamically based on workflow inputs.

Example:
A user wants to create a new "Customer" object in their Bubble app with fields like "Name" and "Email." They can specify the object type as "Customer" and provide key-value pairs for these fields. If their environment requires it, they can enable proxy usage and provide the proxy URL.


Properties

Name Meaning
Use Proxy Boolean flag to determine whether API requests should be routed through a proxy server.
Proxy URL The URL of the proxy server to use when "Use Proxy" is enabled (e.g., http://proxy.example.com:8080). Required if "Use Proxy" is true.
Type Name The name of the Bubble data type (object type) to create. This defines which kind of object will be created.
Properties A collection of key-value pairs representing the fields and their values to set on the new object. Each property has:
- Key: The field name to set.
- Value: The value to assign to that field.

Output

The node outputs an array of JSON objects representing the response from the Bubble API after creating the object.

  • The output JSON corresponds to the newly created Bubble object, including all its fields as returned by the API.
  • The structure depends on the Bubble data type but generally includes the fields set during creation plus any additional metadata Bubble returns.
  • No binary data output is produced by this node.

Dependencies

  • Requires an API authentication credential to access the Bubble Data API.
  • Supports optional proxy configuration via the "Use Proxy" and "Proxy URL" properties.
  • Relies on internal helper functions (bubbleApiRequest) to perform HTTP requests to the Bubble API endpoints.
  • No additional external dependencies beyond standard n8n credentials and HTTP request capabilities.

Troubleshooting

  • Invalid JSON in Filters (not relevant for Create but seen in other operations): If using JSON parameters elsewhere, ensure JSON syntax is valid to avoid errors.
  • Missing or incorrect API credentials: The node requires valid API authentication; ensure credentials are configured correctly.
  • Proxy connection issues: If "Use Proxy" is enabled but the proxy URL is incorrect or unreachable, API requests will fail. Verify the proxy URL and network accessibility.
  • Invalid Type Name: The "Type Name" must match an existing Bubble data type exactly (case-insensitive, spaces removed). Incorrect names will cause API errors.
  • Empty or invalid properties: Ensure at least one property key-value pair is provided; empty or malformed properties may cause the API to reject the request.

Links and References


If you need details on other operations or resources, feel free to ask!

Discussion