Cakemail icon

Cakemail

Interact with Cakemail API

Campaign → Update

AI-generated

Summary

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.

Discussion