Skip to main content
This workflow keeps discovery, enrollment, message preparation, and sending approval separate. The campaign must use human review.

Read the workspace and campaign

Start with campaign_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.
All UUIDs and revisions in this guide are illustrative. Read actual values immediately before changing records. To create a new draft campaign, use save_campaign with its complete configuration and connected sender IDs.

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.
Targeting and screening come from the campaign. The target count is subject to qualifications and allowances; do not promise that all requested prospects will qualify.

Follow the run

Keep the returned run ID and call campaign_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:
This queues writing work and can use allowances. Inspect the resulting run and campaign messages. For one prospect or selected candidates from a finished run, use the selectors in the method contract.

Review exact saved messages

Use read_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.