Criar campanha a partir de planilha
generate_outreach_campaignCreate a new outreach campaign from an existing sheet (sheetId is required). It drafts name, offering, goal, CTA and cadence from the workspace profile plus the instruction and attaches people from that people sheet after the draft (rowIds left out means every row, up to 1000). The sheet is only the audience list unless useSheetContext is true (a list of founders does not turn the campaign into a founder campaign); a campaign from a sheet claims no buying signal the request did not state, and is named after the sheet. Its channels follow what the list can receive (LinkedIn connections have no e-mail: a LinkedIn-only campaign); channels sets them explicitly ("no LinkedIn" = ["linkedin"]). channels ["whatsapp"] makes a cadence of WhatsApp only (steps the seller sends from the phone, or WhatsApp automático where the workspace sends it), and only people with a mobile enter; on a company sheet its quote then includes each person's mobile (phoneLookup: the company's WhatsApp do decisor first, 6 credits, else the person's mobile, 20, each only when found). Suited to creating a campaign from an existing sheet or to offering a demo. A COMPANY sheet works the same as sheetId, with no separate decision-maker step: the same sheet becomes the campaign's people, the decision makers of each company take its place, each row keeping the company's columns; a company where nobody is found stays, marked, out of the campaign. For a company sheet the first call only quotes (status needs_confirmation, with maxCredits for the first batch of up to 25 people) and spends nothing; a call with acceptedCredits equal to that maxCredits runs it. The other companies are converted by the campaign itself, a few a day, once it is active. areasNote, when present, flags people who may not fit; they can come out of the list or stay with that version ("Tirar da lista" on the campaign's Template tab). templateId is not accepted.When people of the campaign still wait on their sheet row's e-mail, LinkedIn or phone lookup, enrichmentPending counts them by field and enrichmentPendingNote is a short sentence saying so; the address joins the campaign by itself when the lookup finishes.
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": {
"sheetId": "<sheetId>"
},
"name": "generate_outreach_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locale | No | Copy language. Defaults to Português (Brasil). | |
| rowIds | No | Optional subset. Omit to attach every people row in the sheet. | |
| sheetId | Yes | Sheet UUID: a people sheet (its people) or a company sheet (its decision makers). | |
| channels | No | Channels the user asked for; ["whatsapp"] for WhatsApp only. Omit to use the ones the sheet's people can receive. | |
| instruction | No | What the campaign should sell or ask for, e.g. offer a Nock demo. | |
| decisionMakers | No | Only for a company sheet: whom to write to at each company. Omit to use the account's persona. | |
| withSignalOnly | No | Only the rows of the companies whose rows show a buying signal in the sheet (its Sinal column), within rowIds when given. | |
| acceptedCredits | No | Only for a company sheet, on the second call: the maxCredits the first call returned, after the user agreed. | |
| useSheetContext | No | When true, use roles/companies from the sheet to form the campaign targeting. Default false: the sheet is only the audience and must not change the campaign slice. |