Caller
Raj Patel
site_manager
Customer
ventra
Site A
Business record
approval-aacb364d-6303-4af5-bac1-e3f16291bf9e
Adapter attempts
0
no downstream write
Run Summary

What happened

approval pending
Outcome
Routed material request to approval approval-aacb364d-6303-4af5-bac1-e3f16291bf9e.
Intent
create_material_request
Caller
Raj Patel, site_manager
Site
Site A
Org
org-ventra
Policy
approval_required
Guardrails
budget_exceeded
Record
approval-aacb364d-6303-4af5-bac1-e3f16291bf9e
Extraction
deterministic / deterministic
Lifecycle
approval_pending
Next step
await_approval
Returned to Bland
await_approval
Idempotency
public-demo-approval
Bland Directive

Next required business step

await approval
Directive
await_approval
Original Bland directive
await_approval
Reason code
APPROVAL_REQUIRED
Required fields
none
Operator intervention
required
Can reconcile
no
Can retry
no
Safe context
Routed material request to approval approval-aacb364d-6303-4af5-bac1-e3f16291bf9e.
Core Loop

Deployment trace

1
Transcript Received

This is Raj from Site A. We need 500 bags of cement tomorrow.

No additional reasons
completed
2
Extraction Completed

create_material_request {"siteName":"Site A","materialName":"cement","quantity":500,"neededBy":"2026-05-09"}

No additional reasons
completed
3
Caller Resolved

Raj Patel (site_manager)

No additional reasons
completed
4
Policy Evaluated

route_to_approval / approval_required

Budget limit exceeded, route to approval. | guardrails: budget_exceeded
approval pending
5
Action Request Claimed

approval_pending for create_material_request

No additional reasons
completed
6
Action Attempted

Routed material request to approval approval-aacb364d-6303-4af5-bac1-e3f16291bf9e.

Budget limit exceeded, route to approval. | lifecycle=approval_pending | guardrails: budget_exceeded
completed
Extracted Fields

Structured request

Site
Site A
Material
cement
Quantity
500
Needed by
2026-05-09
Missing fields
none
Extraction mode
deterministic
Extraction source
deterministic
Confidence
0.98
Validation errors
none
Policy Checks

Why the decision happened

Caller KnownPassed

Caller identity resolved from phone number.

Mutation Requires Authorized CallerPassed

Caller is known and can be evaluated against policy.

Approval Bypass AttemptPassed

No approval bypass language detected.

Tenant Action AllowedPassed

Ventra Build Group permits site_manager to request create_material_request.

Required Fields PresentPassed

All required fields for this intent are present.

Site Access AllowedPassed

Caller has access to Site A.

Role Can Create RequisitionPassed

Caller role can create requisitions.

Mutation Requires Authorized CallerPassed

Mutation request is associated with a known authorized caller.

Duplicate Request CheckPassed

No duplicate requisition fingerprint was found.

Budget Within LimitFailed

Estimated cost 6000 exceeds tenant approval limit 4800.

Action Result

Final decision

Action name
create_material_request
Final outcome
Routed material request to approval approval-aacb364d-6303-4af5-bac1-e3f16291bf9e.
Decision
approval_required
Requisition
none
Approval
approval-aacb364d-6303-4af5-bac1-e3f16291bf9e
Escalation
none
PO record
none
Bland directive
await_approval
Follow-up
Raj Patel, your request was routed for approval: Routed material request to approval approval-aacb364d-6303-4af5-bac1-e3f16291bf9e.
Errors
none
Guardrails

Safety signals

Budget Exceededblocked

Estimated cost 6000 exceeds tenant approval limit 4800.

Raw Technical Data

Expand for JSON

