// Add to join a particular form
{
"form_id": "64f5313f35e6a55c52d1fcb",
"lang": "tc",
"ai_prompt": "help build an event that have 3 sessions on 31 Jul, each has 1 hour."
}// Prompts to user to answer questions
{
"rc": 110,
"rm": "The form draft requires user to clarify",
"draft_id": "63aadd3754bd917du9312w",
"turn": 1,
"max_turns": 8,
"summary": [
{
"key": "inquiry_name",
"label": "諮詢表單名稱",
"value": "未命名諮詢"
},
{
"key": "intro",
"label": "諮詢說明",
"value": null
},
{
"key": "form_fields",
"label": "表單欄位",
"value": "姓名、電郵"
}
],
"questions": [
{
"id": "conflict_inquiry_minimum_contact",
"title": "諮詢表單至少需要一個聯絡欄位",
"reason": "你目前的設定沒有保留電郵或手機,但諮詢表單至少要有一個聯絡欄位,方便後續跟進。",
"lead": "請選擇至少保留一個聯絡欄位",
"source_errors": [
"minimum_contact_required"
],
"choices": [
{
"letter": "A",
"label": "保留電郵",
"action_type": "set_value",
"target_key": "form_field_email",
"target_value": "yes"
},
{
"letter": "B",
"label": "保留手機",
"action_type": "set_value",
"target_key": "form_field_mobile",
"target_value": "yes"
},
{
"letter": "C",
"label": "補充文字說明",
"action_type": "append_note",
"note_prefix": "【衝突確認】聯絡欄位需求"
}
]
}
]
}