Undb icon

Undb

Interact with Undb API

Actions5

Overview

This n8n node allows you to interact with the Undb API, specifically for managing records in Undb tables. It supports operations such as creating, updating, retrieving (single or multiple), and deleting records. This node is useful when you need to automate workflows involving data stored in Undb, such as syncing records between systems, performing batch updates, or integrating Undb data into other business processes.

Example scenarios:

  • Automatically add new entries to an Undb table when a form is submitted.
  • Retrieve and process multiple records from Undb for reporting or analytics.
  • Update existing records in Undb based on changes in another system.
  • Delete records from Undb as part of a data cleanup workflow.

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 to operate on. You can choose from a list or specify an ID using an expression. This property is required.

Output

The output structure depends on the selected operation:

  • Create: Returns the JSON representation of the newly created record.
  • Update: Returns the updated record's JSON data.
  • Get: Returns the JSON data of the requested record.
  • Get Many: Returns an array of JSON objects, each representing a record.
  • Delete: Returns confirmation of deletion, typically including the deleted record's ID or a success status.

Note: The node does not output binary data; all outputs are in JSON format.

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" as configured in n8n.
  • n8n Configuration: Ensure that the appropriate credentials are set up in your n8n instance under the names "undbApi" or "undbAuthApi".

Troubleshooting

  • Invalid Operation Error: If an unsupported operation is specified, the node will throw an error like Invalid operation <operation>. Make sure to select one of the supported operations: Create, Update, Get, Get Many, or Delete.
  • Authentication Errors: If credentials are missing or incorrect, you may receive authentication errors from the Undb API. Double-check your credential setup in n8n.
  • Table Not Found: If the specified Table Name or ID is invalid, the node may fail to find the table. Use the load options to select a valid table or verify the ID.
  • API Connectivity Issues: Network problems or incorrect base URL configuration can result in connection errors.

Links and References

Discussion