EspoCRM icon

EspoCRM

CRUD no EspoCRM (entidades dinâmicas por instância)

Entidades → Criar registro

AI-generated

Summary

Create a new record in a specified EspoCRM entity using either individual field-value pairs or a JSON object as input.

Inputs

  • Entity (required) — Select the EspoCRM entity (dynamic options loaded) where the new record will be created.
  • Modo de Entrada (required) — Choose the input mode for record creation: 'Campo a campo' to specify field names and values individually, or 'JSON' to provide the entire record body as a JSON object.
  • Campos / Corpo (JSON) (required) — Provide the record data. If 'Campo a campo' is selected, set one or more fields with their names and values. If 'JSON' mode is selected, input the full record data as a JSON object.
  • Opções (Criar) — Optional flags for the create operation, including skipping duplicate checks or specifying a duplicate source ID.

Output shape

a single JSON object representing the created record.

The operation returns the created record's data as returned from the EspoCRM API. If an error occurs, an API error is thrown unless the node is configured to continue on errors with error details in the output.

Examples

Example 1: Create a contact record by specifying individual fields.

Set Entity to 'Contact', Modo de Entrada to 'Campo a campo', then provide name-value pairs for fields such as 'firstName' and 'lastName'.

Example 2: Create a record using raw JSON payload.

Set Entity to the desired entity, Modo de Entrada to 'JSON', and enter the full JSON object representing the record data in 'Corpo (JSON)'.

Links

Discussion