Create
AI-generatedOverview
This node operation allows users to create a new item in a specified table within the Launix software via its API. It supports defining the target table, specifying columns with their values, and optionally including nested child arrays for complex data structures. This operation is useful for inserting new records programmatically, such as adding new entries to a database or system managed by Launix.
Use Case Examples
- Creating a new customer record in a CRM table by specifying customer details in the columns input.
- Inserting a new invoice with nested line items by using the nested create lists to provide child arrays of invoice lines.
Properties
| Name | Meaning |
|---|---|
| Table | The target table in Launix where the new item will be created. This is a required field and must be selected from available tables. |
| Columns | The columns and their values to set for the new item. This is required and supports adding all fields or specific ones as defined by the table schema. |
| Nested Create Lists | Optional nested child arrays representing related child records to create alongside the main item. Each field expects a JSON array for one declared create list. |
Output
JSON
jsonid- The identifier of the newly created item returned by the Launix API.
Dependencies
- Launix API accessed via an API key credential
Troubleshooting
- Missing or invalid table selection will cause errors indicating the table was not found.
- Invalid JSON format in nested create lists will throw errors specifying the issue and the affected item index.
- API errors returned from Launix are propagated and can cause the node to fail unless 'Continue On Fail' is enabled.
- Ensure the required columns are provided; missing required fields may cause the API to reject the creation request.