Magidoc

autoSelectCampaignRecipients
Mutation

Selects and persists up to the campaign's target count of recipients after the audience preview is explicitly confirmed, choosing at most one objective-fit person per account and skipping accounts without a credible match. Requires campaign-workspace access and an existing audience definition; missing, unauthorized, or unconfirmed campaigns are rejected. Does not send.

Arguments

#

campaignId

ID !
Non-null

targetPeopleCount

Overrides (and persists) audience.targetPeopleCount for this run.

excludeExistingRecipients

Add-people mode: only picks at accounts with no existing recipient and keeps every prior pick instead of replacing uncontacted ones.

Response

#

Returns [CampaignRecipientAutoSelection !]!.

Example

#