Read the workspace and campaign
Start withcampaign_read methods workspace and list_campaigns. Select the intended campaign, then call read_campaign to get its current revision, senders, enrolled prospects, and review state.
Choose the source
find_prospects and add_prospects save verified prospects to CRM by default. Set addToCampaign: true only when the user asks to enroll them. Enrollment leaves their messages unwritten.
Follow the run
Keep the returned run ID and callcampaign_read method get_run about once a minute until run.terminal is true. If a start returned no run ID, provide campaignId to find its newest run from the last seven days.
Report actual found, verified, enrolled, prepared, and skipped counts. Do not equate “found” with “ready to send.”
Prepare messages
Read the current campaign revision again. For enrolled prospects with empty messages:Review exact saved messages
Useread_campaign and get_message to read the actual recipients, content, and revisions. Use edit_message for changes; edits invalidate earlier approvals. Submit exact drafts with submit_messages when administrator review is required.
Only after the user reviews and explicitly authorizes the actual send may an assistant call the appropriate send method with confirmSend: true. Read sending approval before approving or activating a campaign. A successful approval is not proof of delivery.