Lark Base icon

Lark Base

Interact with LarkBase API

Table → Create Table

AI-generated

Overview

This node operation creates a new table in LarkBase using the provided Base ID and table data. It is useful for automating the creation of tables within a specified base, allowing users to define table structure including name, default view, and fields programmatically. For example, it can be used to set up new project management tables or data collection forms dynamically.

Use Case Examples

  1. Create a new table named 'Project Tasks' with predefined fields such as 'Task Name' and 'Due Date' in a specified base.
  2. Automate the creation of tables for different departments in an organization, each with customized fields.

Properties

Name Meaning
Base ID The identifier of the base in which the new table will be created. This is required to specify the target base.
Table Data The JSON structure defining the new table's properties, including its name, default view, and fields. This is required to specify the table's schema.

Output

JSON

  • json - The JSON response from the LarkBase API containing details of the created table, such as its ID, name, and fields.

Dependencies

  • LarkBase API access with valid app credentials (appId and appToken)

Troubleshooting

  • Ensure that the Base ID is correct and accessible with the provided credentials.
  • Verify that the Table Data JSON is correctly formatted and includes all required fields.
  • Common errors include authentication failures if the app credentials are invalid or missing.
  • API errors may occur if the table structure is invalid or if the base does not allow table creation.

Links

Discussion