MCPHerramientas MCP/Invitaciones a reseñas/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).

Parámetros
campaignIdstringobligatorio
The id of the campaign to add recipients to (required).
recipientsobject[]obligatorio
One or more recipients to add.
namestringopcional
Recipient's name.
emailstringopcional
Recipient's email address.
phonestringopcional
Recipient's phone number.
sourcestringopcional
Where this recipient came from, e.g. "manual", "csv", "pos".
contactTypestringopcional
Contact type, if tracked (e.g. "customer").
channelstringopcional
Preferred send channel for this recipient, e.g. "email" | "sms".
Solicitud de ejemplo
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "add_campaign_recipients",
    "arguments": {
      "campaignId": "string",
      "recipients": [
        {}
      ]
    }
  }
}
Respuesta de ejemplo
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "..."
      }
    ]
  }
}

La forma de la respuesta se muestra a modo ilustrativo — el contenido real depende de la herramienta y de tus datos.