LazyBoy2/docs/scenarios/examples/shopee-threads-affiliate.md

45 lines
1.6 KiB
Markdown
Raw Normal View History

# 範例:蝦皮聯盟行銷 → Threads
> **這是範例example**,用來示範如何把 [`docs/scenarios/README.md`](../README.md) 的可推廣模式套到真實站點。
> 換掉來源/目標即可變成別的情境;不要把蝦皮當成唯一產品路徑。
| 欄位 | 值 |
|------|-----|
| Slug | `shopee-threads-affiliate` |
| SOURCE_PORTAL | https://affiliate.shopee.tw/ |
| TARGET_CHANNEL | Threadsthreads.net |
| GOAL | 找出約 3 個高佣金、適合公開分享的商品/連結 |
| CONSTRAINTS | 繁中短貼文;自然口吻;含聯盟連結;不誇大療效/投資 |
| LANGUAGE | 繁體中文 |
## 成功標準
### 過
- Phase A登入handoff→ 找到 ~3 候選 + 1 則 Threads 草稿(含連結)→ `report_done`**未發佈**
- Phase B本輪已核准同一草稿聊天或 `request_user_confirm`)→ 登入 Threadshandoff→ 發佈 → `report_done`(盡量含 URL
- 人工僅蝦皮登入、Threads 登入、最終 confirm
### 不過
- 未確認就發 Threads
- 未 headed 導致重登cookie 遺失
- 聯盟列表空轉
- 叫人手動貼全文agent 應自己 type只留 confirm
## 執行
```bash
2026-09-15 05:20:44 +00:00
export LAZYBOY_API_KEY=你的金鑰
export LAZYBOY_BROWSER_HEADED=1
cd ~/LazyBoy
cargo run -p lazyboy -- agent
```
貼上:
1. [`prompts/examples/shopee-threads-phase-a.txt`](../../../prompts/examples/shopee-threads-phase-a.txt)
2. 審草稿後貼 [`prompts/examples/shopee-threads-phase-b.txt`](../../../prompts/examples/shopee-threads-phase-b.txt),或回覆「核准,請發佈以下草稿:…」
由 template 填出:`prompts/templates/phase-a.txt` / `phase-b.txt`