update_lead
Update a lead's owner, next step and notes
Changes what is kept about one lead besides its status: who has it (owner), what happens next and when, the notes the client can read, and the agency's private notes.
Only the arguments you pass are changed. Rules: the owner is set by the agency's own team and must be someone who may work leads here (assignable_owners in the reply lists them); private_notes can be written only by people who may read private notes, and are never shown to a client collaborator; client_notes are visible to the client, so write nothing there the client should not see. Write only what the person told you. This tool does not change the status (update_lead_status), contact the lead, or send anything. Call get_lead first to see what is there now: notes are replaced, not appended.
Arguments
| Name | Type | Needed | What it is |
|---|---|---|---|
lead_id |
string | yes | The lead id from list_leads. |
owner_user_id |
integer | no | The user id of the new owner (from assignable_owners). Agency team only. |
clear_owner |
boolean | no | True to leave the lead with nobody. Agency team only. |
next_step |
string | no | What happens next, for example "Call back with a quote". Up to 255 characters. |
next_step_at |
string | no | When the next step is due (ISO 8601 date or date-time, workspace time zone). |
clear_next_step |
boolean | no | True to remove the next step and its date. |
client_notes |
string | no | Replaces the notes the client can read. An empty string clears them. |
private_notes |
string | no | Replaces the agency's private notes. Needs the right to read private notes. An empty string clears them. |
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 not in the first list an assistant sees; the assistant finds it with search_tools and runs it with execute_tools.
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_status