ToolsLeads
mailmoo_lead_manage_note
Write, edit, or remove a note on a person or company
Notes are free text about a human or a company, not one campaign enrollment. To create, pass exactly one of personId, companyId or leadId (a lead's note is stored on its person). People added with person_create have a personId even before they are in any campaign. Use 'update' and 'delete' with the noteId returned when it was created.
Effect: Write. See Effects.
Permissions: Manage notes.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
action | create, update, delete | Yes | What to do with the note. |
leadId | string | No | Lead whose person gets the note. One of the three for 'create'. |
personId | string | No | Person to attach the note to. One of the three for 'create'. |
companyId | string | No | Company to attach the note to. One of the three for 'create'. |
noteId | string | No | The note to change. Required for 'update' and 'delete'. |
content | string | No | Note text. Required for 'create' and 'update'. |

