prospeccao-b2b-comercio-local
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "prospeccao-b2b-comercio-local" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-cfa3af41ec42431b4b2546fa25e4b64dad590034798dc65a38b2d2293733fab3. Verify the upstream source and version against https://github.com/Hermes-brasil/hermes-brasil before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Local-market B2B business development implemented through a combination of Google Places, WhatsApp, and registration workflows.
Introduction source: third_party · Hermes-brasil · 0.0.1 Reference
SkillPi interpretation
- Tasks
- Prospeccao B2B de comercio local (Google Places + WhatsApp + registro).
- Software, accounts and paid services
- 1. `console.cloud.google.com` → ativar **Places API** 2. **ATIVAR FATURAMENTO** (obrigatório mesmo com crédito grátis) 3. US$ 200/mês de crédito cobre ~20.000 buscas 4. Gerar chave em Credentials > API Key | Erro | Causa | Solução | |---|---|---| | `REQUEST_DENIED` + "enable Billing" | Faturamento não propagou | Aguardar 5-30 min | | `PERMISSION_DENIED` | Chave restrita | Liberar no console | | 400 "FieldMask required" | API Nova sem header | Adicionar `X-Goog-FieldMask` |
- Testing
- Not tested
Browse files
Frontmatter
name: prospeccao-b2b-comercio-local
description: Prospeccao B2B de comercio local (Google Places + WhatsApp + registro).Prospecção B2B — Comércio Local
Pipeline automatizado de prospecção B2B para comércio local. Cobre coleta → qualificação → envio → registro → follow-up. Nichos: clínicas, salões, pet shops, restaurantes, mercados, lojas, oficinas, franquias.
Visão geral do fluxo
1. COLETA: Google Places API → nomes, endereços, telefones, sites, avaliações
2. DEDUP: consultar banco ANTES de inserir (zero duplicatas)
3. FILTRO: manter só comércios com WhatsApp OU Instagram OU site
4. ENVIO: WhatsApp (Evolution API) com delay entre mensagens
5. REGISTRO: SQLite + planilha (Google Sheets)
6. RESUMO: relatório no Telegram
1. Coleta — Google Places API (New) — RECOMENDADO
Muito mais rápido e confiável que browser:
curl -s "https://places.googleapis.com/v1/places:searchText?key={API_KEY}" \
-H "Content-Type: application/json" \
-H "X-Goog-FieldMask: places.displayName,places.formattedAddress,places.nationalPhoneNumber,places.rating,places.websiteUri" \
-d '{"textQuery":"auto pecas em Pirituba Sao Paulo","maxResultCount":10}'
⚠️ Header OBRIGATÓRIO: X-Goog-FieldMask — sem ele retorna erro 400.
Setup (uma única vez)
console.cloud.google.com→ ativar Places API- ATIVAR FATURAMENTO (obrigatório mesmo com crédito grátis)
- US$ 200/mês de crédito cobre ~20.000 buscas
- Gerar chave em Credentials > API Key
| Erro | Causa | Solução |
|---|---|---|
REQUEST_DENIED + "enable Billing" |
Faturamento não propagou | Aguardar 5-30 min |
PERMISSION_DENIED |
Chave restrita | Liberar no console |
| 400 "FieldMask required" | API Nova sem header | Adicionar X-Goog-FieldMask |
2. Dedup — Consultar banco ANTES de adicionar
import sqlite3, re
db = sqlite3.connect("leads.db")
cur = db.cursor()
digits = re.sub(r'\D', '', raw_phone)
cur.execute("SELECT id FROM leads WHERE telefone = ?", (digits,))
if cur.fetchone() is None:
cur.execute("INSERT INTO leads ... VALUES (...)")
else:
print(f"⬇️ Duplicata ignorada: {nome}")
3. Filtro — WhatsApp OU Instagram OU Site
Regra prática: incluir comércios com WhatsApp OU Instagram OU site.
import re
digits = re.sub(r'\D', '', phone)
# Número móvel brasileiro = 11 dígitos, DDD + '9'
if (len(digits) == 11 and digits[2] == '9') or instagram or website:
manter = True
else:
manter = False # fixo sem Instagram/site -> descartar
4. Envio via WhatsApp (Evolution API)
import urllib.parse, requests
instance = urllib.parse.quote("nome-instancia")
r = requests.post(
f"{EVOLUTION_URL}/message/sendText/{instance}",
json={"number": "5511XXXXXXXXX", "text": mensagem,
"options": {"delay": 120000}}, # 2 min entre mensagens
headers={"apikey": API_KEY, "Content-Type": "application/json"})
⚠️ Delay de 2 MINUTOS entre mensagens (evita bloqueio do WhatsApp). Use apenas com número que aceite contato não solicitado dentro das regras da plataforma.
5. Registro no SQLite
Após cada envio:
- Sucesso →
status='enviado' - Número inexistente →
status='fixo' - Erro →
status='erro_envio'
6. Abordagem de porta (presencial — alto diferencial)
Dono de pequeno negócio confia mais em quem aparece. Não vender — mostrar.
"Oi, tudo bem? Sou da região, trabalho com um sistema que atende
seus clientes pelo WhatsApp 24h. Tem 2 minutos? vou te mostrar."
[Mostra o sistema no celular do dono]
"Olha: o cliente pergunta o preço, o sistema responde na hora.
Ele pergunta o estoque, o sistema consulta e responde. Automático."
"Quer testar 15 dias grátis? Se não gostar, não paga nada."
Indicação: oferecer desconto — "Seu amigo fechar, você ganha 1 mês grátis."
Pitfalls
- Google Maps (browser) cai sem login e com CAPTCHA → preferir Places API
- Nomes genéricos de loja retornam resultados de outras cidades → incluir bairro
- Places API NÃO retorna Instagram → buscar separadamente (web_search)
- Verificar conexão real do WhatsApp (profileName preenchido, não só status "open")
- Enviar com delay para não ser bloqueado
- Respeitar LGPD e boas práticas de prospecção
Quando usar
- Prospecção B2B de comércio local
- Captar leads para automação WhatsApp
- Montar pipeline de vendas porta-a-porta + digital
Current listing version
0.0.1
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 高价值本地B2B商业拓展自动化流程,直接解决用户核心任务痛点
- 覆盖多个垂直行业(clínicas, salões, pet shops等),实用性强
Areas to improve
-
触发词未显式列出 Reported severity: Minor
文档中未显式列出明确的触发关键词列表,仅通过描述隐含了适用场景
Recommendation: 建议在文档开头或'Quando usar'部分显式列出触发关键词,如'prospecção B2B', 'comércio local', 'WhatsApp automação'等
Highlights
- 触发场景描述清晰,边界明确,覆盖本地商业拓展核心需求
Areas to improve
-
缺少When to Use章节 Reported severity: Minor
虽然有'Quando usar'部分,但未以标准章节形式呈现
Recommendation: 建议将'Quando usar'改为标准章节标题'# When to Use',并补充更多具体使用场景示例
-
文档过长 Reported severity: Minor
文档内容较为详细,可能影响快速阅读体验
Recommendation: 建议适当精简部分内容,或将高级配置移至附录
Highlights
- 流程结构清晰,六个阶段划分合理,每个步骤都有详细说明和代码示例
Areas to improve
-
关键API异常处理不足 Reported severity: Major
缺少对Google Places API配额耗尽、Evolution API实例失效等关键异常的自动重试机制
Recommendation: 建议增加指数退避重试逻辑和备用方案说明,确保在API服务不稳定时仍能保持一定可用性
Highlights
- 工具来源明确(Google Places API、Evolution API),参数配置正确
- 覆盖了主要异常情况(重复数据、号码格式、发送延迟等)
- 不可逆操作有确认机制(门到门拜访前的演示确认)
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Accounts, secrets or authorization
Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.
Mentioned in main document · lines 28, 40, 85
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- places.googleapis.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
1. `console.cloud.google.com` → ativar **Places API** 2. **ATIVAR FATURAMENTO** (obrigatório mesmo com crédito grátis) 3. US$ 200/mês de crédito cobre ~20.000 buscas 4. Gerar chave em Credentials > API Key | Erro | Causa | Solução | |---|---|---| | `REQUEST_DENIED` + "enable Billing" | Faturamento não propagou | Aguardar 5-30 min | | `PERMISSION_DENIED` | Chave restrita | Liberar no console | | 400 "FieldMask required" | API Nova sem header | Adicionar `X-Goog-FieldMask` |
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.