MailMoo
ToolsCampaigns

mailmoo_campaign_replace_sequence

Replace a campaign's sequence

Replaces an existing campaign's sequence with another campaign's: steps, messages, variants and branches. Use for 'use the sequence from Y in X' or 'replace X's sequence with Y's'. The campaign keeps its own senders and schedule. Refused while the campaign is running; pause it first. Campaigns by name or id. Without confirm it changes nothing and reports the step count and what the new sequence would be missing. For a new campaign, use campaign_create with copySequenceFrom, or campaign_rerun.

Effect: Write. See Effects.

Permissions: Read campaigns, Write campaigns.

Parameters

ParameterTypeRequiredDescription
campaignstringYesThe campaign whose sequence to replace, by name or id.
fromstringYesThe campaign whose sequence to use, by name or id.
confirmbooleanNoLeave out first: the call then changes nothing and returns what would happen. Show that to the user, and call again with confirm: true once they agree.

On this page