Flag a lead for human attention
luca_flag_for_humanAdd a [needs-human] note to a lead's timeline when a conversation needs human judgment (e.g., payment disputes, legal issues, distress).
Instructions
Add a note to a lead, tagged [needs-human], that the coach sees on the lead's timeline. This is an ordinary note with a prefix — it does not route, alert, or reprioritize anything. Use when a conversation needs judgment an agent should not exercise (payment claims, distress, legal), and tell the coach directly if it is urgent. Example: call with { leadId, reason: "lead mentioned a refund dispute" }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| leadId | Yes | The lead to flag. | |
| reason | Yes | Why a human should look — shown to the coach verbatim. | |
| workspaceId | No | Optional Luca workspace id override. | |
| workspaceSlug | No | Optional Luca workspace slug override. | |
| idempotencyKey | No | Reuse the same key when retrying this exact flag. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |