Create prospect
create_prospectAdd a prospect (a person to email) to the workspace. Requires an email address; the address is validated and duplicates within the workspace are rejected with HTTP 409. Optionally enrol the new prospect into a campaign with campaign_id. Returns the prospect id, normalized email and company_id (null for addresses on public mail providers such as gmail.com unless company_name is given).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"email": "<email>"
},
"name": "create_prospect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | Email address of the prospect (required). | ||
| timezone | No | IANA time zone of the prospect, e.g. Europe/Warsaw. Used for send windows. | |
| last_name | No | Last name. | |
| first_name | No | First name. | |
| campaign_id | No | Optional campaign id. When given, the prospect is created AND enrolled into that campaign in one call; an unknown or unusable campaign rejects the whole call with HTTP 400 before anything is created. | |
| company_name | No | Company name as the operator knows it. Takes precedence over the email domain when grouping prospects into companies; omit to group by domain. | |
| custom_fields | No | Custom fields as a flat map of name -> value (strings, numbers or booleans; nested objects are rejected). Used by {{snippets}} in email templates. |