Lead → Atualizar
AI-generatedSummary
Updates specified fields of an existing lead in Nexo CRM.
Inputs
- leadId (required) — UUID do lead
- updateFields (required) — Campos para Atualizar
Output shape
Updated lead representation from Supabase (Prefer: return=representation header applied on PATCH)
Returns the lead object as stored after the update; if no valid fields remain after filtering, operation throws NodeOperationError
Examples
Example 1: Update lead name and phone
leadId: '123e4567-e89b-12d3-a456-426614174000', updateFields: { name: 'Novo Nome', phone: '(11) 98765-4321' }