Skip to content

Tool

personalize_campaign

Personalize campaign

Idempotent
SurfacesChat agentMCPCLI

Draft PER-RECIPIENT warm bodies for a campaign from a list of subscribers + their first-party usage stats — the LLM rewrites the body for each. Flips the campaign to per-recipient mode and lands each body in the shared Review queue (drafted). Nothing sends. Needs a model wired.

CLI: tinbox personalize-campaign

Parameters

NameTypeRequiredDescription
idstringyesThe campaign id.
instructionstringyesThe base instruction the per-recipient bodies are written against.
recipientsobject[]yesThe subscribers to personalize for, each with their usage stats.
▸expand recipients

array items — object

  • recipient stringrequired

    The subscriber's email address.

  • ▸name one of

    The subscriber's name.

    • option 1string
    • option 2null
  • stats objectrequired

    First-party usage stats for this subscriber (drives the personalization).

Example

json
{
  "id": "<id>",
  "instruction": "<instruction>",
  "recipients": [
    {
      "recipient": "<recipient>",
      "stats": {}
    }
  ]
}