Create bulk data
Function: Create bulk data
Create a list of "data" records in bulk & store it in your nocode-x database. This action is perfect for when you need to create a lot of data records in one go, such as importing data from a spreadsheet or another system.
Input,
- Data (List of Data) This is the list of individual data records you want to create. Each item in this list should be an object containing the information for one record, matching the structure defined by your chosen Data schema. This input is required.
- Data schema (Data Format) This specifies the blueprint or structure for the data you are creating. You must select an existing Data schema that defines the fields and types for your records. This input is required.
- Name (List of Attributes)
When creating new records, the platform needs a way to identify them. Here, you select one or more attributes (fields) from your chosen Data schema that will be combined to form a unique and descriptive name for each new record. For example, for a 'Product' schema, you might choose 'Product Name' and 'SKU' to form the record's display name. This input is required.
- Attribute Select an attribute (field) from your chosen Data schema that will contribute to the display name of the new records.
Output,
This action does not produce a direct output that you can use in subsequent steps. Its primary effect is the creation of new data records in your database.
Execution Flow,
Real-Life Examples,
-
Importing a list of new products Imagine you have a spreadsheet with 100 new products you want to add to your online store.
- Inputs:
- Data: A list of 100 product objects, each with fields like
ProductName,SKU,Price,Description. - Data schema: "Product" (a pre-defined schema in your platform matching the product object structure).
- Name: "ProductName", "SKU" (selected attributes to form the product's display name).
- Data: A list of 100 product objects, each with fields like
- Result: 100 new product records are created in your database, each with a name like "Laptop - LPT123".
- Inputs:
-
Adding multiple new users from a registration form A new event has just finished, and you have a list of 50 attendees who registered through an external form and need to be added as users in your application.
- Inputs:
- Data: A list of 50 user objects, each with fields like
FirstName,LastName,Email,RegistrationDate. - Data schema: "User" (a pre-defined schema for user profiles).
- Name: "FirstName", "LastName" (selected attributes to form the user's display name).
- Data: A list of 50 user objects, each with fields like
- Result: 50 new user records are created in your database, each with a name like "John Doe".
- Inputs:
-
Creating a batch of customer orders You've processed a large wholesale order that includes multiple individual customer orders, and you need to record them all in your system.
- Inputs:
- Data: A list of 20 order objects, each with fields like
OrderID,CustomerName,OrderDate,TotalAmount. - Data schema: "CustomerOrder" (a pre-defined schema for customer orders).
- Name: "OrderID", "CustomerName" (selected attributes to form the order's display name).
- Data: A list of 20 order objects, each with fields like
- Result: 20 new customer order records are created in your database, each with a name like "ORD-2023-001 - Acme Corp".
- Inputs: