yuj es yoga

Brevo

商業營運v1.0.0
作者:yuj es yoga更新於 2026-05-11brevo@clawhub_yujesyoga/brevo
增長分析電商營運#Marketing#Email

據 AlphaMoat 統計,截至 2026-09,Brevo 累計下載 3,825 次、獲 3 個星標,在全部 5,078 個 AI 技能中排名第 2,748 位,在「商業營運」分類(297 個)中排名第 154 位。

累計安裝
119
累計下載
3825
星標
3
全站排名
#2,748
全站前 55% · 「商業營運」前 52%
平台累計安裝累計下載星標評論
ClawHub ↗11937033-
SkillHub ↗11938253—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

使用 REST API 維護聯絡人及自訂屬性,加入或移出名單,傳送交易型郵件(由特定事件觸發的郵件)、使用模板並管理行銷活動。Key 從 ~/.config/brevo/api_key 讀取,請求需 api-key 頭。匯入前必須查黑名單並跳過退訂者,已有聯絡人可用 updateEnabled 更新;屬性需先在 Brevo 後台建立。401 表示 Key 無效,400 檢查請求內容,404 核對資源。

資料釋出於 2026-10-26

可以用來做什麼

  • 維護聯絡人名單和事務郵件模板

什麼時候用

  • 已有 Brevo API Key 與目標名單時

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

檢查黑名單後整理這些聯絡人到指定名單,跳過退訂者

月度資料趨勢

累計下載3825
2327313239362026-03 · 累計下載 24382026-05 · 累計下載 30012026-06 · 累計下載 31622026-07 · 累計下載 34502026-08 · 累計下載 35852026-09 · 累計下載 382526-0326-09
星標3
2342026-03 · 星標 32026-05 · 星標 32026-06 · 星標 32026-07 · 星標 32026-08 · 星標 32026-09 · 星標 326-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-093825—3
2026-083585+3.9%3
2026-073450+9.1%3
2026-063162+5.4%3
2026-053001—3
2026-032438—3

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。

6.5 KB · ClawHub v1.0.0
---
name: brevo
version: 1.0.0
description: Brevo (formerly Sendinblue) email marketing API for managing contacts, lists, sending transactional emails, and campaigns. Use when importing contacts, sending emails, managing subscriptions, or working with email automation.
---

# Brevo Email Marketing API

Manage contacts, send emails, and automate marketing via Brevo's REST API.
展開全部(共 271 行)
## Authentication

```bash
BREVO_KEY=$(cat ~/.config/brevo/api_key)
```

All requests require header: `api-key: $BREVO_KEY`

## Base URL

```
https://api.brevo.com/v3
```

## Common Endpoints

### Contacts

| Action | Method | Endpoint |
|--------|--------|----------|
| Create contact | POST | `/contacts` |
| Get contact | GET | `/contacts/{email}` |
| Update contact | PUT | `/contacts/{email}` |
| Delete contact | DELETE | `/contacts/{email}` |
| List contacts | GET | `/contacts?limit=50&offset=0` |
| Get blacklisted | GET | `/contacts?emailBlacklisted=true` |

### Lists

| Action | Method | Endpoint |
|--------|--------|----------|
| Get all lists | GET | `/contacts/lists` |
| Create list | POST | `/contacts/lists` |
| Get list contacts | GET | `/contacts/lists/{listId}/contacts` |
| Add to list | POST | `/contacts/lists/{listId}/contacts/add` |
| Remove from list | POST | `/contacts/lists/{listId}/contacts/remove` |

### Emails

| Action | Method | Endpoint |
|--------|--------|----------|
| Send transactional | POST | `/smtp/email` |
| Send campaign | POST | `/emailCampaigns` |
| Get templates | GET | `/smtp/templates` |

## Examples

### Create/Update Contact

```bash
curl -X POST "https://api.brevo.com/v3/contacts" \
  -H "api-key: $BREVO_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "email": "[email protected]",
    "listIds": [10],
    "updateEnabled": true,
    "attributes": {
      "NOMBRE": "John",
      "APELLIDOS": "Doe"
    }
  }'
```

### Get Contact Info

```bash
curl "https://api.brevo.com/v3/contacts/[email protected]" \
  -H "api-key: $BREVO_KEY"
```

### Update Contact Attributes

```bash
curl -X PUT "https://api.brevo.com/v3/contacts/[email protected]" \
  -H "api-key: $BREVO_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "listIds": [10, 15],
    "attributes": {
      "CUSTOM_FIELD": "value"
    }
  }'
```

### Send Transactional Email

```bash
curl -X POST "https://api.brevo.com/v3/smtp/email" \
  -H "api-key: $BREVO_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "sender": {"name": "My App", "email": "[email protected]"},
    "to": [{"email": "[email protected]", "name": "John"}],
    "subject": "Welcome!",
    "htmlContent": "<p>Hello {{params.name}}</p>",
    "params": {"name": "John"}
  }'
```

### Send with Template

```bash
curl -X POST "https://api.brevo.com/v3/smtp/email" \
  -H "api-key: $BREVO_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "to": [{"email": "[email protected]"}],
    "templateId": 34,
    "params": {
      "NOMBRE": "John",
      "FECHA": "2026-02-01"
    }
  }'
```

### List All Contact Lists

```bash
curl "https://api.brevo.com/v3/contacts/lists?limit=50" \
  -H "api-key: $BREVO_KEY"
```

### Add Contacts to List (Bulk)

```bash
curl -X POST "https://api.brevo.com/v3/contacts/lists/10/contacts/add" \
  -H "api-key: $BREVO_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "emails": ["[email protected]", "[email protected]"]
  }'
```

## Safe Import Pattern

When importing contacts, **always respect unsubscribes**:

```python
import requests

BREVO_KEY = "your-api-key"
HEADERS = {'api-key': BREVO_KEY, 'Content-Type': 'application/json'}
BASE = 'https://api.brevo.com/v3'

def get_blacklisted():
    """Get all unsubscribed/blacklisted emails"""
    blacklisted = set()
    offset = 0
    while True:
        r = requests.get(
            f'{BASE}/contacts?limit=100&offset={offset}&emailBlacklisted=true',
            headers=HEADERS
        )
        contacts = r.json().get('contacts', [])
        if not contacts:
            break
        for c in contacts:
            blacklisted.add(c['email'].lower())
        offset += 100
    return blacklisted

def safe_import(emails, list_id):
    """Import contacts respecting unsubscribes"""
    blacklisted = get_blacklisted()
    
    for email in emails:
        if email.lower() in blacklisted:
            print(f"Skipped (unsubscribed): {email}")
            continue
        
        r = requests.post(f'{BASE}/contacts', headers=HEADERS, json={
            'email': email,
            'listIds': [list_id],
            'updateEnabled': True
        })
        
        if r.status_code in [200, 201, 204]:
            print(f"Imported: {email}")
        else:
            print(f"Error: {email} - {r.text[:50]}")
```

## Contact Attributes

Brevo uses custom attributes for contact data:

```json
{
  "attributes": {
    "NOMBRE": "John",
    "APELLIDOS": "Doe",
    "FECHA_ALTA": "2026-01-15",
    "PLAN": "premium",
    "CUSTOM_FIELD": "any value"
  }
}
```

Create attributes in Brevo dashboard: Contacts → Settings → Contact attributes.

## Response Codes

| Code | Meaning |
|------|---------|
| 200 | Success (GET) |
| 201 | Created (POST) |
| 204 | Success, no content (PUT/DELETE) |
| 400 | Bad request (check payload) |
| 401 | Invalid API key |
| 404 | Contact/resource not found |

## Best Practices

1. **Always check blacklist** before importing contacts
2. **Use `updateEnabled: true`** to update existing contacts instead of failing
3. **Use templates** for consistent transactional emails
4. **Batch operations** when adding many contacts to lists
5. **Store list IDs** in config, not hardcoded
6. **Log imports** for audit trail

## Automations

Brevo automations trigger on:
- Contact added to list
- Contact attribute updated
- Email opened/clicked
- Custom events via API

