RD Station CRM icon

RD Station CRM

Integração com RD Station CRM API v2 - API v2 completa

Actions64

Motivo de Perda → Criar

AI-generated

Summary

Creates a new lost reason (Motivo de Perda) in RD Station CRM by POSTing to the v2 lost_reasons endpoint, and returns the created record.

Inputs

  • Nome (simpleCreateName) (required) — Name of the lost reason to create.
  • Campos Adicionais (simpleFields) — Optional collection with a single 'Nome' field. If set and non-empty, it overrides the required Nome value as the name sent to the API.

Output shape

One output item per input item, containing the created lost reason object (the data field of the API response, or the whole response if data is absent).

Request body is { data: { name } }, with empty values stripped. If 'Continue On Fail' is enabled, failed items return { error: message } instead of throwing; otherwise a NodeApiError is raised. Requires RD Station CRM OAuth2 credentials.

Examples

Example 1: Add a new lost reason such as 'Preço alto' so deals can be marked as lost with it.

Resource: Motivo de Perda; Operation: Criar; Nome: 'Preço alto'.

Example 2: Override the name via the optional field.

Nome: 'Temp'; Campos Adicionais > Nome: 'Concorrência'. The created reason is named 'Concorrência'.

Links

Discussion