Buscar decisor e contatos da empresa
find_decision_maker_and_contactsFor small businesses (a school, a market, a clinic), finds in one run who decides there (name and role, with the public source of each fact), that person's mobile, WhatsApp and e-mail, and the business's general mailbox (personal data). Takes 1 to 25 entries in people, looked up 5 at a time. Each business is identified by its name and city, its CNPJ, its site domain or a phone it publishes. First it checks this workspace (people sheets, campaigns and kept briefs): a value already saved comes back free, with savedIn naming where it was saved; refresh true skips that check. Otherwise it asks Nock's data sources one after another and stops at the first that finds it. value holds what was found: decisionMakerName, decisionMakerRole, decisionMakerSource and decisionMakerUrl (the person), decisionMakerPhone, decisionMakerWhatsapp, decisionMakerEmail and companyGeneralEmail (the contacts), each only when found. Each item is charged only when found; a decision maker that comes only from the Receita's partner registry is free (decisionMakerFree true), and the WhatsApp is not charged again when it is the same number as the mobile. not_found is never charged; reason, when present, says why there is nothing to find (a condominium has no partners and its síndico is not in the registry). Nothing is written into a sheet or a campaign. Returns one entry per person or business in the order sent (index), each with person (whose it is), status found, not_found or error, value and creditsCharged, plus the totals found, notFound, failed and creditsCharged. not_found with sourcesUnanswered means some sources did not answer in time and a later try may find it; error means no source answered. The same entry sent twice is looked up once (sameAsIndex). Costs WhatsApp: 6 a 15 créditos por número achado (at most 46 credits per item found). Nothing is charged when it is not found, the lookup fails or the value was already saved. A lookup can take up to about a minute per entry.
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": {
"people": "<people>"
},
"name": "find_decision_maker_and_contacts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| people | Yes | Who to look up, 1 to 25 entries, each with what is known of them. | |
| refresh | No | True skips what this workspace has saved and looks the value up outside again. |