Raw extraction JSON
{
  "extraction": {
    "mode": "deterministic",
    "failed": false,
    "source": "deterministic",
    "warnings": [],
    "confidence": 0.98,
    "missingFields": [],
    "validationErrors": [],
    "normalizedTranscript": "This is Raj from Site A. We need 500 bags of cement tomorrow."
  },
  "fields": {
    "neededBy": "2026-05-09",
    "quantity": 500,
    "siteName": "Site A",
    "materialName": "cement"
  }
}
Raw policy JSON
{
  "checks": [
    {
      "name": "caller_known",
      "passed": true,
      "reason": "Caller identity resolved from phone number."
    },
    {
      "name": "mutation_requires_authorized_caller",
      "passed": true,
      "reason": "Caller is known and can be evaluated against policy."
    },
    {
      "name": "approval_bypass_attempt",
      "passed": true,
      "reason": "No approval bypass language detected."
    },
    {
      "name": "tenant_action_allowed",
      "passed": true,
      "reason": "Ventra Build Group permits site_manager to request create_material_request."
    },
    {
      "name": "required_fields_present",
      "passed": true,
      "reason": "All required fields for this intent are present."
    },
    {
      "name": "site_access_allowed",
      "passed": true,
      "reason": "Caller has access to Site A."
    },
    {
      "name": "role_can_create_requisition",
      "passed": true,
      "reason": "Caller role can create requisitions."
    },
    {
      "name": "mutation_requires_authorized_caller",
      "passed": true,
      "reason": "Mutation request is associated with a known authorized caller."
    },
    {
      "name": "duplicate_request_check",
      "passed": true,
      "reason": "No duplicate requisition fingerprint was found."
    },
    {
      "name": "budget_within_limit",
      "passed": false,
      "reason": "Estimated cost 6000 exceeds tenant approval limit 4800."
    }
  ],
  "allowed": false,
  "reasons": [
    "Budget limit exceeded, route to approval."
  ],
  "engineDecision": "route_to_approval"
}
Raw action trace JSON
[
  {
    "id": "action-log-fc5c53df-8fd8-44e3-977e-d10261e82af1",
    "orgId": "org-ventra",
    "interactionId": "public-demo-approval",
    "actionName": "approval_request_created",
    "requestPayload": {
      "reason": "Estimated cost 6000 exceeds tenant approval limit 4800.",
      "approvalRequestId": "approval-aacb364d-6303-4af5-bac1-e3f16291bf9e"
    },
    "responsePayload": {
      "reason": "Estimated cost 6000 exceeds tenant approval limit 4800.",
      "approvalRequestId": "approval-aacb364d-6303-4af5-bac1-e3f16291bf9e"
    },
    "beforeState": null,
    "afterState": null,
    "createdAt": "2026-09-25T16:55:54.518Z"
  },
  {
    "id": "action-log-137d0295-0f7a-438c-9cc2-25ed12f3456f",
    "orgId": "org-ventra",
    "interactionId": "public-demo-approval",
    "actionName": "create_material_request",
    "requestPayload": {
      "transcript": "This is Raj from Site A. We need 500 bags of cement tomorrow.",
      "callerPhone": "+15550000001",
      "interactionId": "public-demo-approval",
      "extractionMode": "deterministic",
      "idempotencyKey": "public-demo-approval"
    },
    "responsePayload": {
      "outcome": "Routed material request to approval approval-aacb364d-6303-4af5-bac1-e3f16291bf9e.",
      "nextStep": {
        "context": {},
        "canRetry": false,
        "directive": "await_approval",
        "reasonCode": "APPROVAL_REQUIRED",
        "canReconcile": false,
        "requiredFields": [],
        "actionRequestId": "action-request-d758e4cd-ef65-4d42-913b-71927822a5e7",
        "safeExplanation": "Routed material request to approval approval-aacb364d-6303-4af5-bac1-e3f16291bf9e.",
        "approvalRequestId": "approval-aacb364d-6303-4af5-bac1-e3f16291bf9e",
        "operatorInterventionRequired": true
      },
      "timeline": [
        {
          "step": "transcript_received",
          "status": "completed",
          "reasons": [],
          "latencyMs": 0,
          "timestamp": "2026-09-25T16:55:54.289Z",
          "guardrails": [],
          "inputSummary": "+15550000001",
          "outputSummary": "This is Raj from Site A. We need 500 bags of cement tomorrow."
        },
        {
          "step": "extraction_completed",
          "status": "completed",
          "reasons": [],
          "latencyMs": 1,
          "timestamp": "2026-09-25T16:55:54.290Z",
          "guardrails": [],
          "inputSummary": "deterministic",
          "outputSummary": "create_material_request {\"siteName\":\"Site A\",\"materialName\":\"cement\",\"quantity\":500,\"neededBy\":\"2026-05-09\"}"
        },
        {
          "step": "caller_resolved",
          "status": "completed",
          "reasons": [],
          "latencyMs": 49,
          "timestamp": "2026-09-25T16:55:54.339Z",
          "guardrails": [],
          "inputSummary": "+15550000001",
          "outputSummary": "Raj Patel (site_manager)"
        },
        {
          "step": "policy_evaluated",
          "status": "blocked",
          "reasons": [
            "Budget limit exceeded, route to approval."
          ],
          "latencyMs": 83,
          "timestamp": "2026-09-25T16:55:54.422Z",
          "guardrails": [
            "budget_exceeded"
          ],
          "inputSummary": "create_material_request for Raj Patel",
          "outputSummary": "route_to_approval / approval_required"
        },
        {
          "step": "action_request_claimed",
          "status": "completed",
          "reasons": [],
          "latencyMs": 0,
          "timestamp": "2026-09-25T16:55:54.445Z",
          "guardrails": [],
          "inputSummary": "public-demo-approval",
          "outputSummary": "approval_pending for create_material_request"
        },
        {
          "step": "action_attempted",
          "status": "completed",
          "reasons": [
            "Budget limit exceeded, route to approval.",
            "lifecycle=approval_pending"
          ],
          "latencyMs": 0,
          "timestamp": "2026-09-25T16:55:54.540Z",
          "guardrails": [
            "budget_exceeded"
          ],
          "inputSummary": "create_material_request",
          "outputSummary": "Routed material request to approval approval-aacb364d-6303-4af5-bac1-e3f16291bf9e."
        }
      ],
      "extraction": {
        "mode": "deterministic",
        "failed": false,
        "source": "deterministic",
        "warnings": [],
        "confidence": 0.98,
        "missingFields": [],
        "validationErrors": [],
        "normalizedTranscript": "This is Raj from Site A. We need 500 bags of cement tomorrow."
      },
      "guardrails": [
        {
          "code": "budget_exceeded",
          "reason": "Estimated cost 6000 exceeds tenant approval limit 4800."
        }
      ],
      "policyDecision": "approval_required",
      "relatedRecords": {
        "actionRequestId": "action-request-d758e4cd-ef65-4d42-913b-71927822a5e7",
        "approvalRequestId": "approval-aacb364d-6303-4af5-bac1-e3f16291bf9e"
      }
    },
    "beforeState": null,
    "afterState": null,
    "createdAt": "2026-09-25T16:55:54.553Z"
  },
  {
    "id": "action-log-d09642aa-f377-448f-a3a2-f1a1bb96d09d",
    "orgId": "org-ventra",
    "interactionId": "public-demo-approval",
    "actionName": "followup_record_created",
    "requestPayload": {
      "message": "Raj Patel, your request was routed for approval: Routed material request to approval approval-aacb364d-6303-4af5-bac1-e3f16291bf9e."
    },
    "responsePayload": {
      "message": "Raj Patel, your request was routed for approval: Routed material request to approval approval-aacb364d-6303-4af5-bac1-e3f16291bf9e."
    },
    "beforeState": null,
    "afterState": null,
    "createdAt": "2026-09-25T16:55:54.598Z"
  }
]
Raw webhook trace JSON
[
  {
    "id": "webhook-eb1aa95b-e42c-4610-bca2-b92a727e27fe",
    "orgId": "org-ventra",
    "interactionId": "public-demo-approval",
    "actionName": "approval_request_created",
    "requestBody": {
      "reason": "Estimated cost 6000 exceeds tenant approval limit 4800.",
      "approvalRequestId": "approval-aacb364d-6303-4af5-bac1-e3f16291bf9e"
    },
    "responseBody": {
      "reason": "Estimated cost 6000 exceeds tenant approval limit 4800.",
      "approvalRequestId": "approval-aacb364d-6303-4af5-bac1-e3f16291bf9e"
    },
    "createdAt": "2026-09-25T16:55:54.529Z"
  },
  {
    "id": "webhook-31b692c6-1334-43cf-a2fc-bbd51339a5db",
    "orgId": "org-ventra",
    "interactionId": "public-demo-approval",
    "actionName": "create_material_request",
    "requestBody": {
      "transcript": "This is Raj from Site A. We need 500 bags of cement tomorrow.",
      "callerPhone": "+15550000001",
      "interactionId": "public-demo-approval",
      "extractionMode": "deterministic",
      "idempotencyKey": "public-demo-approval"
    },
    "responseBody": {
      "ok": true,
      "data": {
        "approval": {
          "id": "approval-aacb364d-6303-4af5-bac1-e3f16291bf9e",
          "orgId": "org-ventra",
          "reason": "Estimated cost 6000 exceeds tenant approval limit 4800.",
          "siteId": "site-a",
          "status": "pending",
          "interactionId": "public-demo-approval",
          "idempotencyKey": "public-demo-approval",
          "requestedByUserId": "user-raj"
        },
        "budgetStatus": {
          "budget": {
            "id": "budget-a",
            "orgId": "org-ventra",
            "siteId": "site-a",
            "monthlyLimit": 8000,
            "committedAmount": 3200
          },
          "withinLimit": false,
          "estimatedCost": 6000,
          "remainingBudget": 4800
        },
        "actionRequest": {
          "id": "action-request-d758e4cd-ef65-4d42-913b-71927822a5e7",
          "reused": false,
          "fingerprint": "{\"fields\":{\"materialName\":\"cement\",\"neededBy\":\"2026-05-09\",\"quantity\":500,\"siteName\":\"Site A\"},\"intent\":\"create_material_request\"}",
          "idempotencyKey": "public-demo-approval",
          "lifecycleState": "approval_pending",
          "nextStepDirective": "await_approval"
        },
        "customerConfig": {
          "key": "ventra",
          "name": "Ventra Build Group",
          "policyVersion": "ventra-policy-v2",
          "materialApprovalLimit": 4800
        },
        "fieldProvenance": {
          "policyInputs": [
            "siteName",
            "materialName",
            "quantity",
            "neededBy"
          ],
          "extractionSource": "deterministic",
          "removedUntrustedFields": []
        },
        "followupMessage": "Raj Patel, your request was routed for approval: Routed material request to approval approval-aacb364d-6303-4af5-bac1-e3f16291bf9e."
      },
      "action": "create_material_request",
      "caller": {
        "name": "Raj Patel",
        "role": "site_manager",
        "known": true,
        "orgId": "org-ventra",
        "userId": "user-raj",
        "siteIds": [
          "site-a"
        ]
      },
      "errors": [],
      "intent": "create_material_request",
      "policy": {
        "checks": [
          {
            "name": "caller_known",
            "passed": true,
            "reason": "Caller identity resolved from phone number."
          },
          {
            "name": "mutation_requires_authorized_caller",
            "passed": true,
            "reason": "Caller is known and can be evaluated against policy."
          },
          {
            "name": "approval_bypass_attempt",
            "passed": true,
            "reason": "No approval bypass language detected."
          },
          {
            "name": "tenant_action_allowed",
            "passed": true,
            "reason": "Ventra Build Group permits site_manager to request create_material_request."
          },
          {
            "name": "required_fields_present",
            "passed": true,
            "reason": "All required fields for this intent are present."
          },
          {
            "name": "site_access_allowed",
            "passed": true,
            "reason": "Caller has access to Site A."
          },
          {
            "name": "role_can_create_requisition",
            "passed": true,
            "reason": "Caller role can create requisitions."
          },
          {
            "name": "mutation_requires_authorized_caller",
            "passed": true,
            "reason": "Mutation request is associated with a known authorized caller."
          },
          {
            "name": "duplicate_request_check",
            "passed": true,
            "reason": "No duplicate requisition fingerprint was found."
          },
          {
            "name": "budget_within_limit",
            "passed": false,
            "reason": "Estimated cost 6000 exceeds tenant approval limit 4800."
          }
        ],
        "allowed": false,
        "reasons": [
          "Budget limit exceeded, route to approval."
        ],
        "engineDecision": "route_to_approval"
      },
      "outcome": "Routed material request to approval approval-aacb364d-6303-4af5-bac1-e3f16291bf9e.",
      "nextStep": {
        "context": {},
        "canRetry": false,
        "directive": "await_approval",
        "reasonCode": "APPROVAL_REQUIRED",
        "canReconcile": false,
        "requiredFields": [],
        "actionRequestId": "action-request-d758e4cd-ef65-4d42-913b-71927822a5e7",
        "safeExplanation": "Routed material request to approval approval-aacb364d-6303-4af5-bac1-e3f16291bf9e.",
        "approvalRequestId": "approval-aacb364d-6303-4af5-bac1-e3f16291bf9e",
        "operatorInterventionRequired": true
      },
      "timeline": [
        {
          "step": "transcript_received",
          "status": "completed",
          "reasons": [],
          "latencyMs": 0,
          "timestamp": "2026-09-25T16:55:54.289Z",
          "guardrails": [],
          "inputSummary": "+15550000001",
          "outputSummary": "This is Raj from Site A. We need 500 bags of cement tomorrow."
        },
        {
          "step": "extraction_completed",
          "status": "completed",
          "reasons": [],
          "latencyMs": 1,
          "timestamp": "2026-09-25T16:55:54.290Z",
          "guardrails": [],
          "inputSummary": "deterministic",
          "outputSummary": "create_material_request {\"siteName\":\"Site A\",\"materialName\":\"cement\",\"quantity\":500,\"neededBy\":\"2026-05-09\"}"
        },
        {
          "step": "caller_resolved",
          "status": "completed",
          "reasons": [],
          "latencyMs": 49,
          "timestamp": "2026-09-25T16:55:54.339Z",
          "guardrails": [],
          "inputSummary": "+15550000001",
          "outputSummary": "Raj Patel (site_manager)"
        },
        {
          "step": "policy_evaluated",
          "status": "blocked",
          "reasons": [
            "Budget limit exceeded, route to approval."
          ],
          "latencyMs": 83,
          "timestamp": "2026-09-25T16:55:54.422Z",
          "guardrails": [
            "budget_exceeded"
          ],
          "inputSummary": "create_material_request for Raj Patel",
          "outputSummary": "route_to_approval / approval_required"
        },
        {
          "step": "action_request_claimed",
          "status": "completed",
          "reasons": [],
          "latencyMs": 0,
          "timestamp": "2026-09-25T16:55:54.445Z",
          "guardrails": [],
          "inputSummary": "public-demo-approval",
          "outputSummary": "approval_pending for create_material_request"
        },
        {
          "step": "action_attempted",
          "status": "completed",
          "reasons": [
            "Budget limit exceeded, route to approval.",
            "lifecycle=approval_pending"
          ],
          "latencyMs": 0,
          "timestamp": "2026-09-25T16:55:54.540Z",
          "guardrails": [
            "budget_exceeded"
          ],
          "inputSummary": "create_material_request",
          "outputSummary": "Routed material request to approval approval-aacb364d-6303-4af5-bac1-e3f16291bf9e."
        }
      ],
      "extraction": {
        "mode": "deterministic",
        "failed": false,
        "source": "deterministic",
        "warnings": [],
        "confidence": 0.98,
        "missingFields": [],
        "validationErrors": [],
        "normalizedTranscript": "This is Raj from Site A. We need 500 bags of cement tomorrow."
      },
      "guardrails": [
        {
          "code": "budget_exceeded",
          "reason": "Estimated cost 6000 exceeds tenant approval limit 4800."
        }
      ],
      "interactionId": "public-demo-approval",
      "policyDecision": "approval_required",
      "relatedRecords": {
        "actionRequestId": "action-request-d758e4cd-ef65-4d42-913b-71927822a5e7",
        "approvalRequestId": "approval-aacb364d-6303-4af5-bac1-e3f16291bf9e"
      },
      "extractedFields": {
        "neededBy": "2026-05-09",
        "quantity": 500,
        "siteName": "Site A",
        "materialName": "cement"
      }
    },
    "createdAt": "2026-09-25T16:55:54.565Z"
  },
  {
    "id": "webhook-3ddcc5bc-1970-4baf-b8a1-ed7eb5dc4d7d",
    "orgId": "org-ventra",
    "interactionId": "public-demo-approval",
    "actionName": "followup_record_created",
    "requestBody": {
      "message": "Raj Patel, your request was routed for approval: Routed material request to approval approval-aacb364d-6303-4af5-bac1-e3f16291bf9e."
    },
    "responseBody": {
      "message": "Raj Patel, your request was routed for approval: Routed material request to approval approval-aacb364d-6303-4af5-bac1-e3f16291bf9e."
    },
    "createdAt": "2026-09-25T16:55:54.609Z"
  }
]
Raw timeline JSON
[
  {
    "step": "transcript_received",
    "status": "completed",
    "reasons": [],
    "latencyMs": 0,
    "timestamp": "2026-09-25T16:55:54.289Z",
    "guardrails": [],
    "inputSummary": "+15550000001",
    "outputSummary": "This is Raj from Site A. We need 500 bags of cement tomorrow."
  },
  {
    "step": "extraction_completed",
    "status": "completed",
    "reasons": [],
    "latencyMs": 1,
    "timestamp": "2026-09-25T16:55:54.290Z",
    "guardrails": [],
    "inputSummary": "deterministic",
    "outputSummary": "create_material_request {\"siteName\":\"Site A\",\"materialName\":\"cement\",\"quantity\":500,\"neededBy\":\"2026-05-09\"}"
  },
  {
    "step": "caller_resolved",
    "status": "completed",
    "reasons": [],
    "latencyMs": 49,
    "timestamp": "2026-09-25T16:55:54.339Z",
    "guardrails": [],
    "inputSummary": "+15550000001",
    "outputSummary": "Raj Patel (site_manager)"
  },
  {
    "step": "policy_evaluated",
    "status": "blocked",
    "reasons": [
      "Budget limit exceeded, route to approval."
    ],
    "latencyMs": 83,
    "timestamp": "2026-09-25T16:55:54.422Z",
    "guardrails": [
      "budget_exceeded"
    ],
    "inputSummary": "create_material_request for Raj Patel",
    "outputSummary": "route_to_approval / approval_required"
  },
  {
    "step": "action_request_claimed",
    "status": "completed",
    "reasons": [],
    "latencyMs": 0,
    "timestamp": "2026-09-25T16:55:54.445Z",
    "guardrails": [],
    "inputSummary": "public-demo-approval",
    "outputSummary": "approval_pending for create_material_request"
  },
  {
    "step": "action_attempted",
    "status": "completed",
    "reasons": [
      "Budget limit exceeded, route to approval.",
      "lifecycle=approval_pending"
    ],
    "latencyMs": 0,
    "timestamp": "2026-09-25T16:55:54.540Z",
    "guardrails": [
      "budget_exceeded"
    ],
    "inputSummary": "create_material_request",
    "outputSummary": "Routed material request to approval approval-aacb364d-6303-4af5-bac1-e3f16291bf9e."
  }
]
Raw interaction JSON
{
  "id": "public-demo-approval",
  "orgId": "org-ventra",
  "siteId": "site-a",
  "callerPhone": "+15550000001",
  "callerId": "user-raj",
  "transcript": "This is Raj from Site A. We need 500 bags of cement tomorrow.",
  "intent": "create_material_request",
  "extractedFields": {
    "neededBy": "2026-05-09",
    "quantity": 500,
    "siteName": "Site A",
    "materialName": "cement"
  },
  "actionAttempted": "create_material_request",
  "policyDecision": "approval_required",
  "outcome": "Routed material request to approval approval-aacb364d-6303-4af5-bac1-e3f16291bf9e.",
  "createdAt": "2026-09-25T16:55:54.540Z"
}