MCPMCP-Tools/Bewertungseinladungen/add_campaign_recipients
add_campaign_recipients
Writereview-invite:write
Add recipients to a review-invite campaign. Each recipient needs at least an email or phone. If the campaign is already launched with autoSend on (and sends both email and SMS), adding recipients here immediately triggers a real send to the new rows — not just a data insert. Returns the number of recipients added. Identify the campaign by its id (from list_review_campaigns or create_review_campaign).
Parameter
campaignIdstringerforderlich
The id of the campaign to add recipients to (required).
recipientsobject[]erforderlich
One or more recipients to add.
namestringoptional
Recipient's name.
emailstringoptional
Recipient's email address.
phonestringoptional
Recipient's phone number.
sourcestringoptional
Where this recipient came from, e.g. "manual", "csv", "pos".
contactTypestringoptional
Contact type, if tracked (e.g. "customer").
channelstringoptional
Preferred send channel for this recipient, e.g. "email" | "sms".
Beispielanfrage
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "add_campaign_recipients",
"arguments": {
"campaignId": "string",
"recipients": [
{}
]
}
}
}Beispielantwort
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "..."
}
]
}
}Die Antwortform dient nur zur Veranschaulichung — der tatsächliche Inhalt hängt vom Tool und Ihren Daten ab.