Lead's position in the flow
lead_flow_stateWhere a lead sits in its campaign sequence right now, when the next action fires, and whether it has been orphaned by a sequence edit. One lead, current position only. For every lead waiting on a given step use sequence_leads_at_step; for what a sequence rewrite did to the whole campaign use flow_audit.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"leadId": "<leadId>"
},
"name": "lead_flow_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| leadId | Yes | Lead id, from `lead_list`. |