Record a sales message that went out
record_sales_outreachAfter a message to a business went out — or was saved as a draft for a person to send — record it on their Sales CRM history. Pass the link's campaign (from prepare_sales_outreach) or contact_id. status "sent" counts as Seayora having been in touch; "drafted" is a note only, because nobody has heard from Seayora until a person presses Send. Idempotent: the same channel + message_ref (the thread or draft) + status is recorded once, so a retry is safe. It sends nothing. 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": "record_sales_outreach"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | ||
| channel | No | ||
| excerpt | No | The message text, or its start. | |
| mailbox | No | For a draft: which mailbox, e.g. "Gmail" or "Zoho". | |
| summary | No | One line — what went out. | |
| campaign | No | ||
| contact_id | No | ||
| message_ref | No | The thread URL or draft id it went into. | |
| occurred_at | No | When it went out. Defaults to now. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Why the result was truncated, when it was — or a sentence the server attached to the answer. | |
| 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). | |
| already | No | True when the same message was already recorded — nothing was added twice. | |
| warning | No | Present when the contact is marked do not contact. | |
| activity | No | The history entry written. | |
| recorded | No | True when it was recorded now. | |
| truncated | No | Present and true when the result was too large to return in full. Treat it as a partial answer. | |
| contact_id | No | The contact. | |
| message_id | No | The recorded message. | |
| total_available | No | How many rows existed before truncation. |