WeeDB Create Object

Create a new WeeDB object

Overview

This node creates a new object in a WeeDB database. It is useful when you want to programmatically add structured data into a WeeDB instance from within an n8n workflow. Common scenarios include saving form submissions, logging events, or storing any custom JSON data for later retrieval and processing.

Example use cases:

  • Storing user registration details received from a webhook.
  • Logging sensor data from IoT devices.
  • Saving results of data transformations for further analysis.

Properties

Display Name Type Description
Data JSON Object Data to save. This should be a valid JSON object representing the data you wish to store in WeeDB.

Output

The node outputs a JSON object with the following structure:

{
  "item": { /* The newly created WeeDB object, as returned by WeeDB */ }
}
  • The exact fields inside item depend on the structure of your input data and the response from WeeDB after creation.

Dependencies

  • WeeDB Connection: Requires a credential named weeDBConnection with a valid databaseId.
  • External Service: A running WeeDB instance accessible via the provided credentials.

Troubleshooting

  • "Failed to initialize WeeDB":
    This error occurs if the node cannot connect to the specified WeeDB database.
    Resolution: Check that your weeDBConnection credentials are correct and that the WeeDB service is reachable.

  • Invalid JSON in Data property:
    If the Data property is not a valid JSON object, the node may fail or WeeDB may reject the request.
    Resolution: Ensure the input is properly formatted JSON.

  • Missing Credentials:
    If no credentials are provided, the node will not execute.
    Resolution: Set up and select the required weeDBConnection credentials in the node settings.

Links and References

Discussion