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