Update campaign
update_campaignChange an existing campaign's name, targeting, signals, offering, messaging, objective, review mode, scoring, AI email, or webhook settings while leaving omitted fields unchanged.
Instructions
Changes a campaign's name, targeting, signals, offering, objective or messaging, or its review_mode, min_score, ai_first_email and webhook_url; fields left out stay as they are. signals replaces the whole set, and saved signals come back in signal_items as the searches they become (one per source, each with a summary line). Returns research_options (review_mode, min_score) and waiting_review (how many prospects wait for approval). A 400 error carries a plain reason; 404 means the campaign is unknown or archived. Returns the campaign with view_in_producerspark. Saves only; nothing is searched, sent or charged.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"campaign_id": "<campaign_id>"
},
"name": "update_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| signals | No | ||
| offering | No | ||
| messaging | No | ||
| min_score | No | Fit (0 to 1) plus intent (0 to 3) a prospect needs before enrollment; 0 switches it off. Anyone below it stays on the list but is not enrolled. | |
| objective | No | ||
| targeting | No | ||
| campaign_id | Yes | ||
| review_mode | No | True: each researched prospect waits on the Golden List until approved with review_prospect before any outreach. False: enrollment needs no approval (the default). | |
| webhook_url | No | An https address that receives signed JSON events (prospect.researched, prospect.signal, prospect.added); the result's research_options.webhook_secret verifies the X-ProducerSpark-Signature header (sha256 HMAC of '<timestamp>.<body>'). Empty switches it off. | |
| ai_first_email | No | True: for each prospect with a signal found, a whole first email is written from their evidence, the offering and the messaging instructions, and takes Email 1; everyone else gets Email 1 as authored. When false (the default), Email 1 stays as authored for everyone and the {{signal_line}} placeholder carries the per-person text. |