Update Email Campaign
update-email-campaignEdit draft or scheduled email campaigns by ID and change fields such as subject, sender, targets, or template; omitted fields stay unchanged, and confirm scheduled edits before they go out.
Instructions
Update an email campaign. Only draft and scheduled campaigns can be edited. Editing a scheduled campaign changes what goes out at its scheduled time, so confirm with the user first. Omitted fields are unchanged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The email campaign id. | |
| from | No | Sender address. Its domain must be verified in the organization; ask the user if you don't know one. | |
| name | No | Internal campaign name. | |
| subject | No | ||
| tag_ids | No | Tags to target. | |
| list_ids | No | Lists to target. | |
| reply_to | No | ||
| from_name | No | Sender display name. | |
| preheader | No | Preview text shown after the subject in most inboxes. | |
| segment_ids | No | Segments to target. | |
| template_id | No | Template holding the email body, from list-templates. |