Editar regras da campanha
update_campaign_settingsChanges a campaign's sending rules; only the fields sent change. approveBeforeSending can only be turned on here (every step then waits for approval in the Inbox); turning it off, and the daily enrollment, are authorizations given in the campaign's Settings screen. Turning off blockActiveSequence or blockContactedBefore returns a warning with what the campaign then lets in. Free, except that onlyActiveLinkedin on then costs 2 credits per person read before their first message, and otherDecisionMakerSearch on 8 credits per person whose other decision maker ({{outroDecisor}}) one search finds. WhatsApp: whatsappMode (auto from the campaign's numbers, or task for the SDR), the numbers after the campaign's own, and who gets the leads' tasks (the lead's Responsável, or a rodízio among SDRs). manualLinkedin: every LinkedIn step becomes a task in the Inbox the owner does by hand. Nothing is sent.
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": {
"campaignId": "<campaignId>"
},
"name": "update_campaign_settings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| priority | No | Give this campaign priority: its due steps go out before those of the workspace's other campaigns, so it uses the shared LinkedIn quota first. Only one campaign has priority; turning it on here takes it from the others. | |
| campaignId | Yes | Campaign id. | |
| whatsappMode | No | task: each WhatsApp step is a task the lead's Responsável sends from their own phone. auto: sent from the campaign's connected WhatsApp numbers (only when the workspace has automatic WhatsApp numbers); while no number can talk to new people, the steps become tasks by themselves until one is back. | |
| fixSenderNames | No | Replace another sender's name in a message with the account that sends it. | |
| manualLinkedin | No | LinkedIn done by hand: every LinkedIn step (invite, message, like) becomes a task in the Inbox with the text ready; Nock sends nothing on LinkedIn and needs no LinkedIn account. Turn it on when the user or the material says LinkedIn is manual. For WhatsApp by hand use whatsappMode task. | |
| extraMailboxIds | No | Other connected Gmail mailbox ids, a teammate's too, someone's first e-mail goes out from, in order, when the campaign's own mailbox has no room today. Their later e-mails stay with that mailbox. [] clears. | |
| dailyCompanyLimit | No | New companies the daily additions take at most each day ("uma empresa por dia" = 1), on top of the people a day; each company brings its people per company. 0 clears it. | |
| holdOnOutOfOffice | No | An out-of-office reply holds the next message instead of ending the sequence. | |
| linkedinDailyLimit | No | LinkedIn invites and messages this campaign sends a day (default 20). LinkedIn only: e-mails of the cadence never count. The most depends on the account: 30 a day for most workspaces (a higher number is kept but sends 30), shared by every campaign on the account, so 20 leaves 10 for another campaign running at the same time. | |
| onlyActiveLinkedin | No | Only people active on LinkedIn in the last 2 months (a post, comment or reaction in 60 days) get the first message of a cadence with LinkedIn steps; the rest are held as "perfil inativo no LinkedIn". Off by default. Each person read costs 2 credits (a read kept from the last 14 days is free): say that price and get a yes before turning it on. false lets the held people go on. | |
| blockActiveSequence | No | On by default: nobody in another active or paused campaign joins this one. false includes them on purpose, and they get both cadences at once. | |
| duplicateProtection | No | Cancel repeated recipients and skip people already in the campaign. | |
| approveBeforeSending | No | ||
| blockContactedBefore | No | On by default: people already contacted (deleted campaigns too) are skipped. false contacts them again on purpose. | |
| skipNationalHolidays | No | On by default: on Brazil's national holidays (Carnaval, Sexta-feira Santa and Corpus Christi included, in the campaign's time zone) the campaign sends nothing on any channel, and the steps go at the next opening. false sends on holidays too. Finding people goes on either way. | |
| whatsappDistribution | No | owner (default): each lead's Responsável gets its tasks. round_robin: each lead without a Responsável goes to the next SDR of whatsappRoundRobinMembers; turning it on deals the leads already without one, once. | |
| resumeAfterOutOfOffice | No | Resume the day after the return date in the auto-reply. | |
| extraLinkedinAccountIds | No | Other connected LinkedIn accountIds the campaign's new invites go out from, in order, when its own account has no room today. Someone's later messages stay with the account that invited them. [] clears. | |
| extraWhatsappAccountIds | No | Other WhatsApp number accountIds after the campaign's own, in order; someone who got a message stays on that number. [] clears. | |
| emailOnlyWithoutLinkedin | No | A cadence with LinkedIn and e-mail steps reaches each person by one: LinkedIn steps when they have a profile, the e-mail steps only when they have none. People need one of the two to join, not both. | |
| otherDecisionMakerSearch | No | For a step citing {{outroDecisor}}: when Nock has no other decision maker of the person's company (other people of the workspace, Receita partners, the sheet), one search for one decision maker of the company. Off by default. 8 credits per person, only when it finds someone (a Receita partner is free): say that price and get a yes before turning it on. Off: the sentence reads without a name. | |
| whatsappRoundRobinMembers | No | The rodízio's SDRs in order (a member's name, e-mail or user id), the whole list. |