Fyso icon

Fyso

Create, read, update and delete records in Fyso

Create Record

AI-generated

Summary

Create a new record in a specified Fyso entity within a chosen tenant workspace by providing field values for the record.

Inputs

  • Tenant (required) — The Fyso tenant (workspace) that owns the data to operate on; identified either by selecting from a list or entering the tenant ID.
  • Entity (required) — The Fyso entity (data model) to create a record in, selected from your tenant's defined entities by list or name.
  • Fields (required) — The field values for the new record, mapped according to the entity's schema. Supports defining specific fields or mapping all available fields.
  • Options — Optional configurations such as 'Continue on Fail' which allows the workflow to proceed even if this operation fails (useful for error handling).

Output shape

a single record

The operation returns the newly created record's data as JSON. If the node fails and 'Continue on Fail' is disabled, the workflow execution stops with an error. When enabled, failed items include an error property instead of record data.

Examples

Example 1: Create a new patient record in the 'patients' entity for the 'Acme Health' tenant by providing patient fields such as name, DOB, and contact info through the Fields mapping.

Set Tenant to Acme Health, Entity to patients, define necessary Fields with the required patient data, leave Options as default or enable Continue on Fail as needed.

Links

Discussion