MailMoo
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

ParameterTypeRequiredDescription
querystringNoSearch text, matched against the person's fields.
campaignIdstringNoOnly people enrolled in this campaign.
employedOnlybooleanNoOnly people with a current job somewhere. Excludes contacts whose employment ended.
limitintegerNoHow many to return. Default 25.
includeFieldsbooleanNoAlso 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.

On this page