ToolsCRM
mailmoo_person_search
Search people
Find people in the workspace. A person is a human, not a campaign membership: one row however many campaigns they are enrolled in, with enrollments listing those campaigns and company naming where they work. Use this when the question is about a human ('have we spoken to anyone at Acme', 'who is Dana'), and use mailmoo_leads_search when the question is about a campaign's list. Returns nextCursor when more remain.
Effect: Read. See Effects.
Permissions: Read CRM.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
query | string | No | Search text, matched against the person's fields. |
campaignId | string | No | Only people enrolled in this campaign. |
employedOnly | boolean | No | Only people with a current job somewhere. Excludes contacts whose employment ended. |
limit | integer | No | How many to return. Default 25. |
includeFields | boolean | No | Also return every field on each row (email, phone, custom fields, ...) as variableValues, keyed by field id. Slower: leave off for a quick lookup, turn on when the answer needs the record's details. Names the fields by id only; mailmoo_person_get_context resolves them to names. |

