mailmoo_person_create
Add a person to the CRM
Adds one person to the CRM from what the user says: a name, a social profile URL, or both, plus any email, phone, job title and company they know. Someone already in the workspace with the same social profile URL is returned with created: false instead of a duplicate, so check person_search first when the user may mean someone already here. company is matched to an existing company by exact name, or taken as an id; a name nobody has creates that company. Nobody is contacted. The person is only put in a campaign when campaign is given, and that never starts the campaign. fillFromProfile: true reads the name, headline, location and current company from the social profile instead of taking them as input. It spends credits (nothing when the person is already here) and takes no fields but profileUrl and campaign. Returns personId, which notes and tasks accept, and the enrollment counts when a campaign was given.
Effect: Write. See Effects.
Permissions: Add and enrich people and companies, Read CRM, Read campaigns, Write campaigns.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
firstName | string | No | First name. |
lastName | string | No | Last name. |
profileUrl | string | No | Their social profile URL. Identifies the person, so repeating it returns the same record. |
email | string | No | Email address. |
phone | string | No | Phone number. |
jobTitle | string | No | Job title at company. Ignored without company. |
company | string | No | Where they work: an existing company's exact name or id, or a new company's name. |
fillFromProfile | boolean | No | Fill the record from profileUrl instead of the fields above. Spends credits. |
campaign | string | No | Also enroll them in this campaign, by name or id. Omit to only add them to the CRM. |
stopRunningElsewhere | boolean | No | Only with campaign, for someone already here. Default false: if their sequence is running in another campaign, they are skipped. true: stop that sequence and enroll them. |

