Actions138
- Account Actions
- Contact Actions
- List Actions
- Campaign Actions
- Webhook Actions
- Segment Actions
- Report Actions
- Email Actions
- Custom Attribute Actions
- Sender Actions
- Template Actions
- Sub-Account Actions
- Log Actions
- User Actions
- Domain Actions
- DKIM Actions
- Form Actions
- Token Actions
- Interest Actions
- Tags Actions
- Suppressed Email Actions
- Links Actions
Campaign → Update
AI-generatedSummary
Update a Cakemail campaign's details, such as name, subject, content, and associated list ID.
Inputs
- accountId — Optional: Specify an account ID for multi-tenant operations. If not provided, uses the authenticated account.
- campaignIdForUpdate (required) — Enter campaign ID or use expression to get from previous node.
- campaignName — New name for the campaign (leave empty to keep current).
- listId — New list ID (leave as 0 to keep current).
- subject — New subject line (leave empty to keep current).
- htmlContent — HTML content of the email. Use standard HTML tags and inline CSS for styling.
- textContent — Plain text version for email clients that don't support HTML.
Output shape
no body — success/failure only
Update operation results in a successful or failed status without specific return data.
Examples
Example 1: Updating a campaign's name and subject
Provide the campaign ID and update the 'campaignName' and 'subject' fields.
Example 2: Keeping current settings for certain fields
Set 'campaignIdForUpdate' and only provide new values for fields to be updated.