KIS icon

KIS

Interact with KIS data

Actions5

Data → Create

AI-generated

Summary

Create records in a KIS collection, optionally using UI fields or JSON parameters.

Inputs

  • collection (required) — Name or ID of the collection where records will be created.
  • jsonParameters — When true, fields are sent as a JSON object; otherwise they are defined via the UI field list.
  • fieldsUi — Array of UI-defined fields, each with a name and a value, used when jsonParameters is false.
  • fieldsJson — JSON string containing fields to create; must be valid JSON.

Output shape

An array of objects, each containing the raw KIS API response for the created record.

The response mirrors the KIS server output; errors are propagated as exceptions. Only the first input item is processed unless applyToAllItems is enabled.

Examples

Example 1: Create a record using UI field definitions.

collection: 'contacts', fieldsUi: [{field: {name: 'firstName', value: 'John'}}, value: 'Doe'], jsonParameters: false

Example 2: Create a record using JSON fields.

collection: 'orders', fieldsJson: '{"customer":"Alice","total":100}', jsonParameters: true

Example 3: Select a collection from the dropdown and create a record via UI fields.

collection: 'products' (selected), fieldsUi: [{field: {name: 'name', value: 'Widget'}}, value: '10'], jsonParameters: false

Links

Discussion