preview_messages
Show exactly what one prospect would receive: every step of one path through the sequence, rendered by Outvelo's sending engine (variables filled in, the A/Z variant they'd get, the fallback when a variable is empty, the translation for their language). Read-only: nothing is sent, saved or translated.
Use it before create_campaign / activating: show the user the rendered messages (not just the template) and the warnings (fallback used, empty or unknown variables, a connection note over 300 characters, missing or out-of-date translations), and fix what they flag.
Who to render for (prospect.source): prospect + prospectId (someone already in a campaign; see list_campaign_prospects), lead + leadId (see get_lead_list with include_leads), csv_row + row (CSV-style keys; extra columns are custom variables), or manual (a test person you describe, custom values by variable name). Only prospect gives the exact A/Z pick (variantIsExact).
The sequence branches, so you get ONE path. path maps a branching step id to accepted or notAccepted. Defaults: invites and if_connection follow accepted, if_open_profile notAccepted, messages follow 'no reply yet'. accepted on a message = they replied, which ends the sequence. Silent steps come back with silent: true and no text. dayOffsetHours adds up the delays; real sends can land later (schedule window, pacing).
Pass sequence (names form, e.g. {{recent_funding}}) for a draft, or campaignId to use a saved campaign (its language settings are used unless you pass language). Variable names the workspace doesn't have yet render as unknown until the campaign is saved.
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": {
"prospect": "<prospect>"
},
"name": "preview_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Branching step id -> side to follow. | |
| variant | No | "auto" (default, the one they'd get) or a position letter "a", "b", ... to force an A/Z variant. | |
| language | No | "" = as written, "auto" = each prospect's LinkedIn language, or an ISO 639-1 code. | |
| prospect | Yes | Who to render for. | |
| sequence | No | Steps to render. Optional when campaignId is given (then the saved sequence). | |
| campaignId | No | A saved campaign: its sequence, language and source language are used unless overridden. | |
| sourceLanguage | No | ISO 639-1 code of the language the copy is written in. | |
| previewLanguage | No | Show this language regardless of the prospect (ISO 639-1). | |
| senderAccountId | No | The LinkedIn account that sends ({{senderName}}). See list_accounts. |