WeeDB Data Get

Get WeeDB Data

Overview

The WeeDB Data Get node retrieves a single data item from a WeeDB database using a specified ID. This node is useful in workflows where you need to fetch and process specific records stored in a WeeDB instance, such as looking up user profiles, configuration objects, or any entity by its unique identifier.

Example scenarios:

  • Fetching a user's details by their ID for further processing.
  • Retrieving a configuration or settings object to use in subsequent workflow steps.
  • Looking up an order or transaction record by its unique ID.

Properties

Display Name Type Description
ID String ID to Fetch. The unique identifier of the item you want to retrieve from WeeDB.

Output

The node outputs a JSON array containing a single object with the following structure:

[
  {
    "item": { /* The data object fetched from WeeDB by the given ID */ }
  }
]
  • The item field contains the full data object retrieved from WeeDB corresponding to the provided ID.

Dependencies

  • WeeDB Connection: Requires valid credentials for a WeeDB database connection (weeDBConnection). You must configure this credential in n8n, including the databaseId property.

Troubleshooting

  • Failed to initialize WeeDB:
    If the node throws an error with this message, it means the database connection could not be established. Ensure that your weeDBConnection credentials are correctly set up and that the databaseId is valid.
  • Item not found:
    If the provided ID does not exist in the database, the returned item may be null or empty. Double-check the ID value you provide.
  • Credential errors:
    Missing or incorrect credentials will prevent the node from accessing WeeDB. Make sure the required credentials are configured in n8n.

Links and References

Discussion