> ## Documentation Index
> Fetch the complete documentation index at: https://dialnexa.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Workflow Lead History And Debugging In DialNexa

> Debug DialNexa workflow lead history with visited nodes, traversed edges, current node, call ids, transition reasons, metadata, and call log links.

Workflow lead history in DialNexa shows the actual path one lead followed through a workflow. It includes the lead, current execution state, all nodes, all edges, visited nodes, traversed edges, transition reasons, metadata, and call ids for voice call nodes.

> [!TIP]
>
> The workflow canvas tells you what should happen. Lead history tells you what did happen. The second one wins arguments.

## DialNexa Workflow Lead History And Debugging Evidence

The history response is built for debugging one lead.

| Evidence | Why it matters |
| - | - |
| lead | Phone number, dynamic variables, notes, and lead id. |
| execution | Current node id and execution status. |
| history | Ordered transitions with from node, to node, reason, timestamp, and metadata. |
| all\_nodes | Full workflow graph, including nodes the lead did not visit. |
| all\_edges | Full workflow structure with labels. |
| call\_id metadata | Links a Voice Call node transition to the exact call log. |

## How The History Graph Helps

The history view highlights actual execution.

> [card] [Visited nodes](https://dialnexa.com/docs/workflows/builder-concepts.md)
>
> Shows which nodes the lead entered.

> [card] [Traversed edges](https://dialnexa.com/docs/workflows/condition-nodes.md)
>
> Shows which edge labels were followed.

> [card] [Current node](https://dialnexa.com/docs/workflows/workflow-statuses.md)
>
> Shows where an active lead is waiting or processing.

> [card] [Call details](https://dialnexa.com/docs/monitoring/call-detail-page.md)
>
> Links voice call transitions to call logs.

## Debug A Stuck Lead

**1. Open lead history**

Start with the lead, not the whole workflow.

**2. Find current node**

Check whether the lead is at a call, wait, condition, application, converted, or dropped node.

**3. Read the last transition**

Look at reason and metadata for the latest move.

**4. Open linked call log**

If the last node was a Voice Call node, inspect the exact call.

**5. Fix the node config**

Adjust outputs, variables, or integration setup, then retest with a small sample.

## Review Workflow Lead Counts And Pages

The workflow list’s **Leads count** shows the number of attached leads. Open a workflow’s **Leads** view to inspect the table and move through pages. Do not treat the number of rows on the current page as the total enrollment.

The Voice call node also identifies the outbound agent for its selected number where available. Check this alongside the lead’s latest call attempt when diagnosing a retry. See [List Workflow Leads](https://dialnexa.com/docs/api-reference/v1/workflow-leads/list.md#list-workflow-leads-with-pagination) for API pagination and matching totals.

## Related Reading

> [card] [Call Detail Page](https://dialnexa.com/docs/monitoring/call-detail-page.md)
>
> Inspect linked calls.

> [card] [Application Nodes](https://dialnexa.com/docs/workflows/application-nodes.md)
>
> Debug action failures.

> [card] [Statuses](https://dialnexa.com/docs/reference/statuses.md)
>
> Understand status labels.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.