Preview a campaign email (first or follow-up #k)
preview_campaign_emailRender the exact email a campaign would send — first email or follow-up #k — with the writing rules, tone, Communication Rules or fixed text. Pass campaign_id to use its saved settings (any field you pass overrides them), or agent_id + rules for an unsaved draft. No sending, no credits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| tone | No | ||
| prompt | No | AI writing rules (for the follow-up when follow_up is set) | |
| sample | No | Sample recipient used for the preview (defaults to a demo contact). | |
| variant | No | Fixed mode text | |
| agent_id | No | Required for AI mode when no campaign_id | |
| follow_up | No | Preview follow-up #index instead of the first email | |
| campaign_id | No | ||
| custom_instructions | No | Communication Rules |