create material request
This is Raj from Site A. We need 500 bags of cement tomorrow.
Deployment trace
This is Raj from Site A. We need 500 bags of cement tomorrow.
create_material_request {"siteName":"Site A","materialName":"cement","quantity":500,"neededBy":"2026-05-09"}
Raj Patel (site_manager)
route_to_approval / approval_required
approval_pending for create_material_request
Routed material request to approval approval-aacb364d-6303-4af5-bac1-e3f16291bf9e.
Structured request
Why the decision happened
Caller identity resolved from phone number.
Caller is known and can be evaluated against policy.
No approval bypass language detected.
Ventra Build Group permits site_manager to request create_material_request.
All required fields for this intent are present.
Caller has access to Site A.
Caller role can create requisitions.
Mutation request is associated with a known authorized caller.
No duplicate requisition fingerprint was found.
Estimated cost 6000 exceeds tenant approval limit 4800.
Final decision
Safety signals
Estimated cost 6000 exceeds tenant approval limit 4800.
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"
}