Trigger automation manually:
```bash
curl -X POST "https://api.brevo.com/v3/contacts/import" \
  -H "api-key: $BREVO_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "listIds": [10],
    "emailBlacklist": false,
    "updateExistingContacts": true,
    "emptyContactsAttributes": false,
    "jsonBody": [
      {"email": "[email protected]", "attributes": {"NOMBRE": "John"}}
    ]
  }'
```

## Useful Queries

```bash
# Count contacts in list
curl "https://api.brevo.com/v3/contacts/lists/10" -H "api-key: $BREVO_KEY" | jq '.totalSubscribers'

# Get recent contacts
curl "https://api.brevo.com/v3/contacts?limit=10&sort=desc" -H "api-key: $BREVO_KEY"

# Check if email exists
curl "https://api.brevo.com/v3/contacts/[email protected]" -H "api-key: $BREVO_KEY"

# Get account info
curl "https://api.brevo.com/v3/account" -H "api-key: $BREVO_KEY"
```

「商業營運」分類下的熱門技能

PollyReach商業營運

PollyReach gives every AI agent a phone number and the ability to get things done over the phone — finding contacts, making calls, and completing tasks. Just...

↓ 10.2萬★ 56PollyReach
Trello商業營運

透過 Trello REST API 管理看板、列表與卡片。

↓ 5.3萬★ 165Peter Steinberger
招標中標查詢及分析服務商業營運

全網招中標資料查詢與分析助手。當用戶涉及以下任何場景時,必須使用此SKILL:查詢招標/中標公告、搜尋標訊、查詢臨期/即將到期專案、查詢擬建專案與立項審批階段的早期商機、追蹤某個專案各階段進展與全流程時間線、商機預測、推薦潛在投標供應商、查詢企業工商登記資訊(統一社會信用程式碼/註冊資本/法定代表人/經營範圍/成立日期/登記機關/曾用名)、分析公司主營業務/歷史中標、查詢公司上下游合作客戶與供應商、分析競爭對手/競對企業、查詢Top採購單位/Top中標單位/Top中標品牌、招中標資料統計分析(按月/季/年/省份/品牌等維度)、查詢品牌型號歷史中標單價/價格趨勢、查詢當前帳戶餘額/剩餘積分/累計充值消費、市場分析/行業分析/採購尋源/渠道拓展等採購與投標相關場景。即使使用者沒有提到「知了標訊」,只要涉及招投標、採購、中標、供應商、競爭對手、企業工商資訊、帳戶餘額、剩餘積分等關鍵詞,都應使用本SKILL。

↓ 4.6萬★ 13user_98035bfb
產品經理綜合技能(PM Master)商業營運

需求分析、PRD編寫、產品需求文件、詳細設計、BRD、MRD、PRD模板、使用者故事、使用者訪談、需求挖掘、痛點分析、功能設計、KANO模型、Y模型、5W1H、優先順序排序、需求池管理、寫過需求、寫PRD、做需求分析、產品設計、產品策略、SWOT分析、波特五力、PESTLE、安索夫矩陣、商業模式畫布、價值主張、產品願景、OKR制定、Sprint規劃、回顧會、釋出說明、干係人管理、競品分析、市場調研、使用者研究、機會解決方案樹、指標看板、測試場景、頭腦風暴、假設驗證

↓ 3.4萬★ 343user_dec48685
Calendar商業營運

面向日曆管理與會議排期的技能。

↓ 2.7萬★ 9NDCCCCCC
Market Analysis CN | 市場分析服務商業營運

提供市場趨勢、競品與使用者行為分析的市場分析服務。

↓ 2.7萬★ 32Guohongbin
電商選品商業營運

電商平台爆款產品篩選分析 - 基於資料分析的智慧選品工具,支援淘寶、京東、拼多多、抖音、亞馬遜等平台

↓ 2.6萬★ 77user_c2b88a14
Salesforce商業營運

透過託管 OAuth 與 Salesforce CRM API 整合。僅在需要 Salesforce CRM 管理時才安裝。使用最小許可權連線 Salesforce,破壞性或批次操作首選沙箱組織,每次請求前驗證目標連線 ID,並撤銷未使用的連線。

↓ 2.5萬★ 8byungkyu

資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。