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

# Investigate cross-system failures

> Trace a failed Voiceflow customer request through conversation evidence, application requests and destination records before choosing a safe recovery.

Start with one failed or disputed customer request and access to its conversation, application logs and destination record. This workflow identifies where the request stopped and whether any side effect already happened.

The fictional example follows conversation `b018`, request `req-007` and source reference `application-007`. Its HTTP request returned `200`, but the application reported that the requested return could not be completed.

## Before you begin

- The original conversation ID, time, Environment/release and customer-visible symptom.
- The application owner who can map an opaque monitoring ID to the authorized request/case record. A log ID does not grant access to customer data.
- Access to the relevant [integration manual](/docs/guides/integrations/overview) and provider execution history.

For a local worked example, use the [CX records](/docs/examples/monitoring/cx-guides.zip). After [Datadog setup](/docs/guides/integrations/datadog/overview#connecting-datadog), validate `requests.json` and `outcomes.json` with `node publish.mjs FILE.json`. Add `--send` only when your developer has checked the data and staging destination.

## Follow the original request

### 1. Record the customer symptom

Open the permitted Voiceflow [Transcript](/docs/documentation/measure/transcripts#reviewing-individual-transcripts) and identify the customer's request, the agent's answer and the relevant current tool result. Record the original Environment/release and timestamps. Keep credentials and unnecessary customer text out of incident notes.

Use [native conversation investigation](/docs/guides/studio/monitoring/investigate-failed-conversation) for Voiceflow's message and execution details. This guide continues across the application and destination boundary.

### 2. Find the matching application attempt

In Datadog **Logs → Explorer**, search the worked case:

```text
service:voiceflow-agent env:staging @cx_environment:main @cx_project_id:northstar @cx_review_id:"returns-after" @cx_conversation_id:b018
```

The outcome row is `unresolved`. The request row identifies `req-007`, operation `returns.lookup`, HTTP `200` and application result `failure`. Use `cx_evidence_ref:application-007` to find the original record through your backend's access-controlled mapping.

When monitoring native lifecycle events instead, begin with the delivered `session_id` or `transcript_id` and your application's recorded mapping. Do not assume those IDs equal the example's `cx_conversation_id`, and never search with a session key.

### 3. Reconcile the destination state

Ask the destination owner to inspect that exact original execution and the intended record. Distinguish these boundaries:

| Evidence | What it establishes |
| --- | --- |
| Signed webhook accepted | Your receiver accepted the event. |
| HTTP 2xx | The endpoint accepted or completed its transport-level request. |
| Application result | What the business operation reported. Inspect its actual contract. |
| Persisted destination record | Whether the intended action happened and which work remains. |
| Customer reply | What the agent told the customer; compare it with the confirmed state. |

In the example, HTTP success coexists with an unsuccessful application result. Inspect `application-007` for the reason and record state; do not turn its status into a completed return. The monitoring sample does not contain the full source payload.

### 4. Choose recovery from the confirmed state

If the intended write exists, retain its reference and repair only the remaining work. If no work occurred, correct the failed prerequisite and follow the provider's retry contract. If the state is unknown, keep it unconfirmed and investigate before repeating a write.

For a valid policy rejection, explain the approved next step or escalation rather than retrying until the action succeeds. For a timeout or pending automation, follow [automation failure reconciliation](/docs/guides/integrations/automation/investigate-failures) and [pending requests](/docs/guides/integrations/automation/handle-pending-requests). A monitoring retry must never replay the customer action.

## Verify the repaired path

Repeat one safe request through the actual deployed channel, then exercise the original failure condition. Check the current tool/application result, destination record and agent wording. Confirm that no duplicate case, transfer or transaction was created.

Record the correlation IDs, failed boundary, observed side effects and recovery decision. Use the finding to add a targeted [quality check](/docs/guides/integrations/monitoring/monitor-answer-quality) or [regression alert](/docs/guides/integrations/monitoring/alert-on-cx-regressions), rather than treating every failure as a prompt problem.

## Troubleshoot the evidence chain

### The conversation and request IDs do not join

Check the producer's mapping instead of inventing a correlation key.

Verify that the application saved both IDs for the same project, Environment and attempt. A reused voice session can have call events with missing conversation IDs. Keep unmatched records visible and fix the producer for future requests; similar timestamps alone do not prove two records are the same customer action.

### The first result disappeared after a retry

Recover the original attempt before diagnosing the replacement.

Use immutable request/attempt IDs and the provider's execution history. A later successful attempt does not establish whether the first one created a side effect. Record both attempts and reconcile the original destination record before closing the incident.
