Type identifier:
object:createCategory: Object Operations
Creates a new Record in a specified Schema. The created Record can be queried or modified by subsequent nodes in the Flow.
Handle | Data Type | Required | Description |
|---|---|---|---|
|
| Yes | Run trigger input |
| Target Schema | Yes, root-input mode | Full object or scalar value |
Property path | Target Schema property | Yes, for each selected property | One input per configured Schema path |
Property input handles are dynamically generated from selectedProperties. Each handle ID is the selected Schema path joined with dots. A property with ID Pname has handle Pname; a nested path such as Paddress.Pcity has handle Paddress.Pcity.
Notes:
When useRootInput is enabled, the selected-property inputs are replaced by one required data input. Schemas of type object can also be created from selected-property inputs.
Handle | Data Type | Description |
|---|---|---|
|
| Emitted on successful Record creation |
|
| Emitted when a handleable creation failure occurs |
| Schema object | The created Record, including standard Record fields |
objectobject matching the target Schema structureid, schemaId, createdAt, and createdById. object.id holds the new Record ID for later nodes.Property | Type | Required | Default | Description |
|---|---|---|---|---|
|
| Yes |
| Display label for the node |
|
| Yes |
| CUID2 identifier of the target Schema |
|
| No |
| Schema paths for property input handles |
|
| No |
| Use one full-Schema |
schemaIdstring (CUID2 format, 25 characters)selectedPropertiesNotes:
["Paddress", "Pcity"] for Paddress.Pcity)data value or all configured property valuesobject and the success control outputWhen Record creation succeeds:
success is triggeredobject contains the created Record, including its generated idWhen Record creation fails:
error control outputerrorScenario | Behaviour |
|---|---|
Empty or unavailable | Error output when the Schema lookup fails |
Unknown selected path | Error output; Record is not created |
Missing required field or invalid value | Error output; Record is not created |
Bare file reference, another Space, or another Flow run | Error output; Record is not created |
Unexpected internal failure | The run fails |
Create a simple contact Record with name and email.
Configuration:
{
"type": "object:create",
"data": {
"label": "Create Contact",
"schemaId": "clx1234567890abcdefghij",
"selectedProperties": [["Pname"], ["Pemail"]]
}
}Connected Inputs:
Pname ← "John Doe"Pemail ← "john@example.com"Outputs:
{
"object": {
"id": "clx9876543210zyxwvutsrq",
"schemaId": "clx1234567890abcdefghij",
"Pname": "John Doe",
"Pemail": "john@example.com",
"createdAt": "2024-01-15T10:30:00.000Z",
"createdById": "space-identity-id"
}
}Create a Record with nested object properties.
Configuration:
{
"type": "object:create",
"data": {
"label": "Create Customer",
"schemaId": "clx1234567890abcdefghij",
"selectedProperties": [
["Pname"],
["Paddress", "Pstreet"],
["Paddress", "Pcity"],
["Paddress", "Pcountry"]
]
}
}Connected Inputs:
Pname ← "Acme Corp"Paddress.Pstreet ← "123 Main St"Paddress.Pcity ← "New York"Paddress.Pcountry ← "USA"