Lark Base icon

Lark Base

Interact with LarkBase API

Record → Create a Record

AI-generated

Overview

This node interacts with the LarkBase API to create a new record in a specified table within a LarkBase base. It is useful for automating data entry into LarkBase tables, such as adding new customer information, inventory items, or any structured data that needs to be stored in LarkBase.

Use Case Examples

  1. Creating a new customer record in a CRM table by providing customer details as JSON.
  2. Adding a new inventory item to a product table with fields like name, quantity, and price.

Properties

Name Meaning
Base ID The identifier of the LarkBase base where the table resides. Required to specify the context for the record creation.
Table ID The identifier of the table within the base where the record will be created. Required to target the correct table.
Record Data The JSON object containing the fields and values for the new record to be created in the table. Required to specify the record content.

Output

JSON

  • json - The response from the LarkBase API containing details of the created record, including its fields and metadata.

Dependencies

  • Requires LarkBase API credentials including app ID and app secret for authentication.

Troubleshooting

  • Ensure that the Base ID and Table ID are correct and exist in LarkBase to avoid errors.
  • Record Data must be valid JSON and conform to the table schema to prevent API errors.
  • Authentication errors may occur if the API credentials are invalid or missing; verify credentials setup.
  • Common error messages include 'No credentials returned!' if credentials are missing, and 'Get tenant_token failed' if token retrieval fails. Check network connectivity and credential validity.

Links

Discussion