Actions11
- Table Actions
- Field Actions
- Record Actions
Table → Create Table
AI-generatedOverview
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
- Create a new table named 'Project Tasks' with predefined fields such as 'Task Name' and 'Due Date' in a specified base.
- 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
- LarkBase API Documentation - Official documentation for LarkBase API including table creation endpoints and data structure.