update_lead_status
Update a lead's status
Move one lead along its lifecycle (new, contacted, qualified or disqualified, opportunity, won or lost) when the person tells you what happened.
Only allowed steps are accepted; the error names the allowed ones. Disqualified and lost need a reason. Won needs the real sale amount as the person stated it (amount_minor in minor units plus currency): never estimate or invent an amount. If the recorded status is simply wrong, pass correction: true with a reason: any status except won can then be set, and the history keeps both. The change is recorded in the lead's history and the audit trail as made through the assistant. This tool does not contact the lead and sends nothing. For a further sale on a won lead use record_sale.
Arguments
| Name | Type | Needed | What it is |
|---|---|---|---|
lead_id |
string | yes | The lead id from list_leads. |
status |
string | yes | The status to move the lead to. "new" is accepted only with correction: true; "won" is not accepted with it.One of: new, contacted, qualified, disqualified, opportunity, won, lost |
reason |
string | no | Why. Required for disqualified, lost and every correction. Keep it short and free of personal details. |
correction |
boolean | no | True when the recorded status is wrong and must be set right, rather than the lead having moved on. |
next_step |
string | no | What happens next, for example "Call back with a quote". |
next_step_at |
string | no | When the next step is due (ISO 8601 date or date-time). |
amount_minor |
integer | no | For won: the sale amount in minor units (12500000 for 125,000.00), exactly as the person stated it. |
amount |
number | no | For won, instead of amount_minor: the sale amount in major units (125000 for 125,000). |
currency |
string | no | For won: ISO currency of the amount. Defaults to the workspace currency. |
revenue_basis |
string | no | For won: what the amount is. booked (agreed), invoiced or collected. Default booked.One of: booked, invoiced, collected |
Like every workspace tool it also takes workspace: a workspace id or slug. Leave it out to use the workspace the person last worked in.
How it behaves
- It changes something in the workspace, within what the signed-in person's role allows.
- It is in the list every assistant sees when it connects.
How tools behave: confirmation, review links, errors and limits
In the same group
create_lead · create_status_link · get_crm_status · get_lead · import_leads · list_leads · manage_opportunities · record_refund · record_sale · revoke_status_link · update_lead