create_campaign
Start a new campaign
Action · mcp:actIdempotentOuvre une campagne de plus dans le workspace, en brouillon vide, et en fait la campagne courante — seulement quand l'utilisateur a demandé une nouvelle campagne, sous le nom qu'il a donné ou approuvé. Rien n'est acheté ni envoyé.
Open one more campaign in the workspace, as an empty draft, and make it the current one — only when the user asked for a new campaign, under the name they gave or approved. It starts with no target, playbook, sequence or leads of its own; the offer, plan and sending setup are the workspace's. Nothing is bought or sent. Calling it again with the same name returns the campaign already opened.L'utilisateur dit
Lance une nouvelle campagne qui s'appelle « Cliniques BE — T1 ».
{ "name": "create_campaign", "arguments": { "name": "Clinics BE — Q1" }}Arguments
Section intitulée « Arguments »namestringobligatoire1–120 caractèresThe campaign name, as the user gave or approved it.
Schéma d'entrée
{ "type": "object", "properties": { "name": { "type": "string", "minLength": 1, "maxLength": 120, "description": "The campaign name, as the user gave or approved it." } }, "required": ["name"]}Résultat
Section intitulée « Résultat »Sorte de résultatcampaign_update
kind"campaign_update"outcomestringWhat happened, in a sentence.
campaignobjetidstring — The campaign id: pass it to select_campaign or rename_campaign.namestringstatestring — The campaign state code.stateLabelstring — The campaign state, in words.currentboolean — True for the campaign every tool of this connection works on right now.mailboxesinteger — Sending mailboxes assigned to it.
appUrlstringSchéma de sortie
{ "type": "object", "properties": { "kind": { "type": "string", "const": "campaign_update" }, "outcome": { "type": "string", "description": "What happened, in a sentence." }, "campaign": { "type": "object", "properties": { "id": { "type": "string", "description": "The campaign id: pass it to select_campaign or rename_campaign." }, "name": { "type": "string" }, "state": { "type": "string", "description": "The campaign state code." }, "stateLabel": { "type": "string", "description": "The campaign state, in words." }, "current": { "type": "boolean", "description": "True for the campaign every tool of this connection works on right now." }, "mailboxes": { "type": "integer", "description": "Sending mailboxes assigned to it." } }, "required": ["id", "name", "state", "stateLabel", "current", "mailboxes"], "additionalProperties": false }, "appUrl": { "type": "string" } }, "required": ["kind", "outcome", "campaign", "appUrl"], "additionalProperties": false}Bon à savoir
Section intitulée « Bon à savoir »- Elle démarre sans cible, playbook, séquence ni leads à elle ; l'offre, le forfait et l'infrastructure d'envoi sont ceux du workspace.
- La rappeler avec le même nom renvoie la campagne déjà ouverte, de nouveau courante.
- Refusé quand list_campaigns indique canCreate à false.
Outils liés
Section intitulée « Outils liés »list_campaignsList your campaigns
rename_campaignRename a campaign
save_targetSave who you want to reach