nitro_compose_campaign
Draft email/SMS broadcasts; never sends. Creative email: composition_mode=intent, follow exact next_call. patch preserves omissions; replace needs campaign_id+confirm, clears omitted audience/schedule. Automation: nitro_compose_flow. Transactional: nitro_send_message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| goal | No | ||
| mode | No | create | |
| name | No | Campaign name; required when creating. | |
| facts | No | Literal evidence: required values must appear; available values may be used. | |
| theme | No | Brand-theme overrides. logo_url must be public or a nitro_ingest media_url/image_url, never raw signed_id. | |
| channel | No | Immutable after creation. | |
| confirm | No | ||
| dry_run | No | ||
| subject | No | ||
| audience | No | Target audience; all_contacts must be explicit. | |
| category | No | Email job used to select a baseline. | |
| reply_to | No | ||
| sections | No | Email design sections; requires subject. Images accept public or nitro_ingest media_url/image_url, never raw signed_id. | |
| from_name | No | ||
| preheader | No | ||
| draft_meta | No | Optional authoring provenance; never blocks. | |
| from_email | No | ||
| if_version | No | Version token for conflict-safe writes. | |
| campaign_id | No | ||
| contract_id | No | ||
| renegotiate | No | ||
| source_text | No | Untrusted source evidence; put authoring directions in user_instruction. | |
| template_id | No | ||
| scheduled_at | No | ISO 8601 delivery time. | |
| validate_only | No | ||
| content_format | No | Match source. | |
| idempotency_key | No | Required for non-dry-run persistence; exact retry only. | |
| plain_text_mode | No | Text provenance. | |
| section_updates | No | Same entries as nitro_manage_template section_updates. | |
| composition_mode | No | intent plans; validate checks; draft persists; generate composes and persists. | |
| user_instruction | No | ||
| brand_context_ref | No | ||
| creative_route_id | No | Intent-only route id. | |
| design_mode_override | No |