Use this reference whenever the user asks to read Facebook replies, synchronize Messenger conversations, translate customer messages, assess cooperation intent, or update follow-up status from Facebook conversations.
Never send a reply as part of this workflow. Only provide a Chinese next-step recommendation.
Initial full history:
python scripts/social/collect_facebook_conversations.py --excel "<workbook>" --profile-id "<profile_id>" --initial-full
Incremental sync:
python scripts/social/collect_facebook_conversations.py --excel "<workbook>" --profile-id "<profile_id>" --incremental
Rules:
Use Sheet name Facebook对话记录 with exactly these columns:
记录ID、客户序号、客户姓名/公司、Facebook主页链接、Messenger线程ID、消息时间、消息方向、发件人、原文语言、对话原文、中文翻译、消息类型、是否有效客户回复、合作意向、意向判断依据、下一步建议、同步时间、来源账号/Profile ID、风险标记
The agent must create UTF-8 JSON. Each analyzed thread must match at least two of customer_index, thread_id, and facebook_link.
{
"schema_version": "4.26",
"threads": [
{
"customer_index": "1",
"facebook_link": "https://www.facebook.com/example",
"thread_id": "example",
"messages": [
{
"record_id": "fbh:...",
"message_time": "2026-08-06T10:30:00+08:00",
"original_language": "fr",
"chinese_translation": "客户希望先查看车型和价格区间。",
"is_effective_customer_reply": true,
"intent": "明确有意向",
"intent_reason": "客户主动询问车型和价格资料。",
"next_action": "整理适合当地市场的车型和价格区间资料,优先回复客户。",
"risk_flags": []
}
],
"latest_analysis": {
"latest_reply_record_id": "fbh:...",
"latest_reply_at": "2026-08-06T10:30:00+08:00",
"chinese_summary": "客户愿意评估五菱车型,并要求先查看车型和价格区间。",
"intent": "明确有意向",
"intent_reason": "客户提出了具体资料需求。",
"next_action": "在一个工作日内整理车型和价格区间资料。",
"next_followup": ""
}
}
]
}
Every message with non-Chinese text requires chinese_translation. Outgoing messages are translated for context but must use is_effective_customer_reply=false and no cooperation intent.
| Intent | Evidence | Status | Default follow-up |
|---|---|---|---|
| 明确有意向 | asks for models, price, quotation, import terms, trial order, volume purchase, or supplies purchase details | 已回复,有合作意向 | 1 business day |
| 潜在意向 | agrees to review information or continue discussion without a concrete purchase step | 已回复,待跟进 | 3 business days |
| 需澄清 | ambiguous reply, asks who the sender is, or requires decision-maker/business-fit confirmation | 已回复,待澄清 | 2 business days |
| 暂不考虑 | no current plan but leaves a future opening or asks to reconnect later | 已回复,暂不考虑 | explicit customer date, otherwise 30 days |
| 明确拒绝 | explicitly not interested, requests no more contact, or confirms it is not a target business | 已回复,明确拒绝 | none |
Do not classify greetings, thanks, emojis, thumbs-up, read receipts, or automatic replies as positive intent. Base the decision on the full thread, customer type, business evidence, and the latest effective customer reply.
Default is preview-only. Write only when the user explicitly asks to update the workbook.
python scripts/social/write_facebook_conversations.py --excel "<workbook>" --transcript "<raw.json>" --analysis "<analysis.json>" --write-workbook --refresh-summary --refresh-dashboard
The writer must:
A completed write must report question_mark_cells=0 and question_mark_note_rows=0.
Dashboard reply metrics are unique-customer metrics:
Never use message count as customer count.