setCampaignSequence Mutation
Sets the campaign's sequence: every campaign is a sequence whose Step 1 is the first email (its brief is the campaign's emailRules) and whose later steps are these followUps, in order, each with its wait after the email before it and its own writing brief. Listed followUpIds keep their step; brief steps left out are deleted (sends that went out stay); [] leaves only Step 1 and any steps with a fixed body, which keep their place (delete those with deleteCampaignFollowUp). Nothing is drafted or sent: each person's drafts of the steps are written with their first email the next time it is drafted (prepareCampaignRecipientPlans, draftCampaignEmailsForRows or the pilot), and go out, as replies in the same thread and only until the person replies, after their first email launches. People already emailed are not redrafted: write each of their steps with updateCampaignRecipientFollowUpDraft, or their steps never send. Confirm the steps and waits with the user first. Access: caller must have CRM access to the campaign workspace. Errors: missing campaign, more than 10 steps, an unknown followUpId, a wait outside 1 to 60, or a step without generationInstructions.
Arguments
#
Response
#
Returns Campaign !.
Example
#
setCampaignRepliesHandled
setCustomStatusColor