Add a person to the CRM
add_person_to_crmAdd a person to the customer's connected CRM. It looks the person up from the profile link, e-mail or name given, checks the CRM first so nobody is added twice, and saves what it found with the customer's usual field settings and default tags. A record with the same name is reported as a possible match and nothing is added until add_anyway is set. Uses one lookup credit when an e-mail address is found.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | the person's full name; give it with a company when there is no profile link or e-mail | |
| tags | No | tags to put on the record, in addition to the customer's default tags | |
| No | an e-mail address the person is known by | ||
| company | No | the company the person works for | |
| use_email | No | one of the addresses found, to save as the person's main e-mail instead of the best one | |
| add_anyway | No | true to add the person although a possible match exists, once that match is known to be a different person | |
| profile_url | No | link to the person's public profile page | |
| include_phone | No | also look for a mobile number; this uses extra credits, so set it only when the customer wants a phone number saved |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| crm | No | the CRM the person was added to, or checked | |
| record | No | the new record, or the one already there | |
| status | No | added, already_in_crm, possible_matches, not_found or pending | |
| contact | No | what was found for the person and saved | |
| not_saved | No | fields the CRM did not take, when any | |
| credits_left | No | ||
| credits_used | No | ||
| possible_matches | No | records that share the person's name and may or may not be the same person |