Actions33
- Negócio Actions
- Contato Actions
- Atividade Actions
- Tarefa Actions
- Pipeline Actions
- Tag Actions
- Campo Personalizado Actions
- Busca Actions
Negócio → Alterar Status
AI-generatedSummary
Change the status of a Negócio (lead) record by specifying its ID and the new status value, optionally including a loss reason if marking the lead as lost.
Inputs
- authentication (required) — Select the authentication method to connect to the API: either 'Token de API' or 'OAuth2'.
- id (required) — ID of the Negócio (lead) record whose status you want to change.
- status (required) — The new status for the Negócio, options are 'Aberto' (open), 'Ganho' (won), or 'Perdido' (lost).
- lossReason — Reason for loss; this optional string is only used if setting the status to 'Perdido' (lost).
Output shape
a single record representing the updated Negócio resource
The operation returns the updated Negócio data in JSON format as a single item output. If an error occurs, and 'Continue on Fail' is enabled, an item with the error message is returned instead.
Examples
Example 1: Set the status of a Negócio to 'Ganho' using API Token authentication
Provide authentication method as apiToken, set the target Negócio ID, and specify 'won' as the new status.