RD Station CRM icon

RD Station CRM

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

Actions64

Contato → Atualizar

AI-generated

Summary

Updates an existing RD Station CRM contact by ID via PUT to /crm/v2/contacts/{id}, sending only the fields you fill in. Supports replacing values or appending to existing text values.

Inputs

  • contactId (required) — ID of the contact to update.
  • contactFields — Collection with name, job title (job_title), birthday (sent as YYYY-MM-DD) and organization ID (organization_id). Only fields that are set are sent.
  • contactEmails — Multiple emails; sent as the emails array. If provided, it is sent as the emails value of the update.
  • contactPhones — Multiple phones with type (cellphone, work, home, fax); a leading '+' is stripped from the number. Sent as the phones array.
  • socialProfiles — Social profiles (facebook, linkedin, twitter, instagram, skype) with username/URL; each is sent as a top-level property named after the type.
  • legalBases — LGPD legal bases, each with category, type and status (granted/declined). Sent as legal_bases.
  • customFields — Custom fields as slug/value pairs, loaded from the account's contact custom fields; sent as the custom_fields object.
  • updateMode — 'Replace' (default) overwrites values. 'Append' fetches the current contact first and concatenates the new text onto the existing value.
  • appendSeparator — Separator used in append mode (default ' | ').

Output shape

One item per input item containing the updated contact record as returned by the RD Station API (the response's data object).

Empty values are stripped before sending, so blank fields are not cleared. Append mode only applies to name, job_title and string custom fields, and only if the new text is not already appended; it costs an extra GET request. Emails, phones and other arrays are always replaced. If the API call fails, the item returns {error} when Continue On Fail is enabled; otherwise the node throws.

Examples

Example 1: Change a contact's job title and add a work phone

Contact ID = 12345; Campos do Contato > Cargo = 'Diretor'; Telefones > add number and type 'work'; Modo de Escrita = Substituir.

Example 2: Append a note to a custom field without losing existing text

Contact ID from previous node; Campos Personalizados: pick field slug, Valor = 'Retornar em maio'; Modo de Escrita = Adicionar ao existente; Separador = ' | '.

Example 3: Record LGPD consent

Contact ID; Bases Legais: category communications, type consent, status granted.

Links

Discussion