ToolsCRM
mailmoo_company_search
Search companies
Find companies in the workspace, with how many people are attached to each. Use this to answer questions about an account rather than a contact ('are we working Acme', 'who owns that account'). For the people inside one company, follow up with mailmoo_company_get_context.
Effect: Read. See Effects.
Permissions: Read CRM.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
query | string | No | Search text, matched against the company's fields. |
campaignId | string | No | Only companies with someone enrolled in this campaign. |
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_company_get_context resolves them to names. |

