Actions30
- Lead Actions
- Funil Actions
- Tag Actions
- Equipe Actions
- Notificação Actions
Lead → Atualizar
AI-generatedSummary
Updates a lead existing by ID or phone. If a phone is provided and the lead does not exist, it is created automatically.
Inputs
- leadId (required) — UUID or phone number of the lead. When using phone in Update, if the lead does not exist it is created automatically.
- source (required) — Who is performing this action (used for audit trail).
- pipeline_id — Move the lead to this pipeline. Leave empty to keep the current. Choose from the list or specify an ID using an expression.
- stage_id — Move the lead to this stage. Leave empty to keep the current. Choose from the list or specify an ID using an expression.
- updateFields — Additional fields to update the lead. Tags replace all current tags with this list.
- customFieldsList — Define values of custom fields configured in Atlas Eye.
Output shape
The updated lead object returned by the Atlas Eye API (PATCH /api/leads/{leadId}).
The operation sends a PATCH request to /api/leads/{leadId} with body { source, ...updateFields, pipeline_id?, stage_id?, custom_fields? }. If pipeline_id or stage_id are set, the lead is moved accordingly. Tags in updateFields replace all existing tags. Custom fields from customFieldsList are included as custom_fields in the body.
