Undb icon

Undb

Interact with Undb API

Actions5

Overview

The Undb node for n8n allows you to interact with the Undb API, specifically to manage records in your Undb tables.
With the Record → Delete operation, this node enables you to delete a specific record from a chosen table by its ID.
This is useful in scenarios where you need to automate data cleanup, remove outdated or incorrect entries, or synchronize deletions between systems.

Example use cases:

  • Automatically deleting user data when a user unsubscribes.
  • Removing obsolete inventory items from a product database.
  • Cleaning up test records after automated tests.

Properties

Name Meaning
Authentication Select the authentication method for connecting to Undb. Options:
- Api Token
- Auth Api Token
Table Name or ID The ID of the table from which you want to delete the record. You can select from a list or specify an ID using an expression.
Record ID The unique identifier of the record you wish to delete. This field is required for the Delete operation.

Output

  • The output will be a JSON object indicating the result of the deletion operation.
  • Typically, it may include confirmation of deletion, such as the deleted record's ID or a success status.
  • No binary data is produced by this operation.

Dependencies

  • External Service: Requires access to the Undb API at https://demo.undb.com.
  • Authentication: You must provide valid credentials for either "Api Token" or "Auth Api Token" (configured in n8n credentials).
  • n8n Configuration: Ensure that the appropriate credentials are set up in your n8n instance under the names undbApi or undbAuthApi.

Troubleshooting

Common Issues:

  • Invalid Table or Record ID: If the provided Table ID or Record ID does not exist, the node may return an error indicating that the resource was not found.
  • Authentication Errors: If credentials are missing or invalid, you may receive authentication or authorization errors.
  • Insufficient Permissions: The API token used might lack permission to delete records in the specified table.

Error Messages and Resolutions:

  • "Invalid operation delete": This would only occur if the operation parameter is set incorrectly; ensure you select "Delete".
  • "Resource not found" or similar: Double-check the Table ID and Record ID values.
  • "Unauthorized": Verify that the correct authentication method and valid credentials are selected.

Links and References

Discussion