Prepare a sales message: file the person, get their link
prepare_sales_outreachBefore you message a business for Seayora on LinkedIn, email, WhatsApp or text, call this. It finds the person in Seayora's own Sales CRM (by email, phone, LinkedIn profile, then an exact name) or adds them, and returns ONE personal link (link.paste) to put in that message — a visit through it is then tied to them, so the CRM shows which pages they opened and for how long. It does not send anything: you or the person sends the message, then call record_sales_outreach. Refused with crm_do_not_contact or crm_forgotten for somebody who asked not to be contacted — do NOT message them. Asking twice for the same person, channel and page within 30 minutes hands back the same unused link. To file a link already minted by scripts/marketing/utm.cjs, pass its campaign, url and minted_at instead of path. For somebody messaged before links existed, pass mint: false to file them with no link. Applied at once (staged: false).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "prepare_sales_outreach"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | With campaign: the link exactly as it went out. | |
| kind | No | ||
| mint | No | false files the person without minting a link. | |
| name | No | Full name, if first_name and last_name are not given. | |
| path | No | The Seayora page the link opens, e.g. "/demo?as=manager" (default), "/demo?as=contractor", "/pricing". | |
| tags | No | ||
| No | |||
| notes | No | ||
| phone | No | ||
| title | No | Their role, e.g. "Director of Property Management". | |
| topic | No | A short slug for what the message was about, e.g. "followup". | |
| channel | No | ||
| company | No | ||
| campaign | No | Register a link already minted elsewhere (mk-li-dm-261111-m7nn), with url and minted_at. | |
| location | No | ||
| last_name | No | ||
| minted_at | No | With campaign: when the link was minted (the ledger's "at"). | |
| first_name | No | ||
| linkedin_url | No | Their profile, linkedin.com/in/<vanity> — the identity for somebody with no email on file. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | No | The personal link, or null when mint was false. | |
| note | No | Why the result was truncated, when it was — or a sentence the server attached to the answer. | |
| reused | No | True when an unused link minted for them in the last 30 minutes was handed back. | |
| staged | No | Always false for this tool: it is applied at once (Seayora's own sales book — nothing is queued for approval, and nothing is sent to anybody). | |
| contact | No | The contact in Seayora's Sales CRM. | |
| truncated | No | Present and true when the result was too large to return in full. Treat it as a partial answer. | |
| matched_by | No | How an existing contact was found: email, phone, linkedin, name — null when they were added. | |
| created_contact | No | True when they were added just now. | |
| total_available | No | How many rows existed before truncation. |