mailmoo_company_create
Add a company to the CRM
Adds one company to the CRM. A website or company page that a company in the workspace already has returns that company with created: false instead of a duplicate, so check company_search first when the user may mean one already here. fillFromProfile: true reads the name, industry, size, location and logo from the company page instead of taking them as input. It spends credits (nothing when the company is already here or was looked up recently) and takes no fields but pageUrl. Nobody is contacted. Returns companyId, which notes and tasks accept. findPeople also finds the people who work there, optionally narrowed by title and seniority, and adds them to the CRM, or with findPeople.campaign enrolls them in that campaign; this bills per person found. To add one person you already know, use person_create with this company.
Effect: Write. See Effects.
Permissions: Add and enrich people and companies, Read campaigns, Write campaigns.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | No | Company name. Required unless fillFromProfile is true. |
website | string | No | Website or domain. Identifies the company. |
pageUrl | string | No | The company's page URL on the professional network. Identifies the company. |
fillFromProfile | boolean | No | Fill the record from pageUrl instead of the fields above. Spends credits. |
findPeople | object | No | Also find the people who work at the company and add them to the CRM. Costs 0.25 credits per person found. A search repeated within a day is free. |

