========================================
📞 ElevenLabs Post-Call Webhook
🕒 Time: 2025-12-16 12:36:11
🌐 IP: 34.59.11.47
----------------------------------------
HEADERS:
  Content-Type: application/json
  Content-Length: 9738
  Accept-Encoding: gzip, deflate, br
  Accept: */*
  User-Agent: ElevenLabs/1.0
  Elevenlabs-Signature: t=1765906572,v0=1cfc0b8c2cc85cdda219973082e4bd300c4915a55c7866d4adfaf7fc03b45368
  Host: bk.directobjective.com
----------------------------------------
PAYLOAD:
{
    "type": "post_call_transcription",
    "event_timestamp": 1765906572,
    "data": {
        "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
        "conversation_id": "conv_5601kcm3pp6we73aqyhzqng1qrcy",
        "status": "done",
        "user_id": null,
        "branch_id": null,
        "transcript": [
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": "Hello, may I speak with Tri?",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 0,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_tts_service_ttfb": {
                            "elapsed_time": 0.19886784399932366795837879180908203125
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            },
            {
                "role": "user",
                "agent_metadata": null,
                "message": "The person you're trying to reach is not available. At the tone, please record your message. When you have finished recording, you may hang up.",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 1,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_asr_trailing_service_latency": {
                            "elapsed_time": 0.22908949100019526667892932891845703125
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": "audio"
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": null,
                "multivoice_message": null,
                "tool_calls": [
                    {
                        "type": "system",
                        "request_id": "voicemail_detection_1c341e2594114ba7a237759850c5cd7f",
                        "tool_name": "voicemail_detection",
                        "params_as_json": "{\"reason\": \"The person you're trying to reach is not available. At the tone, please record your message. When you have finished recording, you may hang up.\"}",
                        "tool_has_been_called": true,
                        "tool_details": null
                    }
                ],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 9,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_llm_service_ttfb": {
                            "elapsed_time": 0.766395810000176425091922283172607421875
                        },
                        "convai_llm_tool_request_generation_latency": {
                            "elapsed_time": 0.767239421000340371392667293548583984375
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": null,
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [
                    {
                        "request_id": "voicemail_detection_1c341e2594114ba7a237759850c5cd7f",
                        "tool_name": "voicemail_detection",
                        "result_value": "{\"result_type\":\"voicemail_detection_success\",\"status\":\"success\",\"voicemail_message\":\"\",\"reason\":\"The person you're trying to reach is not available. At the tone, please record your message. When you have finished recording, you may hang up.\"}",
                        "is_error": false,
                        "tool_has_been_called": true,
                        "tool_latency_secs": 0.00037968399919918738305568695068359375,
                        "dynamic_variable_updates": [],
                        "type": "system",
                        "result": {
                            "result_type": "voicemail_detection_success",
                            "status": "success",
                            "voicemail_message": "",
                            "reason": "The person you're trying to reach is not available. At the tone, please record your message. When you have finished recording, you may hang up."
                        }
                    }
                ],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 9,
                "conversation_turn_metrics": null,
                "rag_retrieval_info": null,
                "llm_usage": {
                    "model_usage": {
                        "gemini-2.5-flash": {
                            "input": {
                                "tokens": 4913,
                                "price": 0.00073694999999999988814225471145391566096805036067962646484375
                            },
                            "input_cache_read": {
                                "tokens": 0,
                                "price": 0
                            },
                            "input_cache_write": {
                                "tokens": 0,
                                "price": 0
                            },
                            "output_total": {
                                "tokens": 38,
                                "price": 2.280000000000000193287226502025788477112655527889728546142578125e-5
                            }
                        }
                    }
                },
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            }
        ],
        "metadata": {
            "start_time_unix_secs": 1765906557,
            "accepted_time_unix_secs": 1765906557,
            "call_duration_secs": 11,
            "cost": 82,
            "deletion_settings": {
                "deletion_time_unix_secs": null,
                "deleted_logs_at_time_unix_secs": null,
                "deleted_audio_at_time_unix_secs": null,
                "deleted_transcript_at_time_unix_secs": null,
                "delete_transcript_and_pii": false,
                "delete_audio": false
            },
            "feedback": {
                "type": null,
                "overall_score": null,
                "likes": 0,
                "dislikes": 0,
                "rating": null,
                "comment": null
            },
            "authorization_method": "signed_url",
            "charging": {
                "dev_discount": false,
                "is_burst": false,
                "tier": "creator",
                "llm_usage": {
                    "irreversible_generation": {
                        "model_usage": {
                            "gemini-2.5-flash": {
                                "input": {
                                    "tokens": 4913,
                                    "price": 0.00073694999999999988814225471145391566096805036067962646484375
                                },
                                "input_cache_read": {
                                    "tokens": 0,
                                    "price": 0
                                },
                                "input_cache_write": {
                                    "tokens": 0,
                                    "price": 0
                                },
                                "output_total": {
                                    "tokens": 38,
                                    "price": 2.280000000000000193287226502025788477112655527889728546142578125e-5
                                }
                            }
                        }
                    },
                    "initiated_generation": {
                        "model_usage": {
                            "gemini-2.5-flash": {
                                "input": {
                                    "tokens": 9810,
                                    "price": 0.001471499999999999717947840593978980905376374721527099609375
                                },
                                "input_cache_read": {
                                    "tokens": 0,
                                    "price": 0
                                },
                                "input_cache_write": {
                                    "tokens": 0,
                                    "price": 0
                                },
                                "output_total": {
                                    "tokens": 60,
                                    "price": 3.60000000000000009120308674948063298870692960917949676513671875e-5
                                }
                            }
                        }
                    }
                },
                "llm_price": 0.0015074999999999997256361350395081899478100240230560302734375,
                "llm_charge": 7,
                "call_charge": 75,
                "free_minutes_consumed": 0,
                "free_llm_dollars_consumed": 0
            },
            "phone_call": {
                "direction": "outbound",
                "phone_number_id": "phnum_8001kc7mp2dtek4bn7dr084jydds",
                "agent_number": "+13438038625",
                "external_number": "2899399288",
                "type": "twilio",
                "stream_sid": "MZ7e21407804c052178fbea08bb61d8139",
                "call_sid": "CAac38aa965d53153ce18ef300ece2c05f"
            },
            "batch_call": {
                "batch_call_id": "btcal_5001kcm3paeyfyw8b4jcpb0nm0a0",
                "batch_call_recipient_id": "rcpt_7201kcm3paf0fkh8dmttrf5v1qen"
            },
            "termination_reason": "voicemail_detection tool was called.",
            "error": null,
            "warnings": [],
            "main_language": "en",
            "rag_usage": null,
            "text_only": false,
            "features_usage": {
                "language_detection": {
                    "enabled": true,
                    "used": false
                },
                "transfer_to_agent": {
                    "enabled": false,
                    "used": false
                },
                "transfer_to_number": {
                    "enabled": false,
                    "used": false
                },
                "multivoice": {
                    "enabled": false,
                    "used": false
                },
                "dtmf_tones": {
                    "enabled": false,
                    "used": false
                },
                "external_mcp_servers": {
                    "enabled": true,
                    "used": false
                },
                "pii_zrm_workspace": false,
                "pii_zrm_agent": false,
                "tool_dynamic_variable_updates": {
                    "enabled": false,
                    "used": false
                },
                "is_livekit": false,
                "voicemail_detection": {
                    "enabled": true,
                    "used": true
                },
                "workflow": {
                    "enabled": false,
                    "tool_node": {
                        "enabled": false,
                        "used": false
                    },
                    "standalone_agent_node": {
                        "enabled": false,
                        "used": false
                    },
                    "phone_number_node": {
                        "enabled": false,
                        "used": false
                    },
                    "end_node": {
                        "enabled": false,
                        "used": false
                    }
                },
                "agent_testing": {
                    "enabled": false,
                    "tests_ran_after_last_modification": false,
                    "tests_ran_in_last_7_days": false
                },
                "versioning": {
                    "enabled": false,
                    "used": false
                }
            },
            "eleven_assistant": {
                "is_eleven_assistant": false
            },
            "initiator_id": null,
            "conversation_initiation_source": "twilio",
            "conversation_initiation_source_version": null,
            "timezone": "America/New_York",
            "initiation_trigger": {
                "trigger_type": "default"
            },
            "async_metadata": null,
            "whatsapp": null,
            "agent_created_from": "ui",
            "agent_last_updated_from": "ui"
        },
        "analysis": {
            "evaluation_criteria_results": [],
            "data_collection_results": {
                "satisfaction_score": {
                    "data_collection_id": "satisfaction_score",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "Agent will collect the score from contact from 1 to 5",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation does not contain any explicit score from 1 to 5 from the contact. Therefore, it is not possible to extract the data."
                },
                "want_to_do_assessment": {
                    "data_collection_id": "want_to_do_assessment",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "this has the value \"Yes\" or \"No\" based on the answer of the contact want to do assessment or not",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation does not contain any information about whether the contact wants to do an assessment or not. The conversation ends after voicemail detection."
                },
                "reason-for-no-assessment": {
                    "data_collection_id": "reason-for-no-assessment",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "When they said they don't want to do the assessment, asked them why, and store for the reason",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation ended with a voicemail message. There was no mention of an assessment or any indication that the user didn't want to do it. Therefore, it's not possible to extract the reason why they don't want to do the assessment."
                }
            },
            "call_successful": "success",
            "transcript_summary": "The agent called Tri, but reached a voicemail message. The voicemail detection tool confirmed the message and its content.\n",
            "call_summary_title": "Voicemail detection success"
        },
        "conversation_initiation_client_data": {
            "conversation_config_override": {
                "turn": null,
                "tts": null,
                "conversation": null,
                "agent": null
            },
            "custom_llm_extra_body": [],
            "user_id": null,
            "source_info": {
                "source": null,
                "version": null
            },
            "dynamic_variables": {
                "contact_id": "3143",
                "email": "tri@directobjective.ca",
                "first_name": "Tri",
                "system__agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                "system__agent_turns": 1,
                "system__current_agent_turns": 1,
                "system__current_subagent_turns": 1,
                "system__current_agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                "system__conversation_id": "conv_5601kcm3pp6we73aqyhzqng1qrcy",
                "system__call_duration_secs": 11,
                "system__time_utc": "2025-12-16T17:36:08.868185+00:00",
                "system__time": "Tuesday, 12:36 16 December 2025",
                "system__timezone": "America/New_York",
                "system__caller_id": "+13438038625",
                "system__called_number": "2899399288",
                "system__call_sid": "CAac38aa965d53153ce18ef300ece2c05f"
            }
        }
    }
}
========================================

========================================
📞 ElevenLabs Post-Call Webhook
🕒 Time: 2025-12-16 13:28:53
🌐 IP: 34.59.11.47
----------------------------------------
HEADERS:
  Content-Type: application/json
  Content-Length: 1038
  Accept-Encoding: gzip, deflate, br
  Accept: */*
  User-Agent: ElevenLabs/1.0
  Elevenlabs-Signature: t=1765909733,v0=3c053bf9006f72e67b152d31f784be7446bdcb5a18f24ecca2e1ac36c5c9b7a9
  Host: bk.directobjective.com
----------------------------------------
PAYLOAD:
{
    "type": "call_initiation_failure",
    "event_timestamp": 1765909733,
    "data": {
        "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
        "conversation_id": "conv_7601kcm6r48zfabsnk3514s50f89",
        "failure_reason": "unknown",
        "metadata": {
            "type": "twilio",
            "body": {
                "Called": "+16468729887",
                "ToState": "NY",
                "CallerCountry": "CA",
                "Direction": "outbound-api",
                "Timestamp": "Tue, 16 Dec 2025 18:28:53 +0000",
                "CallbackSource": "call-progress-events",
                "SipResponseCode": "480",
                "CallerState": "Ontario",
                "ToZip": "10010",
                "SequenceNumber": "1",
                "CallSid": "CAc862f91abbbfd740568a4330e8a48aab",
                "To": "+16468729887",
                "CallerZip": "",
                "ToCountry": "US",
                "CalledZip": "10010",
                "ApiVersion": "2010-04-01",
                "CalledCity": "NEW YORK",
                "CallStatus": "failed",
                "Duration": "0",
                "From": "+13438038625",
                "CallDuration": "0",
                "AccountSid": "AC6c4aedfd611f27a0564f2304e4efaf51",
                "CalledCountry": "US",
                "CallerCity": "",
                "ToCity": "NEW YORK",
                "FromCountry": "CA",
                "Caller": "+13438038625",
                "FromCity": "",
                "CalledState": "NY",
                "FromZip": "",
                "FromState": "Ontario"
            }
        }
    }
}
========================================

========================================
📞 ElevenLabs Post-Call Webhook
🕒 Time: 2025-12-16 13:28:59
🌐 IP: 34.59.11.47
----------------------------------------
HEADERS:
  Content-Type: application/json
  Content-Length: 9301
  Accept-Encoding: gzip, deflate, br
  Accept: */*
  User-Agent: ElevenLabs/1.0
  Elevenlabs-Signature: t=1765909739,v0=54c43058f4af5f235c860d9dd9dae1e9435cbd0ce2a729c8aefb68ad0050ef81
  Host: bk.directobjective.com
----------------------------------------
PAYLOAD:
{
    "type": "post_call_transcription",
    "event_timestamp": 1765909739,
    "data": {
        "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
        "conversation_id": "conv_7001kcm6r4jqe9v814zdgpfags7k",
        "status": "done",
        "user_id": null,
        "branch_id": null,
        "transcript": [
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": "Hello, may I speak with Edwin?",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 0,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_tts_service_ttfb": {
                            "elapsed_time": 0.189634062000550329685211181640625
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            },
            {
                "role": "user",
                "agent_metadata": null,
                "message": "Is no longer in service.",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 1,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_asr_trailing_service_latency": {
                            "elapsed_time": 0.238471654998647863976657390594482421875
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": "audio"
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": "...",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 3,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_llm_service_ttfb": {
                            "elapsed_time": 0.907738755000536912120878696441650390625
                        },
                        "convai_llm_tool_request_generation_latency": {
                            "elapsed_time": 0.908495098001367296092212200164794921875
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": true,
                "original_message": "Thank you for letting me know. Have a great day!",
                "source_medium": null
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": null,
                "multivoice_message": null,
                "tool_calls": [
                    {
                        "type": "system",
                        "request_id": "end_call_f50dddc3c78f44f2a39959b82a58310b",
                        "tool_name": "end_call",
                        "params_as_json": "{\"reason\": \"The number is no longer in service.\", \"system__message_to_speak\": \"Thank you for letting me know. Have a great day!\"}",
                        "tool_has_been_called": false,
                        "tool_details": null
                    }
                ],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 4,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_llm_service_ttfb": {
                            "elapsed_time": 0.907738755000536912120878696441650390625
                        },
                        "convai_llm_tool_request_generation_latency": {
                            "elapsed_time": 0.908495098001367296092212200164794921875
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": null,
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [
                    {
                        "request_id": "end_call_f50dddc3c78f44f2a39959b82a58310b",
                        "tool_name": "end_call",
                        "result_value": "Tool execution was abandoned due to user input",
                        "is_error": true,
                        "tool_has_been_called": false,
                        "tool_latency_secs": 0,
                        "dynamic_variable_updates": [],
                        "type": "system",
                        "result": null
                    }
                ],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 4,
                "conversation_turn_metrics": null,
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            },
            {
                "role": "user",
                "agent_metadata": null,
                "message": "Is no longer in service.",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 3,
                "conversation_turn_metrics": null,
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            }
        ],
        "metadata": {
            "start_time_unix_secs": 1765909730,
            "accepted_time_unix_secs": 1765909731,
            "call_duration_secs": 6,
            "cost": 39,
            "deletion_settings": {
                "deletion_time_unix_secs": null,
                "deleted_logs_at_time_unix_secs": null,
                "deleted_audio_at_time_unix_secs": null,
                "deleted_transcript_at_time_unix_secs": null,
                "delete_transcript_and_pii": false,
                "delete_audio": false
            },
            "feedback": {
                "type": null,
                "overall_score": null,
                "likes": 0,
                "dislikes": 0,
                "rating": null,
                "comment": null
            },
            "authorization_method": "signed_url",
            "charging": {
                "dev_discount": false,
                "is_burst": false,
                "tier": "creator",
                "llm_usage": {
                    "irreversible_generation": {
                        "model_usage": []
                    },
                    "initiated_generation": {
                        "model_usage": []
                    }
                },
                "llm_price": 0,
                "llm_charge": 0,
                "call_charge": 39,
                "free_minutes_consumed": 0,
                "free_llm_dollars_consumed": 0
            },
            "phone_call": {
                "direction": "outbound",
                "phone_number_id": "phnum_8001kc7mp2dtek4bn7dr084jydds",
                "agent_number": "+13438038625",
                "external_number": "7189902440",
                "type": "twilio",
                "stream_sid": "MZ1804eae46e4568279d620e06220a6258",
                "call_sid": "CA4d66c14d8cb34f2e2ce1a3ba3f5def37"
            },
            "batch_call": {
                "batch_call_id": "btcal_6001kcm6r48ae9eah9fhdphwnrrj",
                "batch_call_recipient_id": "rcpt_9401kcm6r48cf0msa9c743rt3t9a"
            },
            "termination_reason": "Call ended by remote party",
            "error": null,
            "warnings": [],
            "main_language": "en",
            "rag_usage": null,
            "text_only": false,
            "features_usage": {
                "language_detection": {
                    "enabled": true,
                    "used": false
                },
                "transfer_to_agent": {
                    "enabled": false,
                    "used": false
                },
                "transfer_to_number": {
                    "enabled": false,
                    "used": false
                },
                "multivoice": {
                    "enabled": false,
                    "used": false
                },
                "dtmf_tones": {
                    "enabled": false,
                    "used": false
                },
                "external_mcp_servers": {
                    "enabled": true,
                    "used": false
                },
                "pii_zrm_workspace": false,
                "pii_zrm_agent": false,
                "tool_dynamic_variable_updates": {
                    "enabled": false,
                    "used": false
                },
                "is_livekit": false,
                "voicemail_detection": {
                    "enabled": true,
                    "used": false
                },
                "workflow": {
                    "enabled": false,
                    "tool_node": {
                        "enabled": false,
                        "used": false
                    },
                    "standalone_agent_node": {
                        "enabled": false,
                        "used": false
                    },
                    "phone_number_node": {
                        "enabled": false,
                        "used": false
                    },
                    "end_node": {
                        "enabled": false,
                        "used": false
                    }
                },
                "agent_testing": {
                    "enabled": false,
                    "tests_ran_after_last_modification": false,
                    "tests_ran_in_last_7_days": false
                },
                "versioning": {
                    "enabled": false,
                    "used": false
                }
            },
            "eleven_assistant": {
                "is_eleven_assistant": false
            },
            "initiator_id": null,
            "conversation_initiation_source": "twilio",
            "conversation_initiation_source_version": null,
            "timezone": "America/New_York",
            "initiation_trigger": {
                "trigger_type": "default"
            },
            "async_metadata": null,
            "whatsapp": null,
            "agent_created_from": "ui",
            "agent_last_updated_from": "ui"
        },
        "analysis": {
            "evaluation_criteria_results": [],
            "data_collection_results": {
                "satisfaction_score": {
                    "data_collection_id": "satisfaction_score",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "Agent will collect the score from contact from 1 to 5",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation ended abruptly because the number was no longer in service. There was no opportunity to collect a score from the contact, so the value is null."
                },
                "want_to_do_assessment": {
                    "data_collection_id": "want_to_do_assessment",
                    "value": "No",
                    "json_schema": {
                        "type": "string",
                        "description": "this has the value \"Yes\" or \"No\" based on the answer of the contact want to do assessment or not",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation ended because the number was no longer in service. There was no opportunity to ask the contact if they wanted to do an assessment, so the answer is 'No'."
                },
                "reason-for-no-assessment": {
                    "data_collection_id": "reason-for-no-assessment",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "When they said they don't want to do the assessment, asked them why, and store for the reason",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The user stated that the number is no longer in service, and the agent ended the call. There was no mention of an assessment or a reason for not wanting to do it."
                }
            },
            "call_successful": "success",
            "transcript_summary": "The agent attempted to contact Edwin, but the user stated the number was no longer in service. The agent then ended the call.\n",
            "call_summary_title": "Number no longer active"
        },
        "conversation_initiation_client_data": {
            "conversation_config_override": {
                "turn": null,
                "tts": null,
                "conversation": null,
                "agent": null
            },
            "custom_llm_extra_body": [],
            "user_id": null,
            "source_info": {
                "source": null,
                "version": null
            },
            "dynamic_variables": {
                "contact_id": "8537",
                "email": "edwin.tjoe@stonybrookmedicine.edu",
                "first_name": "Edwin",
                "system__agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                "system__agent_turns": 2,
                "system__current_agent_turns": 2,
                "system__current_subagent_turns": 2,
                "system__current_agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                "system__conversation_id": "conv_7001kcm6r4jqe9v814zdgpfags7k",
                "system__call_duration_secs": 5,
                "system__time_utc": "2025-12-16T18:28:56.456286+00:00",
                "system__time": "Tuesday, 13:28 16 December 2025",
                "system__timezone": "America/New_York",
                "system__caller_id": "+13438038625",
                "system__called_number": "7189902440",
                "system__call_sid": "CA4d66c14d8cb34f2e2ce1a3ba3f5def37"
            }
        }
    }
}
========================================

========================================
📞 ElevenLabs Post-Call Webhook
🕒 Time: 2025-12-16 13:29:02
🌐 IP: 34.59.11.47
----------------------------------------
HEADERS:
  Content-Type: application/json
  Content-Length: 1037
  Accept-Encoding: gzip, deflate, br
  Accept: */*
  User-Agent: ElevenLabs/1.0
  Elevenlabs-Signature: t=1765909743,v0=c928d4cc00e6569688ffc4426bc2eb2077be077b3899dabb471180e1940d6e57
  Host: bk.directobjective.com
----------------------------------------
PAYLOAD:
{
    "type": "call_initiation_failure",
    "event_timestamp": 1765909743,
    "data": {
        "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
        "conversation_id": "conv_5401kcm6r4a9eap9t71cjp438vz6",
        "failure_reason": "busy",
        "metadata": {
            "type": "twilio",
            "body": {
                "Called": "+17327348541",
                "ToState": "NJ",
                "CallerCountry": "CA",
                "Direction": "outbound-api",
                "Timestamp": "Tue, 16 Dec 2025 18:29:02 +0000",
                "CallbackSource": "call-progress-events",
                "SipResponseCode": "486",
                "CallerState": "Ontario",
                "ToZip": "07095",
                "SequenceNumber": "1",
                "CallSid": "CAba8169119ae5d86063eaf6c50553eeae",
                "To": "+17327348541",
                "CallerZip": "",
                "ToCountry": "US",
                "CalledZip": "07095",
                "ApiVersion": "2010-04-01",
                "CalledCity": "WOODBRIDGE",
                "CallStatus": "busy",
                "Duration": "0",
                "From": "+13438038625",
                "CallDuration": "0",
                "AccountSid": "AC6c4aedfd611f27a0564f2304e4efaf51",
                "CalledCountry": "US",
                "CallerCity": "",
                "ToCity": "WOODBRIDGE",
                "FromCountry": "CA",
                "Caller": "+13438038625",
                "FromCity": "",
                "CalledState": "NJ",
                "FromZip": "",
                "FromState": "Ontario"
            }
        }
    }
}
========================================

========================================
📞 ElevenLabs Post-Call Webhook
🕒 Time: 2025-12-16 13:29:05
🌐 IP: 34.59.11.47
----------------------------------------
HEADERS:
  Content-Type: application/json
  Content-Length: 6575
  Accept-Encoding: gzip, deflate, br
  Accept: */*
  User-Agent: ElevenLabs/1.0
  Elevenlabs-Signature: t=1765909746,v0=dfaf6372f91c1654ef3da1269f7ba4070ed851212126e684989b7b197cb8a3b5
  Host: bk.directobjective.com
----------------------------------------
PAYLOAD:
{
    "type": "post_call_transcription",
    "event_timestamp": 1765909746,
    "data": {
        "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
        "conversation_id": "conv_8401kcm6r4rdemrrtkyqa1pge2m9",
        "status": "done",
        "user_id": null,
        "branch_id": null,
        "transcript": [
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": "Hello, may I speak with Evie?",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 0,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_tts_service_ttfb": {
                            "elapsed_time": 0.171909953000067616812884807586669921875
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            },
            {
                "role": "user",
                "agent_metadata": null,
                "message": "The number you have dialed is not in service.",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 1,
                "conversation_turn_metrics": null,
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            }
        ],
        "metadata": {
            "start_time_unix_secs": 1765909737,
            "accepted_time_unix_secs": 1765909738,
            "call_duration_secs": 6,
            "cost": 37,
            "deletion_settings": {
                "deletion_time_unix_secs": null,
                "deleted_logs_at_time_unix_secs": null,
                "deleted_audio_at_time_unix_secs": null,
                "deleted_transcript_at_time_unix_secs": null,
                "delete_transcript_and_pii": false,
                "delete_audio": false
            },
            "feedback": {
                "type": null,
                "overall_score": null,
                "likes": 0,
                "dislikes": 0,
                "rating": null,
                "comment": null
            },
            "authorization_method": "signed_url",
            "charging": {
                "dev_discount": false,
                "is_burst": false,
                "tier": "creator",
                "llm_usage": {
                    "irreversible_generation": {
                        "model_usage": []
                    },
                    "initiated_generation": {
                        "model_usage": []
                    }
                },
                "llm_price": 0,
                "llm_charge": 0,
                "call_charge": 37,
                "free_minutes_consumed": 0,
                "free_llm_dollars_consumed": 0
            },
            "phone_call": {
                "direction": "outbound",
                "phone_number_id": "phnum_8001kc7mp2dtek4bn7dr084jydds",
                "agent_number": "+13438038625",
                "external_number": "4123995003",
                "type": "twilio",
                "stream_sid": "MZ7311064d577855850eb501c8de4d9d05",
                "call_sid": "CA7a253f1adaa3105b5a7c4c1ce96e1598"
            },
            "batch_call": {
                "batch_call_id": "btcal_8901kcm6r4fcfmpanwxkb5e8dnyf",
                "batch_call_recipient_id": "rcpt_1801kcm6r4fdfx18enre2fq6hb3b"
            },
            "termination_reason": "Call ended by remote party",
            "error": null,
            "warnings": [],
            "main_language": "en",
            "rag_usage": null,
            "text_only": false,
            "features_usage": {
                "language_detection": {
                    "enabled": true,
                    "used": false
                },
                "transfer_to_agent": {
                    "enabled": false,
                    "used": false
                },
                "transfer_to_number": {
                    "enabled": false,
                    "used": false
                },
                "multivoice": {
                    "enabled": false,
                    "used": false
                },
                "dtmf_tones": {
                    "enabled": false,
                    "used": false
                },
                "external_mcp_servers": {
                    "enabled": true,
                    "used": false
                },
                "pii_zrm_workspace": false,
                "pii_zrm_agent": false,
                "tool_dynamic_variable_updates": {
                    "enabled": false,
                    "used": false
                },
                "is_livekit": false,
                "voicemail_detection": {
                    "enabled": true,
                    "used": false
                },
                "workflow": {
                    "enabled": false,
                    "tool_node": {
                        "enabled": false,
                        "used": false
                    },
                    "standalone_agent_node": {
                        "enabled": false,
                        "used": false
                    },
                    "phone_number_node": {
                        "enabled": false,
                        "used": false
                    },
                    "end_node": {
                        "enabled": false,
                        "used": false
                    }
                },
                "agent_testing": {
                    "enabled": false,
                    "tests_ran_after_last_modification": false,
                    "tests_ran_in_last_7_days": false
                },
                "versioning": {
                    "enabled": false,
                    "used": false
                }
            },
            "eleven_assistant": {
                "is_eleven_assistant": false
            },
            "initiator_id": null,
            "conversation_initiation_source": "twilio",
            "conversation_initiation_source_version": null,
            "timezone": "America/New_York",
            "initiation_trigger": {
                "trigger_type": "default"
            },
            "async_metadata": null,
            "whatsapp": null,
            "agent_created_from": "ui",
            "agent_last_updated_from": "ui"
        },
        "analysis": {
            "evaluation_criteria_results": [],
            "data_collection_results": {
                "satisfaction_score": {
                    "data_collection_id": "satisfaction_score",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "Agent will collect the score from contact from 1 to 5",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation does not contain any information about the score from contact from 1 to 5. Therefore, I cannot extract the data."
                },
                "want_to_do_assessment": {
                    "data_collection_id": "want_to_do_assessment",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "this has the value \"Yes\" or \"No\" based on the answer of the contact want to do assessment or not",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation does not contain information about whether the contact wants to do an assessment or not. The user indicates that the number dialed is not in service, so the agent was unable to speak with the contact."
                },
                "reason-for-no-assessment": {
                    "data_collection_id": "reason-for-no-assessment",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "When they said they don't want to do the assessment, asked them why, and store for the reason",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation does not contain any information about the user not wanting to do an assessment or their reasons for not wanting to do so. Therefore, it is not possible to extract the requested data."
                }
            },
            "call_successful": "success",
            "transcript_summary": "The agent attempted to call Evie, but the number is out of service.\n",
            "call_summary_title": "Wrong number"
        },
        "conversation_initiation_client_data": {
            "conversation_config_override": {
                "turn": null,
                "tts": null,
                "conversation": null,
                "agent": null
            },
            "custom_llm_extra_body": [],
            "user_id": null,
            "source_info": {
                "source": null,
                "version": null
            },
            "dynamic_variables": {
                "contact_id": "8484",
                "email": "emcpherson@weltyenergy.com",
                "first_name": "Evie",
                "system__agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                "system__agent_turns": 1,
                "system__current_agent_turns": 1,
                "system__current_subagent_turns": 1,
                "system__current_agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                "system__conversation_id": "conv_8401kcm6r4rdemrrtkyqa1pge2m9",
                "system__call_duration_secs": 5,
                "system__time_utc": "2025-12-16T18:29:03.305187+00:00",
                "system__time": "Tuesday, 13:29 16 December 2025",
                "system__timezone": "America/New_York",
                "system__caller_id": "+13438038625",
                "system__called_number": "4123995003",
                "system__call_sid": "CA7a253f1adaa3105b5a7c4c1ce96e1598"
            }
        }
    }
}
========================================

========================================
📞 ElevenLabs Post-Call Webhook
🕒 Time: 2025-12-16 13:29:16
🌐 IP: 34.59.11.47
----------------------------------------
HEADERS:
  Content-Type: application/json
  Content-Length: 9567
  Accept-Encoding: gzip, deflate, br
  Accept: */*
  User-Agent: ElevenLabs/1.0
  Elevenlabs-Signature: t=1765909756,v0=31990c824007ac86fc7634c3083716808ce84ad659a4a5cb57e29b74ee81934b
  Host: bk.directobjective.com
----------------------------------------
PAYLOAD:
{
    "type": "post_call_transcription",
    "event_timestamp": 1765909756,
    "data": {
        "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
        "conversation_id": "conv_6001kcm6r52xfjja811vvh1jhpe4",
        "status": "done",
        "user_id": null,
        "branch_id": null,
        "transcript": [
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": "Hello, may I speak with Eva?",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 0,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_tts_service_ttfb": {
                            "elapsed_time": 0.172004047999507747590541839599609375
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            },
            {
                "role": "user",
                "agent_metadata": null,
                "message": "Thank you for calling. If you know the extension of the person you want to reach, you may dial it now.",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 1,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_asr_trailing_service_latency": {
                            "elapsed_time": 0.226496117000351659953594207763671875
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": "audio"
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": null,
                "multivoice_message": null,
                "tool_calls": [
                    {
                        "type": "system",
                        "request_id": "voicemail_detection_f4b63fc4df0543ca88af6c3c28d1228c",
                        "tool_name": "voicemail_detection",
                        "params_as_json": "{\"reason\": \"The user is not available and the system is asking to dial an extension to reach the person.\"}",
                        "tool_has_been_called": true,
                        "tool_details": null
                    }
                ],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 8,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_llm_service_ttfb": {
                            "elapsed_time": 1.1079901220000465400516986846923828125
                        },
                        "convai_llm_tool_request_generation_latency": {
                            "elapsed_time": 1.11003752699980395846068859100341796875
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": null,
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [
                    {
                        "request_id": "voicemail_detection_f4b63fc4df0543ca88af6c3c28d1228c",
                        "tool_name": "voicemail_detection",
                        "result_value": "{\"result_type\":\"voicemail_detection_success\",\"status\":\"success\",\"voicemail_message\":\"\",\"reason\":\"The user is not available and the system is asking to dial an extension to reach the person.\"}",
                        "is_error": false,
                        "tool_has_been_called": true,
                        "tool_latency_secs": 0.00033633299972279928624629974365234375,
                        "dynamic_variable_updates": [],
                        "type": "system",
                        "result": {
                            "result_type": "voicemail_detection_success",
                            "status": "success",
                            "voicemail_message": "",
                            "reason": "The user is not available and the system is asking to dial an extension to reach the person."
                        }
                    }
                ],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 8,
                "conversation_turn_metrics": null,
                "rag_retrieval_info": null,
                "llm_usage": {
                    "model_usage": {
                        "gemini-2.5-flash": {
                            "input": {
                                "tokens": 696,
                                "price": 0.0001043999999999999897699887174695732028339989483356475830078125
                            },
                            "input_cache_read": {
                                "tokens": 4213,
                                "price": 0
                            },
                            "input_cache_write": {
                                "tokens": 0,
                                "price": 0
                            },
                            "output_total": {
                                "tokens": 25,
                                "price": 1.5000000000000000380012861456169304119612206704914569854736328125e-5
                            }
                        }
                    }
                },
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            }
        ],
        "metadata": {
            "start_time_unix_secs": 1765909743,
            "accepted_time_unix_secs": 1765909743,
            "call_duration_secs": 10,
            "cost": 67,
            "deletion_settings": {
                "deletion_time_unix_secs": null,
                "deleted_logs_at_time_unix_secs": null,
                "deleted_audio_at_time_unix_secs": null,
                "deleted_transcript_at_time_unix_secs": null,
                "delete_transcript_and_pii": false,
                "delete_audio": false
            },
            "feedback": {
                "type": null,
                "overall_score": null,
                "likes": 0,
                "dislikes": 0,
                "rating": null,
                "comment": null
            },
            "authorization_method": "signed_url",
            "charging": {
                "dev_discount": false,
                "is_burst": false,
                "tier": "creator",
                "llm_usage": {
                    "irreversible_generation": {
                        "model_usage": {
                            "gemini-2.5-flash": {
                                "input": {
                                    "tokens": 696,
                                    "price": 0.0001043999999999999897699887174695732028339989483356475830078125
                                },
                                "input_cache_read": {
                                    "tokens": 4213,
                                    "price": 0
                                },
                                "input_cache_write": {
                                    "tokens": 0,
                                    "price": 0
                                },
                                "output_total": {
                                    "tokens": 25,
                                    "price": 1.5000000000000000380012861456169304119612206704914569854736328125e-5
                                }
                            }
                        }
                    },
                    "initiated_generation": {
                        "model_usage": {
                            "gemini-2.5-flash": {
                                "input": {
                                    "tokens": 696,
                                    "price": 0.0001043999999999999897699887174695732028339989483356475830078125
                                },
                                "input_cache_read": {
                                    "tokens": 4213,
                                    "price": 0
                                },
                                "input_cache_write": {
                                    "tokens": 0,
                                    "price": 0
                                },
                                "output_total": {
                                    "tokens": 25,
                                    "price": 1.5000000000000000380012861456169304119612206704914569854736328125e-5
                                }
                            }
                        }
                    }
                },
                "llm_price": 0.000119399999999999988455935684417141828816966153681278228759765625,
                "llm_charge": 0,
                "call_charge": 67,
                "free_minutes_consumed": 0,
                "free_llm_dollars_consumed": 0
            },
            "phone_call": {
                "direction": "outbound",
                "phone_number_id": "phnum_8001kc7mp2dtek4bn7dr084jydds",
                "agent_number": "+13438038625",
                "external_number": "7812130237",
                "type": "twilio",
                "stream_sid": "MZadfe68ce7eac25425296b43623f2755a",
                "call_sid": "CA6d4bbf27004a3833dfdb16c7185fa607"
            },
            "batch_call": {
                "batch_call_id": "btcal_5201kcm6r4hvfp2b75c9zsvm97bf",
                "batch_call_recipient_id": "rcpt_9101kcm6r4hwfc9adz63mr3bn5tg"
            },
            "termination_reason": "voicemail_detection tool was called.",
            "error": null,
            "warnings": [],
            "main_language": "en",
            "rag_usage": null,
            "text_only": false,
            "features_usage": {
                "language_detection": {
                    "enabled": true,
                    "used": false
                },
                "transfer_to_agent": {
                    "enabled": false,
                    "used": false
                },
                "transfer_to_number": {
                    "enabled": false,
                    "used": false
                },
                "multivoice": {
                    "enabled": false,
                    "used": false
                },
                "dtmf_tones": {
                    "enabled": false,
                    "used": false
                },
                "external_mcp_servers": {
                    "enabled": true,
                    "used": false
                },
                "pii_zrm_workspace": false,
                "pii_zrm_agent": false,
                "tool_dynamic_variable_updates": {
                    "enabled": false,
                    "used": false
                },
                "is_livekit": false,
                "voicemail_detection": {
                    "enabled": true,
                    "used": true
                },
                "workflow": {
                    "enabled": false,
                    "tool_node": {
                        "enabled": false,
                        "used": false
                    },
                    "standalone_agent_node": {
                        "enabled": false,
                        "used": false
                    },
                    "phone_number_node": {
                        "enabled": false,
                        "used": false
                    },
                    "end_node": {
                        "enabled": false,
                        "used": false
                    }
                },
                "agent_testing": {
                    "enabled": false,
                    "tests_ran_after_last_modification": false,
                    "tests_ran_in_last_7_days": false
                },
                "versioning": {
                    "enabled": false,
                    "used": false
                }
            },
            "eleven_assistant": {
                "is_eleven_assistant": false
            },
            "initiator_id": null,
            "conversation_initiation_source": "twilio",
            "conversation_initiation_source_version": null,
            "timezone": "America/New_York",
            "initiation_trigger": {
                "trigger_type": "default"
            },
            "async_metadata": null,
            "whatsapp": null,
            "agent_created_from": "ui",
            "agent_last_updated_from": "ui"
        },
        "analysis": {
            "evaluation_criteria_results": [],
            "data_collection_results": {
                "satisfaction_score": {
                    "data_collection_id": "satisfaction_score",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "Agent will collect the score from contact from 1 to 5",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation does not contain any explicit score from 1 to 5 from the contact. Therefore, it is not possible to extract the data."
                },
                "want_to_do_assessment": {
                    "data_collection_id": "want_to_do_assessment",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "this has the value \"Yes\" or \"No\" based on the answer of the contact want to do assessment or not",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation is with a voicemail system, not a person. Therefore, it is not possible to determine if the contact wants to do an assessment or not."
                },
                "reason-for-no-assessment": {
                    "data_collection_id": "reason-for-no-assessment",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "When they said they don't want to do the assessment, asked them why, and store for the reason",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation does not contain any information about the user not wanting to do an assessment or their reasons for not wanting to do so. The conversation is about reaching a person by extension and voicemail detection."
                }
            },
            "call_successful": "success",
            "transcript_summary": "The agent called to speak with Eva, but the automated system prompted for an extension. The voicemail detection tool was triggered, identifying the user as unavailable and requesting an extension.\n",
            "call_summary_title": "Voicemail Detection"
        },
        "conversation_initiation_client_data": {
            "conversation_config_override": {
                "turn": null,
                "tts": null,
                "conversation": null,
                "agent": null
            },
            "custom_llm_extra_body": [],
            "user_id": null,
            "source_info": {
                "source": null,
                "version": null
            },
            "dynamic_variables": {
                "contact_id": "8485",
                "email": "eregan@heartland.com",
                "first_name": "Eva",
                "system__agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                "system__agent_turns": 1,
                "system__current_agent_turns": 1,
                "system__current_subagent_turns": 1,
                "system__current_agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                "system__conversation_id": "conv_6001kcm6r52xfjja811vvh1jhpe4",
                "system__call_duration_secs": 10,
                "system__time_utc": "2025-12-16T18:29:13.606927+00:00",
                "system__time": "Tuesday, 13:29 16 December 2025",
                "system__timezone": "America/New_York",
                "system__caller_id": "+13438038625",
                "system__called_number": "7812130237",
                "system__call_sid": "CA6d4bbf27004a3833dfdb16c7185fa607"
            }
        }
    }
}
========================================

========================================
📞 ElevenLabs Post-Call Webhook
🕒 Time: 2025-12-16 13:29:18
🌐 IP: 34.59.11.47
----------------------------------------
HEADERS:
  Content-Type: application/json
  Content-Length: 9778
  Accept-Encoding: gzip, deflate, br
  Accept: */*
  User-Agent: ElevenLabs/1.0
  Elevenlabs-Signature: t=1765909758,v0=aed0865e13ab9adf8d11007fcdc16bbe9a8c102264e2450776cc35a9f197a9eb
  Host: bk.directobjective.com
----------------------------------------
PAYLOAD:
{
    "type": "post_call_transcription",
    "event_timestamp": 1765909758,
    "data": {
        "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
        "conversation_id": "conv_2701kcm6r4r5ect87tbrr75vgj20",
        "status": "done",
        "user_id": null,
        "branch_id": null,
        "transcript": [
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": "Hello, may I speak with Emma?",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 0,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_tts_service_ttfb": {
                            "elapsed_time": 0.1804704099995433352887630462646484375
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            },
            {
                "role": "user",
                "agent_metadata": null,
                "message": "Reach is currently unavailable. Please leave a message after the tone. When you have finished, please hang up or press the pound key for more options.",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 1,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_asr_trailing_service_latency": {
                            "elapsed_time": 0.230511996998757240362465381622314453125
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": "audio"
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": null,
                "multivoice_message": null,
                "tool_calls": [
                    {
                        "type": "system",
                        "request_id": "voicemail_detection_14eb250272ee4b57a189a5fdacb4f224",
                        "tool_name": "voicemail_detection",
                        "params_as_json": "{\"reason\": \"Automated message detected: 'Reach is currently unavailable. Please leave a message after the tone. When you have finished, please hang up or press the pound key for more options.'\"}",
                        "tool_has_been_called": true,
                        "tool_details": null
                    }
                ],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 13,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_llm_service_ttfb": {
                            "elapsed_time": 0.8420338089999859221279621124267578125
                        },
                        "convai_llm_tool_request_generation_latency": {
                            "elapsed_time": 0.84282348199849366210401058197021484375
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": null,
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [
                    {
                        "request_id": "voicemail_detection_14eb250272ee4b57a189a5fdacb4f224",
                        "tool_name": "voicemail_detection",
                        "result_value": "{\"result_type\":\"voicemail_detection_success\",\"status\":\"success\",\"voicemail_message\":\"\",\"reason\":\"Automated message detected: 'Reach is currently unavailable. Please leave a message after the tone. When you have finished, please hang up or press the pound key for more options.'\"}",
                        "is_error": false,
                        "tool_has_been_called": true,
                        "tool_latency_secs": 0.000507730999743216671049594879150390625,
                        "dynamic_variable_updates": [],
                        "type": "system",
                        "result": {
                            "result_type": "voicemail_detection_success",
                            "status": "success",
                            "voicemail_message": "",
                            "reason": "Automated message detected: 'Reach is currently unavailable. Please leave a message after the tone. When you have finished, please hang up or press the pound key for more options.'"
                        }
                    }
                ],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 13,
                "conversation_turn_metrics": null,
                "rag_retrieval_info": null,
                "llm_usage": {
                    "model_usage": {
                        "gemini-2.5-flash": {
                            "input": {
                                "tokens": 706,
                                "price": 0.000105899999999999985572825267343688437904347665607929229736328125
                            },
                            "input_cache_read": {
                                "tokens": 4217,
                                "price": 0
                            },
                            "input_cache_write": {
                                "tokens": 0,
                                "price": 0
                            },
                            "output_total": {
                                "tokens": 42,
                                "price": 2.519999999999999928316889163948388841163250617682933807373046875e-5
                            }
                        }
                    }
                },
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            }
        ],
        "metadata": {
            "start_time_unix_secs": 1765909740,
            "accepted_time_unix_secs": 1765909741,
            "call_duration_secs": 15,
            "cost": 99,
            "deletion_settings": {
                "deletion_time_unix_secs": null,
                "deleted_logs_at_time_unix_secs": null,
                "deleted_audio_at_time_unix_secs": null,
                "deleted_transcript_at_time_unix_secs": null,
                "delete_transcript_and_pii": false,
                "delete_audio": false
            },
            "feedback": {
                "type": null,
                "overall_score": null,
                "likes": 0,
                "dislikes": 0,
                "rating": null,
                "comment": null
            },
            "authorization_method": "signed_url",
            "charging": {
                "dev_discount": false,
                "is_burst": false,
                "tier": "creator",
                "llm_usage": {
                    "irreversible_generation": {
                        "model_usage": {
                            "gemini-2.5-flash": {
                                "input": {
                                    "tokens": 706,
                                    "price": 0.000105899999999999985572825267343688437904347665607929229736328125
                                },
                                "input_cache_read": {
                                    "tokens": 4217,
                                    "price": 0
                                },
                                "input_cache_write": {
                                    "tokens": 0,
                                    "price": 0
                                },
                                "output_total": {
                                    "tokens": 42,
                                    "price": 2.519999999999999928316889163948388841163250617682933807373046875e-5
                                }
                            }
                        }
                    },
                    "initiated_generation": {
                        "model_usage": {
                            "gemini-2.5-flash": {
                                "input": {
                                    "tokens": 2088,
                                    "price": 0.0003131999999999999693099661524087196085019968450069427490234375
                                },
                                "input_cache_read": {
                                    "tokens": 12639,
                                    "price": 0
                                },
                                "input_cache_write": {
                                    "tokens": 0,
                                    "price": 0
                                },
                                "output_total": {
                                    "tokens": 82,
                                    "price": 4.9200000000000003279321258986556131276302039623260498046875e-5
                                }
                            }
                        }
                    }
                },
                "llm_price": 0.0003623999999999999725892874113952757397782988846302032470703125,
                "llm_charge": 1,
                "call_charge": 98,
                "free_minutes_consumed": 0,
                "free_llm_dollars_consumed": 0
            },
            "phone_call": {
                "direction": "outbound",
                "phone_number_id": "phnum_8001kc7mp2dtek4bn7dr084jydds",
                "agent_number": "+13438038625",
                "external_number": "7745124152",
                "type": "twilio",
                "stream_sid": "MZb0cdad42d3ce5b558072a2018f76d5fa",
                "call_sid": "CAf18eecfd98b186855121e769c4076a59"
            },
            "batch_call": {
                "batch_call_id": "btcal_3401kcm6r4che5qamk4q23ktpcp1",
                "batch_call_recipient_id": "rcpt_5901kcm6r4cjfbmvks90m466vs4v"
            },
            "termination_reason": "voicemail_detection tool was called.",
            "error": null,
            "warnings": [],
            "main_language": "en",
            "rag_usage": null,
            "text_only": false,
            "features_usage": {
                "language_detection": {
                    "enabled": true,
                    "used": false
                },
                "transfer_to_agent": {
                    "enabled": false,
                    "used": false
                },
                "transfer_to_number": {
                    "enabled": false,
                    "used": false
                },
                "multivoice": {
                    "enabled": false,
                    "used": false
                },
                "dtmf_tones": {
                    "enabled": false,
                    "used": false
                },
                "external_mcp_servers": {
                    "enabled": true,
                    "used": false
                },
                "pii_zrm_workspace": false,
                "pii_zrm_agent": false,
                "tool_dynamic_variable_updates": {
                    "enabled": false,
                    "used": false
                },
                "is_livekit": false,
                "voicemail_detection": {
                    "enabled": true,
                    "used": true
                },
                "workflow": {
                    "enabled": false,
                    "tool_node": {
                        "enabled": false,
                        "used": false
                    },
                    "standalone_agent_node": {
                        "enabled": false,
                        "used": false
                    },
                    "phone_number_node": {
                        "enabled": false,
                        "used": false
                    },
                    "end_node": {
                        "enabled": false,
                        "used": false
                    }
                },
                "agent_testing": {
                    "enabled": false,
                    "tests_ran_after_last_modification": false,
                    "tests_ran_in_last_7_days": false
                },
                "versioning": {
                    "enabled": false,
                    "used": false
                }
            },
            "eleven_assistant": {
                "is_eleven_assistant": false
            },
            "initiator_id": null,
            "conversation_initiation_source": "twilio",
            "conversation_initiation_source_version": null,
            "timezone": "America/New_York",
            "initiation_trigger": {
                "trigger_type": "default"
            },
            "async_metadata": null,
            "whatsapp": null,
            "agent_created_from": "ui",
            "agent_last_updated_from": "ui"
        },
        "analysis": {
            "evaluation_criteria_results": [],
            "data_collection_results": {
                "satisfaction_score": {
                    "data_collection_id": "satisfaction_score",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "Agent will collect the score from contact from 1 to 5",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation does not contain any explicit score from the contact from 1 to 5. Therefore, it is not possible to extract the data."
                },
                "want_to_do_assessment": {
                    "data_collection_id": "want_to_do_assessment",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "this has the value \"Yes\" or \"No\" based on the answer of the contact want to do assessment or not",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation is with an answering machine, so it is not possible to determine if the contact wants to do an assessment or not. Therefore, the value is null."
                },
                "reason-for-no-assessment": {
                    "data_collection_id": "reason-for-no-assessment",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "When they said they don't want to do the assessment, asked them why, and store for the reason",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation does not contain any information about the user not wanting to do an assessment or their reasons for it. The conversation is only about reaching a voicemail."
                }
            },
            "call_successful": "success",
            "transcript_summary": "The agent called Emma, but the call was directed to voicemail. The voicemail detection tool confirmed an automated message.\n",
            "call_summary_title": "Voicemail Detection"
        },
        "conversation_initiation_client_data": {
            "conversation_config_override": {
                "turn": null,
                "tts": null,
                "conversation": null,
                "agent": null
            },
            "custom_llm_extra_body": [],
            "user_id": null,
            "source_info": {
                "source": null,
                "version": null
            },
            "dynamic_variables": {
                "contact_id": "8490",
                "email": "ejannsen@aafcpa.com",
                "first_name": "Emma",
                "system__agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                "system__agent_turns": 1,
                "system__current_agent_turns": 1,
                "system__current_subagent_turns": 1,
                "system__current_agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                "system__conversation_id": "conv_2701kcm6r4r5ect87tbrr75vgj20",
                "system__call_duration_secs": 14,
                "system__time_utc": "2025-12-16T18:29:15.565317+00:00",
                "system__time": "Tuesday, 13:29 16 December 2025",
                "system__timezone": "America/New_York",
                "system__caller_id": "+13438038625",
                "system__called_number": "7745124152",
                "system__call_sid": "CAf18eecfd98b186855121e769c4076a59"
            }
        }
    }
}
========================================

========================================
📞 ElevenLabs Post-Call Webhook
🕒 Time: 2025-12-16 13:29:18
🌐 IP: 34.59.11.47
----------------------------------------
HEADERS:
  Content-Type: application/json
  Content-Length: 1075
  Accept-Encoding: gzip, deflate, br
  Accept: */*
  User-Agent: ElevenLabs/1.0
  Elevenlabs-Signature: t=1765909759,v0=bcb710bf09e9daa947292a1ffbf339d140bbf8f958549ba7c2d34721e84f9f19
  Host: bk.directobjective.com
----------------------------------------
PAYLOAD:
{
    "type": "call_initiation_failure",
    "event_timestamp": 1765909759,
    "data": {
        "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
        "conversation_id": "conv_0701kcm6r5e9e9dbc54vgerczvza",
        "failure_reason": "unknown",
        "metadata": {
            "type": "twilio",
            "body": {
                "Called": "+18573154026",
                "ToState": "MA",
                "CallerCountry": "CA",
                "Direction": "outbound-api",
                "Timestamp": "Tue, 16 Dec 2025 18:29:19 +0000",
                "CallbackSource": "call-progress-events",
                "SipResponseCode": "404",
                "CallerState": "Ontario",
                "ToZip": "",
                "SequenceNumber": "1",
                "CallSid": "CAcdd02e38172fd03f8b0ca65f7f4c0b99",
                "To": "+18573154026",
                "CallerZip": "",
                "ToCountry": "US",
                "CalledZip": "",
                "ApiVersion": "2010-04-01",
                "CalledCity": "",
                "CallStatus": "failed",
                "Duration": "0",
                "From": "+13438038625",
                "CallDuration": "0",
                "AccountSid": "AC6c4aedfd611f27a0564f2304e4efaf51",
                "CalledCountry": "US",
                "CallerCity": "",
                "ToCity": "",
                "FromCountry": "CA",
                "Caller": "+13438038625",
                "FromCity": "",
                "CalledState": "MA",
                "ErrorCode": "13224",
                "FromZip": "",
                "ErrorMessage": "invalid phone number ",
                "FromState": "Ontario"
            }
        }
    }
}
========================================

========================================
📞 ElevenLabs Post-Call Webhook
🕒 Time: 2025-12-16 13:29:29
🌐 IP: 34.59.11.47
----------------------------------------
HEADERS:
  Content-Type: application/json
  Content-Length: 9686
  Accept-Encoding: gzip, deflate, br
  Accept: */*
  User-Agent: ElevenLabs/1.0
  Elevenlabs-Signature: t=1765909770,v0=d77bd77f4118afe6b3c9423bf56469937677e81345e3f0b1c3280cc1d000e436
  Host: bk.directobjective.com
----------------------------------------
PAYLOAD:
{
    "type": "post_call_transcription",
    "event_timestamp": 1765909770,
    "data": {
        "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
        "conversation_id": "conv_1701kcm6r5mwfxs9w4n39tn8k3np",
        "status": "done",
        "user_id": null,
        "branch_id": null,
        "transcript": [
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": "Hello, may I speak with Elise?",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 0,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_tts_service_ttfb": {
                            "elapsed_time": 0.879302720000850968062877655029296875
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            },
            {
                "role": "user",
                "agent_metadata": null,
                "message": "I'm seven, eight, three. Didn't answer. You've reached the voicemail of extension number five, nine, seven, eight, three. Please leave a message.",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 1,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_asr_trailing_service_latency": {
                            "elapsed_time": 0.22593573099948116578161716461181640625
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": "audio"
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": null,
                "multivoice_message": null,
                "tool_calls": [
                    {
                        "type": "system",
                        "request_id": "voicemail_detection_ba8338f156ce41178c9320a44bef9cef",
                        "tool_name": "voicemail_detection",
                        "params_as_json": "{\"reason\": \"The user said: \\\"I'm seven, eight, three. Didn't answer. You've reached the voicemail of extension number five, nine, seven, eight, three. Please leave a message.\\\"\"}",
                        "tool_has_been_called": true,
                        "tool_details": null
                    }
                ],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 14,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_llm_service_ttfb": {
                            "elapsed_time": 1.000840798000353970564901828765869140625
                        },
                        "convai_llm_tool_request_generation_latency": {
                            "elapsed_time": 1.001697890000286861322820186614990234375
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": null,
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [
                    {
                        "request_id": "voicemail_detection_ba8338f156ce41178c9320a44bef9cef",
                        "tool_name": "voicemail_detection",
                        "result_value": "{\"result_type\":\"voicemail_detection_success\",\"status\":\"success\",\"voicemail_message\":\"\",\"reason\":\"The user said: \\\"I'm seven, eight, three. Didn't answer. You've reached the voicemail of extension number five, nine, seven, eight, three. Please leave a message.\\\"\"}",
                        "is_error": false,
                        "tool_has_been_called": true,
                        "tool_latency_secs": 0.0003715040002134628593921661376953125,
                        "dynamic_variable_updates": [],
                        "type": "system",
                        "result": {
                            "result_type": "voicemail_detection_success",
                            "status": "success",
                            "voicemail_message": "",
                            "reason": "The user said: \"I'm seven, eight, three. Didn't answer. You've reached the voicemail of extension number five, nine, seven, eight, three. Please leave a message.\""
                        }
                    }
                ],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 14,
                "conversation_turn_metrics": null,
                "rag_retrieval_info": null,
                "llm_usage": {
                    "model_usage": {
                        "gemini-2.5-flash": {
                            "input": {
                                "tokens": 4935,
                                "price": 0.0007402500000000000225652829755063066841103136539459228515625
                            },
                            "input_cache_read": {
                                "tokens": 0,
                                "price": 0
                            },
                            "input_cache_write": {
                                "tokens": 0,
                                "price": 0
                            },
                            "output_total": {
                                "tokens": 49,
                                "price": 2.939999999999999972838567174893142919245292432606220245361328125e-5
                            }
                        }
                    }
                },
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            }
        ],
        "metadata": {
            "start_time_unix_secs": 1765909749,
            "accepted_time_unix_secs": 1765909749,
            "call_duration_secs": 17,
            "cost": 122,
            "deletion_settings": {
                "deletion_time_unix_secs": null,
                "deleted_logs_at_time_unix_secs": null,
                "deleted_audio_at_time_unix_secs": null,
                "deleted_transcript_at_time_unix_secs": null,
                "delete_transcript_and_pii": false,
                "delete_audio": false
            },
            "feedback": {
                "type": null,
                "overall_score": null,
                "likes": 0,
                "dislikes": 0,
                "rating": null,
                "comment": null
            },
            "authorization_method": "signed_url",
            "charging": {
                "dev_discount": false,
                "is_burst": false,
                "tier": "creator",
                "llm_usage": {
                    "irreversible_generation": {
                        "model_usage": {
                            "gemini-2.5-flash": {
                                "input": {
                                    "tokens": 4935,
                                    "price": 0.0007402500000000000225652829755063066841103136539459228515625
                                },
                                "input_cache_read": {
                                    "tokens": 0,
                                    "price": 0
                                },
                                "input_cache_write": {
                                    "tokens": 0,
                                    "price": 0
                                },
                                "output_total": {
                                    "tokens": 49,
                                    "price": 2.939999999999999972838567174893142919245292432606220245361328125e-5
                                }
                            }
                        }
                    },
                    "initiated_generation": {
                        "model_usage": {
                            "gemini-2.5-flash": {
                                "input": {
                                    "tokens": 4935,
                                    "price": 0.0007402500000000000225652829755063066841103136539459228515625
                                },
                                "input_cache_read": {
                                    "tokens": 0,
                                    "price": 0
                                },
                                "input_cache_write": {
                                    "tokens": 0,
                                    "price": 0
                                },
                                "output_total": {
                                    "tokens": 49,
                                    "price": 2.939999999999999972838567174893142919245292432606220245361328125e-5
                                }
                            }
                        }
                    }
                },
                "llm_price": 0.00076964999999999997824795539003162048174999654293060302734375,
                "llm_charge": 3,
                "call_charge": 119,
                "free_minutes_consumed": 0,
                "free_llm_dollars_consumed": 0
            },
            "phone_call": {
                "direction": "outbound",
                "phone_number_id": "phnum_8001kc7mp2dtek4bn7dr084jydds",
                "agent_number": "+13438038625",
                "external_number": "8565339783",
                "type": "twilio",
                "stream_sid": "MZ42683997900f3cd57b266ba33027bd76",
                "call_sid": "CAce0061529af101835dfa83c04460e911"
            },
            "batch_call": {
                "batch_call_id": "btcal_2101kcm6r52jf1qt1v9zgythqy3x",
                "batch_call_recipient_id": "rcpt_0801kcm6r52mehkr0r1wz2ew2k4s"
            },
            "termination_reason": "voicemail_detection tool was called.",
            "error": null,
            "warnings": [],
            "main_language": "en",
            "rag_usage": null,
            "text_only": false,
            "features_usage": {
                "language_detection": {
                    "enabled": true,
                    "used": false
                },
                "transfer_to_agent": {
                    "enabled": false,
                    "used": false
                },
                "transfer_to_number": {
                    "enabled": false,
                    "used": false
                },
                "multivoice": {
                    "enabled": false,
                    "used": false
                },
                "dtmf_tones": {
                    "enabled": false,
                    "used": false
                },
                "external_mcp_servers": {
                    "enabled": true,
                    "used": false
                },
                "pii_zrm_workspace": false,
                "pii_zrm_agent": false,
                "tool_dynamic_variable_updates": {
                    "enabled": false,
                    "used": false
                },
                "is_livekit": false,
                "voicemail_detection": {
                    "enabled": true,
                    "used": true
                },
                "workflow": {
                    "enabled": false,
                    "tool_node": {
                        "enabled": false,
                        "used": false
                    },
                    "standalone_agent_node": {
                        "enabled": false,
                        "used": false
                    },
                    "phone_number_node": {
                        "enabled": false,
                        "used": false
                    },
                    "end_node": {
                        "enabled": false,
                        "used": false
                    }
                },
                "agent_testing": {
                    "enabled": false,
                    "tests_ran_after_last_modification": false,
                    "tests_ran_in_last_7_days": false
                },
                "versioning": {
                    "enabled": false,
                    "used": false
                }
            },
            "eleven_assistant": {
                "is_eleven_assistant": false
            },
            "initiator_id": null,
            "conversation_initiation_source": "twilio",
            "conversation_initiation_source_version": null,
            "timezone": "America/New_York",
            "initiation_trigger": {
                "trigger_type": "default"
            },
            "async_metadata": null,
            "whatsapp": null,
            "agent_created_from": "ui",
            "agent_last_updated_from": "ui"
        },
        "analysis": {
            "evaluation_criteria_results": [],
            "data_collection_results": {
                "satisfaction_score": {
                    "data_collection_id": "satisfaction_score",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "Agent will collect the score from contact from 1 to 5",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation does not contain any explicit score from the contact from 1 to 5. Therefore, it is not possible to extract the data."
                },
                "want_to_do_assessment": {
                    "data_collection_id": "want_to_do_assessment",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "this has the value \"Yes\" or \"No\" based on the answer of the contact want to do assessment or not",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation is with a voicemail, so there is no indication of whether the contact wants to do an assessment or not. Therefore, the value is null."
                },
                "reason-for-no-assessment": {
                    "data_collection_id": "reason-for-no-assessment",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "When they said they don't want to do the assessment, asked them why, and store for the reason",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation does not contain any information about the user not wanting to do an assessment or their reasoning for it. Therefore, it is not possible to extract the requested data."
                }
            },
            "call_successful": "success",
            "transcript_summary": "The agent attempted to call Elise but reached a voicemail. The voicemail detection tool confirmed the voicemail message.\n",
            "call_summary_title": "Voicemail Detection Success"
        },
        "conversation_initiation_client_data": {
            "conversation_config_override": {
                "turn": null,
                "tts": null,
                "conversation": null,
                "agent": null
            },
            "custom_llm_extra_body": [],
            "user_id": null,
            "source_info": {
                "source": null,
                "version": null
            },
            "dynamic_variables": {
                "contact_id": "8414",
                "email": "elise.pape@holman.com",
                "first_name": "Elise",
                "system__agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                "system__agent_turns": 1,
                "system__current_agent_turns": 1,
                "system__current_subagent_turns": 1,
                "system__current_agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                "system__conversation_id": "conv_1701kcm6r5mwfxs9w4n39tn8k3np",
                "system__call_duration_secs": 17,
                "system__time_utc": "2025-12-16T18:29:26.842735+00:00",
                "system__time": "Tuesday, 13:29 16 December 2025",
                "system__timezone": "America/New_York",
                "system__caller_id": "+13438038625",
                "system__called_number": "8565339783",
                "system__call_sid": "CAce0061529af101835dfa83c04460e911"
            }
        }
    }
}
========================================

========================================
📞 ElevenLabs Post-Call Webhook
🕒 Time: 2025-12-16 13:29:33
🌐 IP: 34.59.11.47
----------------------------------------
HEADERS:
  Content-Type: application/json
  Content-Length: 9749
  Accept-Encoding: gzip, deflate, br
  Accept: */*
  User-Agent: ElevenLabs/1.0
  Elevenlabs-Signature: t=1765909774,v0=41b58f5e80c9c2baf4d6a76790a65c5846643a332a99f497a1be0019ec55dd59
  Host: bk.directobjective.com
----------------------------------------
PAYLOAD:
{
    "type": "post_call_transcription",
    "event_timestamp": 1765909774,
    "data": {
        "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
        "conversation_id": "conv_4701kcm6r4j6eamtqx4ttsqmc03y",
        "status": "done",
        "user_id": null,
        "branch_id": null,
        "transcript": [
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": "Hello, may I speak with Douglas?",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 0,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_tts_service_ttfb": {
                            "elapsed_time": 0.18145301399999880231916904449462890625
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            },
            {
                "role": "user",
                "agent_metadata": null,
                "message": "The person you're trying to reach is not available. At the tone, please record your message. When you have finished recording, you may hang up.",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 1,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_asr_trailing_service_latency": {
                            "elapsed_time": 0.2287776049997773952782154083251953125
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": "audio"
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": null,
                "multivoice_message": null,
                "tool_calls": [
                    {
                        "type": "system",
                        "request_id": "voicemail_detection_f121859fbd9844a5b1b3983b12a3a039",
                        "tool_name": "voicemail_detection",
                        "params_as_json": "{\"reason\": \"voicemail instruction detected: 'The person you're trying to reach is not available. At the tone, please record your message. When you have finished recording, you may hang up.'\"}",
                        "tool_has_been_called": true,
                        "tool_details": null
                    }
                ],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 11,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_llm_service_ttfb": {
                            "elapsed_time": 0.745165512998937629163265228271484375
                        },
                        "convai_llm_tool_request_generation_latency": {
                            "elapsed_time": 0.745844525999928009696304798126220703125
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": null,
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [
                    {
                        "request_id": "voicemail_detection_f121859fbd9844a5b1b3983b12a3a039",
                        "tool_name": "voicemail_detection",
                        "result_value": "{\"result_type\":\"voicemail_detection_success\",\"status\":\"success\",\"voicemail_message\":\"\",\"reason\":\"voicemail instruction detected: 'The person you're trying to reach is not available. At the tone, please record your message. When you have finished recording, you may hang up.'\"}",
                        "is_error": false,
                        "tool_has_been_called": true,
                        "tool_latency_secs": 0.000371049000023049302399158477783203125,
                        "dynamic_variable_updates": [],
                        "type": "system",
                        "result": {
                            "result_type": "voicemail_detection_success",
                            "status": "success",
                            "voicemail_message": "",
                            "reason": "voicemail instruction detected: 'The person you're trying to reach is not available. At the tone, please record your message. When you have finished recording, you may hang up.'"
                        }
                    }
                ],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 11,
                "conversation_turn_metrics": null,
                "rag_retrieval_info": null,
                "llm_usage": {
                    "model_usage": {
                        "gemini-2.5-flash": {
                            "input": {
                                "tokens": 705,
                                "price": 0.0001057499999999999954793106216044407119625248014926910400390625
                            },
                            "input_cache_read": {
                                "tokens": 4216,
                                "price": 0
                            },
                            "input_cache_write": {
                                "tokens": 0,
                                "price": 0
                            },
                            "output_total": {
                                "tokens": 45,
                                "price": 2.69999999999999989899572561125040692786569707095623016357421875e-5
                            }
                        }
                    }
                },
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            }
        ],
        "metadata": {
            "start_time_unix_secs": 1765909758,
            "accepted_time_unix_secs": 1765909758,
            "call_duration_secs": 13,
            "cost": 85,
            "deletion_settings": {
                "deletion_time_unix_secs": null,
                "deleted_logs_at_time_unix_secs": null,
                "deleted_audio_at_time_unix_secs": null,
                "deleted_transcript_at_time_unix_secs": null,
                "delete_transcript_and_pii": false,
                "delete_audio": false
            },
            "feedback": {
                "type": null,
                "overall_score": null,
                "likes": 0,
                "dislikes": 0,
                "rating": null,
                "comment": null
            },
            "authorization_method": "signed_url",
            "charging": {
                "dev_discount": false,
                "is_burst": false,
                "tier": "creator",
                "llm_usage": {
                    "irreversible_generation": {
                        "model_usage": {
                            "gemini-2.5-flash": {
                                "input": {
                                    "tokens": 705,
                                    "price": 0.0001057499999999999954793106216044407119625248014926910400390625
                                },
                                "input_cache_read": {
                                    "tokens": 4216,
                                    "price": 0
                                },
                                "input_cache_write": {
                                    "tokens": 0,
                                    "price": 0
                                },
                                "output_total": {
                                    "tokens": 45,
                                    "price": 2.69999999999999989899572561125040692786569707095623016357421875e-5
                                }
                            }
                        }
                    },
                    "initiated_generation": {
                        "model_usage": {
                            "gemini-2.5-flash": {
                                "input": {
                                    "tokens": 2082,
                                    "price": 0.0003123000000000000016438239658356224026647396385669708251953125
                                },
                                "input_cache_read": {
                                    "tokens": 12637,
                                    "price": 0
                                },
                                "input_cache_write": {
                                    "tokens": 0,
                                    "price": 0
                                },
                                "output_total": {
                                    "tokens": 94,
                                    "price": 5.6400000000000002106474716878636854744399897754192352294921875e-5
                                }
                            }
                        }
                    }
                },
                "llm_price": 0.0003687000000000000173028258387830646825022995471954345703125,
                "llm_charge": 1,
                "call_charge": 84,
                "free_minutes_consumed": 0,
                "free_llm_dollars_consumed": 0
            },
            "phone_call": {
                "direction": "outbound",
                "phone_number_id": "phnum_8001kc7mp2dtek4bn7dr084jydds",
                "agent_number": "+13438038625",
                "external_number": "6102179842",
                "type": "twilio",
                "stream_sid": "MZ7223e17f830bc139f2e52313a5708b37",
                "call_sid": "CA81dad6f8ca3bbd0f0f73c3b60d813ea1"
            },
            "batch_call": {
                "batch_call_id": "btcal_3401kcm6r464eb1rh8x0bywqc1jd",
                "batch_call_recipient_id": "rcpt_4801kcm6r465f10rh8rk3cb3dbvd"
            },
            "termination_reason": "voicemail_detection tool was called.",
            "error": null,
            "warnings": [],
            "main_language": "en",
            "rag_usage": null,
            "text_only": false,
            "features_usage": {
                "language_detection": {
                    "enabled": true,
                    "used": false
                },
                "transfer_to_agent": {
                    "enabled": false,
                    "used": false
                },
                "transfer_to_number": {
                    "enabled": false,
                    "used": false
                },
                "multivoice": {
                    "enabled": false,
                    "used": false
                },
                "dtmf_tones": {
                    "enabled": false,
                    "used": false
                },
                "external_mcp_servers": {
                    "enabled": true,
                    "used": false
                },
                "pii_zrm_workspace": false,
                "pii_zrm_agent": false,
                "tool_dynamic_variable_updates": {
                    "enabled": false,
                    "used": false
                },
                "is_livekit": false,
                "voicemail_detection": {
                    "enabled": true,
                    "used": true
                },
                "workflow": {
                    "enabled": false,
                    "tool_node": {
                        "enabled": false,
                        "used": false
                    },
                    "standalone_agent_node": {
                        "enabled": false,
                        "used": false
                    },
                    "phone_number_node": {
                        "enabled": false,
                        "used": false
                    },
                    "end_node": {
                        "enabled": false,
                        "used": false
                    }
                },
                "agent_testing": {
                    "enabled": false,
                    "tests_ran_after_last_modification": false,
                    "tests_ran_in_last_7_days": false
                },
                "versioning": {
                    "enabled": false,
                    "used": false
                }
            },
            "eleven_assistant": {
                "is_eleven_assistant": false
            },
            "initiator_id": null,
            "conversation_initiation_source": "twilio",
            "conversation_initiation_source_version": null,
            "timezone": "America/New_York",
            "initiation_trigger": {
                "trigger_type": "default"
            },
            "async_metadata": null,
            "whatsapp": null,
            "agent_created_from": "ui",
            "agent_last_updated_from": "ui"
        },
        "analysis": {
            "evaluation_criteria_results": [],
            "data_collection_results": {
                "satisfaction_score": {
                    "data_collection_id": "satisfaction_score",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "Agent will collect the score from contact from 1 to 5",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation does not contain any information about the score from contact from 1 to 5. Therefore, I cannot extract the data."
                },
                "want_to_do_assessment": {
                    "data_collection_id": "want_to_do_assessment",
                    "value": "No",
                    "json_schema": {
                        "type": "string",
                        "description": "this has the value \"Yes\" or \"No\" based on the answer of the contact want to do assessment or not",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation transcript indicates that the call reached a voicemail. There is no indication of whether the contact wants to do an assessment or not. Therefore, the answer is 'No'."
                },
                "reason-for-no-assessment": {
                    "data_collection_id": "reason-for-no-assessment",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "When they said they don't want to do the assessment, asked them why, and store for the reason",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation does not contain any information about the user not wanting to do an assessment or their reasons for not wanting to do so. Therefore, it is not possible to extract the requested data."
                }
            },
            "call_successful": "success",
            "transcript_summary": "The agent called Douglas, but voicemail was detected. The agent recognized the voicemail message and ended the call.\n",
            "call_summary_title": "Voicemail Detection"
        },
        "conversation_initiation_client_data": {
            "conversation_config_override": {
                "turn": null,
                "tts": null,
                "conversation": null,
                "agent": null
            },
            "custom_llm_extra_body": [],
            "user_id": null,
            "source_info": {
                "source": null,
                "version": null
            },
            "dynamic_variables": {
                "contact_id": "8652",
                "email": "dturrell@gsrh.org",
                "first_name": "Douglas",
                "system__agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                "system__agent_turns": 1,
                "system__current_agent_turns": 1,
                "system__current_subagent_turns": 1,
                "system__current_agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                "system__conversation_id": "conv_4701kcm6r4j6eamtqx4ttsqmc03y",
                "system__call_duration_secs": 12,
                "system__time_utc": "2025-12-16T18:29:31.089051+00:00",
                "system__time": "Tuesday, 13:29 16 December 2025",
                "system__timezone": "America/New_York",
                "system__caller_id": "+13438038625",
                "system__called_number": "6102179842",
                "system__call_sid": "CA81dad6f8ca3bbd0f0f73c3b60d813ea1"
            }
        }
    }
}
========================================

========================================
📞 ElevenLabs Post-Call Webhook
🕒 Time: 2025-12-16 13:29:34
🌐 IP: 34.59.11.47
----------------------------------------
HEADERS:
  Content-Type: application/json
  Content-Length: 7077
  Accept-Encoding: gzip, deflate, br
  Accept: */*
  User-Agent: ElevenLabs/1.0
  Elevenlabs-Signature: t=1765909774,v0=35d3c4d1cfb388688e22c02ba46445f249e024e59a47d6de5e4023bf75abff8e
  Host: bk.directobjective.com
----------------------------------------
PAYLOAD:
{
    "type": "post_call_transcription",
    "event_timestamp": 1765909774,
    "data": {
        "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
        "conversation_id": "conv_1901kcm6r462et0vwcvtep49gfc7",
        "status": "done",
        "user_id": null,
        "branch_id": null,
        "transcript": [
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": "Hello, may I speak with Donna?",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 0,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_tts_service_ttfb": {
                            "elapsed_time": 0.18685874600123497657477855682373046875
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            },
            {
                "role": "user",
                "agent_metadata": null,
                "message": "is not available to take your call. Please leave a message after the tone. Press the pound key to end recording. The voice messaging service has not detected a message. Please start recording your message after the tone. The voice messaging service has not detected a message. Please start recording your message after the tone. This operation cannot be completed at this time. Please hang up and try again later.",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 1,
                "conversation_turn_metrics": null,
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            }
        ],
        "metadata": {
            "start_time_unix_secs": 1765909731,
            "accepted_time_unix_secs": 1765909731,
            "call_duration_secs": 40,
            "cost": 271,
            "deletion_settings": {
                "deletion_time_unix_secs": null,
                "deleted_logs_at_time_unix_secs": null,
                "deleted_audio_at_time_unix_secs": null,
                "deleted_transcript_at_time_unix_secs": null,
                "delete_transcript_and_pii": false,
                "delete_audio": false
            },
            "feedback": {
                "type": null,
                "overall_score": null,
                "likes": 0,
                "dislikes": 0,
                "rating": null,
                "comment": null
            },
            "authorization_method": "signed_url",
            "charging": {
                "dev_discount": false,
                "is_burst": false,
                "tier": "creator",
                "llm_usage": {
                    "irreversible_generation": {
                        "model_usage": []
                    },
                    "initiated_generation": {
                        "model_usage": {
                            "gemini-2.5-flash": {
                                "input": {
                                    "tokens": 6332,
                                    "price": 0.000949799999999999884810197858797664594021625816822052001953125
                                },
                                "input_cache_read": {
                                    "tokens": 13355,
                                    "price": 0
                                },
                                "input_cache_write": {
                                    "tokens": 0,
                                    "price": 0
                                },
                                "output_total": {
                                    "tokens": 94,
                                    "price": 5.63999999999999953302111388442341421978198923170566558837890625e-5
                                }
                            }
                        }
                    }
                },
                "llm_price": 0.00100619999999999984625909110746988517348654568195343017578125,
                "llm_charge": 4,
                "call_charge": 267,
                "free_minutes_consumed": 0,
                "free_llm_dollars_consumed": 0
            },
            "phone_call": {
                "direction": "outbound",
                "phone_number_id": "phnum_8001kc7mp2dtek4bn7dr084jydds",
                "agent_number": "+13438038625",
                "external_number": "5409467288",
                "type": "twilio",
                "stream_sid": "MZ798bcedbdbf3e79d69ffcd5244b5431c",
                "call_sid": "CA313898a36a08ae82ce0e86e499513eab"
            },
            "batch_call": {
                "batch_call_id": "btcal_7401kcm6r3v5e2gbpxnchcscjxhd",
                "batch_call_recipient_id": "rcpt_4801kcm6r3v6fkcbhchwv965gwdv"
            },
            "termination_reason": "Call ended by remote party",
            "error": null,
            "warnings": [],
            "main_language": "en",
            "rag_usage": null,
            "text_only": false,
            "features_usage": {
                "language_detection": {
                    "enabled": true,
                    "used": false
                },
                "transfer_to_agent": {
                    "enabled": false,
                    "used": false
                },
                "transfer_to_number": {
                    "enabled": false,
                    "used": false
                },
                "multivoice": {
                    "enabled": false,
                    "used": false
                },
                "dtmf_tones": {
                    "enabled": false,
                    "used": false
                },
                "external_mcp_servers": {
                    "enabled": true,
                    "used": false
                },
                "pii_zrm_workspace": false,
                "pii_zrm_agent": false,
                "tool_dynamic_variable_updates": {
                    "enabled": false,
                    "used": false
                },
                "is_livekit": false,
                "voicemail_detection": {
                    "enabled": true,
                    "used": false
                },
                "workflow": {
                    "enabled": false,
                    "tool_node": {
                        "enabled": false,
                        "used": false
                    },
                    "standalone_agent_node": {
                        "enabled": false,
                        "used": false
                    },
                    "phone_number_node": {
                        "enabled": false,
                        "used": false
                    },
                    "end_node": {
                        "enabled": false,
                        "used": false
                    }
                },
                "agent_testing": {
                    "enabled": false,
                    "tests_ran_after_last_modification": false,
                    "tests_ran_in_last_7_days": false
                },
                "versioning": {
                    "enabled": false,
                    "used": false
                }
            },
            "eleven_assistant": {
                "is_eleven_assistant": false
            },
            "initiator_id": null,
            "conversation_initiation_source": "twilio",
            "conversation_initiation_source_version": null,
            "timezone": "America/New_York",
            "initiation_trigger": {
                "trigger_type": "default"
            },
            "async_metadata": null,
            "whatsapp": null,
            "agent_created_from": "ui",
            "agent_last_updated_from": "ui"
        },
        "analysis": {
            "evaluation_criteria_results": [],
            "data_collection_results": {
                "satisfaction_score": {
                    "data_collection_id": "satisfaction_score",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "Agent will collect the score from contact from 1 to 5",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation does not contain a score from 1 to 5 given by the contact. Therefore, it is not possible to extract the data."
                },
                "want_to_do_assessment": {
                    "data_collection_id": "want_to_do_assessment",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "this has the value \"Yes\" or \"No\" based on the answer of the contact want to do assessment or not",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation does not contain information about whether the contact wants to do an assessment or not. The call ended without any interaction with the intended recipient."
                },
                "reason-for-no-assessment": {
                    "data_collection_id": "reason-for-no-assessment",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "When they said they don't want to do the assessment, asked them why, and store for the reason",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The user did not express any desire to not do the assessment, so the value is null."
                }
            },
            "call_successful": "success",
            "transcript_summary": "The agent attempted to call Donna, but the call went to voicemail and ultimately failed.\n",
            "call_summary_title": "Call to Donna failed"
        },
        "conversation_initiation_client_data": {
            "conversation_config_override": {
                "turn": null,
                "tts": null,
                "conversation": null,
                "agent": null
            },
            "custom_llm_extra_body": [],
            "user_id": null,
            "source_info": {
                "source": null,
                "version": null
            },
            "dynamic_variables": {
                "contact_id": "8691",
                "email": "donna.miller@segra.com",
                "first_name": "Donna",
                "system__agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                "system__agent_turns": 1,
                "system__current_agent_turns": 1,
                "system__current_subagent_turns": 1,
                "system__current_agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                "system__conversation_id": "conv_1901kcm6r462et0vwcvtep49gfc7",
                "system__call_duration_secs": 40,
                "system__time_utc": "2025-12-16T18:29:31.253134+00:00",
                "system__time": "Tuesday, 13:29 16 December 2025",
                "system__timezone": "America/New_York",
                "system__caller_id": "+13438038625",
                "system__called_number": "5409467288",
                "system__call_sid": "CA313898a36a08ae82ce0e86e499513eab"
            }
        }
    }
}
========================================

========================================
📞 ElevenLabs Post-Call Webhook
🕒 Time: 2025-12-16 13:29:35
🌐 IP: 34.59.11.47
----------------------------------------
HEADERS:
  Content-Type: application/json
  Content-Length: 10159
  Accept-Encoding: gzip, deflate, br
  Accept: */*
  User-Agent: ElevenLabs/1.0
  Elevenlabs-Signature: t=1765909776,v0=1a44cd95b646de43d8db96d29e9effeeceace54417bdf6f278e2b3784dbe1efa
  Host: bk.directobjective.com
----------------------------------------
PAYLOAD:
{
    "type": "post_call_transcription",
    "event_timestamp": 1765909776,
    "data": {
        "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
        "conversation_id": "conv_6401kcm6r4h0e43srx04zz7bkdwy",
        "status": "done",
        "user_id": null,
        "branch_id": null,
        "transcript": [
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": "Hello, may I speak with Danielle?",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 0,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_tts_service_ttfb": {
                            "elapsed_time": 0.19850807900002109818160533905029296875
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            },
            {
                "role": "user",
                "agent_metadata": null,
                "message": "This call may be recorded for quality assurance. We have a special promotion today for select callers. If you are over 50, please press 1 now. If not, press 2.",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 5,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_asr_trailing_service_latency": {
                            "elapsed_time": 0.2330192250010441057384014129638671875
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": "audio"
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": "I apologize, I am unable to press any numbers...",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 19,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_llm_service_ttf_sentence": {
                            "elapsed_time": 1.166960935001043253578245639801025390625
                        },
                        "convai_llm_service_ttfb": {
                            "elapsed_time": 1.0153545089997351169586181640625
                        },
                        "convai_llm_service_tt_last_sentence": {
                            "elapsed_time": 1.30135566299941274337470531463623046875
                        },
                        "convai_tts_service_ttfb": {
                            "elapsed_time": 0.21501914100008434616029262542724609375
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": {
                    "model_usage": {
                        "gemini-2.5-flash": {
                            "input": {
                                "tokens": 713,
                                "price": 0.00010694999999999999754259072393125507005606777966022491455078125
                            },
                            "input_cache_read": {
                                "tokens": 4220,
                                "price": 0
                            },
                            "input_cache_write": {
                                "tokens": 0,
                                "price": 0
                            },
                            "output_total": {
                                "tokens": 23,
                                "price": 1.3799999999999998316732759129354946026069228537380695343017578125e-5
                            }
                        }
                    }
                },
                "interrupted": true,
                "original_message": "I apologize, I am unable to press any numbers. Could you please let me know if I have reached Danielle?",
                "source_medium": null
            },
            {
                "role": "user",
                "agent_metadata": null,
                "message": "If you are over 50, please press 1 now. If not, press 2.",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 22,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_asr_trailing_service_latency": {
                            "elapsed_time": 0.240387705000102869234979152679443359375
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": "audio"
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": "I am unable to press numbers as I am an AI assistant. May I please...",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 30,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_llm_service_ttf_sentence": {
                            "elapsed_time": 0.906661131999499048106372356414794921875
                        },
                        "convai_llm_service_ttfb": {
                            "elapsed_time": 0.630151671999556128866970539093017578125
                        },
                        "convai_llm_service_tt_last_sentence": {
                            "elapsed_time": 0.90664056999958120286464691162109375
                        },
                        "convai_tts_service_ttfb": {
                            "elapsed_time": 0.562446190999253303743898868560791015625
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": {
                    "model_usage": {
                        "gemini-2.5-flash": {
                            "input": {
                                "tokens": 743,
                                "price": 0.00011144999999999999850362752962240620036027394235134124755859375
                            },
                            "input_cache_read": {
                                "tokens": 4222,
                                "price": 0
                            },
                            "input_cache_write": {
                                "tokens": 0,
                                "price": 0
                            },
                            "output_total": {
                                "tokens": 20,
                                "price": 1.20000000000000003040102891649354432956897653639316558837890625e-5
                            }
                        }
                    }
                },
                "interrupted": true,
                "original_message": "I am unable to press numbers as I am an AI assistant. May I please speak with Danielle?",
                "source_medium": null
            }
        ],
        "metadata": {
            "start_time_unix_secs": 1765909738,
            "accepted_time_unix_secs": 1765909738,
            "call_duration_secs": 34,
            "cost": 233,
            "deletion_settings": {
                "deletion_time_unix_secs": null,
                "deleted_logs_at_time_unix_secs": null,
                "deleted_audio_at_time_unix_secs": null,
                "deleted_transcript_at_time_unix_secs": null,
                "delete_transcript_and_pii": false,
                "delete_audio": false
            },
            "feedback": {
                "type": null,
                "overall_score": null,
                "likes": 0,
                "dislikes": 0,
                "rating": null,
                "comment": null
            },
            "authorization_method": "signed_url",
            "charging": {
                "dev_discount": false,
                "is_burst": false,
                "tier": "creator",
                "llm_usage": {
                    "irreversible_generation": {
                        "model_usage": {
                            "gemini-2.5-flash": {
                                "input": {
                                    "tokens": 1456,
                                    "price": 0.000218399999999999996046218253553661270416341722011566162109375
                                },
                                "input_cache_read": {
                                    "tokens": 8442,
                                    "price": 0
                                },
                                "input_cache_write": {
                                    "tokens": 0,
                                    "price": 0
                                },
                                "output_total": {
                                    "tokens": 43,
                                    "price": 2.57999999999999969266771537856897111851139925420284271240234375e-5
                                }
                            }
                        }
                    },
                    "initiated_generation": {
                        "model_usage": {
                            "gemini-2.5-flash": {
                                "input": {
                                    "tokens": 7056,
                                    "price": 0.00105839999999999992245924840261750432546250522136688232421875
                                },
                                "input_cache_read": {
                                    "tokens": 12656,
                                    "price": 0
                                },
                                "input_cache_write": {
                                    "tokens": 0,
                                    "price": 0
                                },
                                "output_total": {
                                    "tokens": 71,
                                    "price": 4.25999999999999987075442742234798743083956651389598846435546875e-5
                                }
                            }
                        }
                    }
                },
                "llm_price": 0.0011009999999999999821531648791506086126901209354400634765625,
                "llm_charge": 5,
                "call_charge": 228,
                "free_minutes_consumed": 0,
                "free_llm_dollars_consumed": 0
            },
            "phone_call": {
                "direction": "outbound",
                "phone_number_id": "phnum_8001kc7mp2dtek4bn7dr084jydds",
                "agent_number": "+13438038625",
                "external_number": "8007888099",
                "type": "twilio",
                "stream_sid": "MZ3cd830ad9790eec06b967b00011b7e4b",
                "call_sid": "CAd188d4b6a8560a72175bee2dfc9311a5"
            },
            "batch_call": {
                "batch_call_id": "btcal_6401kcm6r455e1at297a6fmtztff",
                "batch_call_recipient_id": "rcpt_1201kcm6r456ezv8fzbqzve751tz"
            },
            "termination_reason": "Call ended by remote party",
            "error": null,
            "warnings": [],
            "main_language": "en",
            "rag_usage": null,
            "text_only": false,
            "features_usage": {
                "language_detection": {
                    "enabled": true,
                    "used": false
                },
                "transfer_to_agent": {
                    "enabled": false,
                    "used": false
                },
                "transfer_to_number": {
                    "enabled": false,
                    "used": false
                },
                "multivoice": {
                    "enabled": false,
                    "used": false
                },
                "dtmf_tones": {
                    "enabled": false,
                    "used": false
                },
                "external_mcp_servers": {
                    "enabled": true,
                    "used": false
                },
                "pii_zrm_workspace": false,
                "pii_zrm_agent": false,
                "tool_dynamic_variable_updates": {
                    "enabled": false,
                    "used": false
                },
                "is_livekit": false,
                "voicemail_detection": {
                    "enabled": true,
                    "used": false
                },
                "workflow": {
                    "enabled": false,
                    "tool_node": {
                        "enabled": false,
                        "used": false
                    },
                    "standalone_agent_node": {
                        "enabled": false,
                        "used": false
                    },
                    "phone_number_node": {
                        "enabled": false,
                        "used": false
                    },
                    "end_node": {
                        "enabled": false,
                        "used": false
                    }
                },
                "agent_testing": {
                    "enabled": false,
                    "tests_ran_after_last_modification": false,
                    "tests_ran_in_last_7_days": false
                },
                "versioning": {
                    "enabled": false,
                    "used": false
                }
            },
            "eleven_assistant": {
                "is_eleven_assistant": false
            },
            "initiator_id": null,
            "conversation_initiation_source": "twilio",
            "conversation_initiation_source_version": null,
            "timezone": "America/New_York",
            "initiation_trigger": {
                "trigger_type": "default"
            },
            "async_metadata": null,
            "whatsapp": null,
            "agent_created_from": "ui",
            "agent_last_updated_from": "ui"
        },
        "analysis": {
            "evaluation_criteria_results": [],
            "data_collection_results": {
                "satisfaction_score": {
                    "data_collection_id": "satisfaction_score",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "Agent will collect the score from contact from 1 to 5",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation does not contain any information about the score from contact from 1 to 5. Therefore, I cannot extract the data."
                },
                "want_to_do_assessment": {
                    "data_collection_id": "want_to_do_assessment",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "this has the value \"Yes\" or \"No\" based on the answer of the contact want to do assessment or not",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation does not contain information about whether the contact wants to do an assessment or not. The agent is trying to reach Danielle, but the user is an automated system asking the caller to press 1 or 2 based on their age. The agent is unable to press numbers."
                },
                "reason-for-no-assessment": {
                    "data_collection_id": "reason-for-no-assessment",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "When they said they don't want to do the assessment, asked them why, and store for the reason",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation ended before the agent could ask the user if they don't want to do the assessment and why. Therefore, it is not possible to extract the reason."
                }
            },
            "call_successful": "success",
            "transcript_summary": "The agent attempted to call Danielle. The user's automated system requested a number press based on age, but the agent, being an AI, was unable to comply. The agent stated its inability to press numbers and tried to proceed with the call.\n",
            "call_summary_title": "AI unable to press"
        },
        "conversation_initiation_client_data": {
            "conversation_config_override": {
                "turn": null,
                "tts": null,
                "conversation": null,
                "agent": null
            },
            "custom_llm_extra_body": [],
            "user_id": null,
            "source_info": {
                "source": null,
                "version": null
            },
            "dynamic_variables": {
                "contact_id": "8467",
                "email": "dw@acousticalsheetmetal.com",
                "first_name": "Danielle",
                "system__agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                "system__agent_turns": 3,
                "system__current_agent_turns": 3,
                "system__current_subagent_turns": 3,
                "system__current_agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                "system__conversation_id": "conv_6401kcm6r4h0e43srx04zz7bkdwy",
                "system__call_duration_secs": 34,
                "system__time_utc": "2025-12-16T18:29:32.544411+00:00",
                "system__time": "Tuesday, 13:29 16 December 2025",
                "system__timezone": "America/New_York",
                "system__caller_id": "+13438038625",
                "system__called_number": "8007888099",
                "system__call_sid": "CAd188d4b6a8560a72175bee2dfc9311a5"
            }
        }
    }
}
========================================

========================================
📞 ElevenLabs Post-Call Webhook
🕒 Time: 2025-12-16 13:29:37
🌐 IP: 34.59.11.47
----------------------------------------
HEADERS:
  Content-Type: application/json
  Content-Length: 9784
  Accept-Encoding: gzip, deflate, br
  Accept: */*
  User-Agent: ElevenLabs/1.0
  Elevenlabs-Signature: t=1765909778,v0=2c8bd850d194f50c30ccc70d0a057ea69f7344065f2007d89ceb25af062f454b
  Host: bk.directobjective.com
----------------------------------------
PAYLOAD:
{
    "type": "post_call_transcription",
    "event_timestamp": 1765909778,
    "data": {
        "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
        "conversation_id": "conv_8001kcm6r5hhfk5snx3zw0y4e4jr",
        "status": "done",
        "user_id": null,
        "branch_id": null,
        "transcript": [
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": "Hello, may I speak with Evan?",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 0,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_tts_service_ttfb": {
                            "elapsed_time": 0.202110690001063630916178226470947265625
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            },
            {
                "role": "user",
                "agent_metadata": null,
                "message": "The person you're trying to reach is not available. At the tone, please record your message. When you have finished recording, you may hang up.",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 1,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_asr_trailing_service_latency": {
                            "elapsed_time": 0.224127303999921423383057117462158203125
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": "audio"
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": null,
                "multivoice_message": null,
                "tool_calls": [
                    {
                        "type": "system",
                        "request_id": "voicemail_detection_3c1b9fc43b6144ea902d91c9eb66c1fb",
                        "tool_name": "voicemail_detection",
                        "params_as_json": "{\"reason\": \"Automated message detected: 'The person you're trying to reach is not available. At the tone, please record your message. When you have finished recording, you may hang up.'\"}",
                        "tool_has_been_called": true,
                        "tool_details": null
                    }
                ],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 11,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_llm_service_ttfb": {
                            "elapsed_time": 0.96716113599904929287731647491455078125
                        },
                        "convai_llm_tool_request_generation_latency": {
                            "elapsed_time": 0.968701158999465405941009521484375
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": null,
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [
                    {
                        "request_id": "voicemail_detection_3c1b9fc43b6144ea902d91c9eb66c1fb",
                        "tool_name": "voicemail_detection",
                        "result_value": "{\"result_type\":\"voicemail_detection_success\",\"status\":\"success\",\"voicemail_message\":\"\",\"reason\":\"Automated message detected: 'The person you're trying to reach is not available. At the tone, please record your message. When you have finished recording, you may hang up.'\"}",
                        "is_error": false,
                        "tool_has_been_called": true,
                        "tool_latency_secs": 0.000510326999574317596852779388427734375,
                        "dynamic_variable_updates": [],
                        "type": "system",
                        "result": {
                            "result_type": "voicemail_detection_success",
                            "status": "success",
                            "voicemail_message": "",
                            "reason": "Automated message detected: 'The person you're trying to reach is not available. At the tone, please record your message. When you have finished recording, you may hang up.'"
                        }
                    }
                ],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 11,
                "conversation_turn_metrics": null,
                "rag_retrieval_info": null,
                "llm_usage": {
                    "model_usage": {
                        "gemini-2.5-flash": {
                            "input": {
                                "tokens": 716,
                                "price": 0.000107399999999999994928188973286609098067856393754482269287109375
                            },
                            "input_cache_read": {
                                "tokens": 4221,
                                "price": 0
                            },
                            "input_cache_write": {
                                "tokens": 0,
                                "price": 0
                            },
                            "output_total": {
                                "tokens": 44,
                                "price": 2.63999999999999979583172049490968902318854816257953643798828125e-5
                            }
                        }
                    }
                },
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            }
        ],
        "metadata": {
            "start_time_unix_secs": 1765909762,
            "accepted_time_unix_secs": 1765909762,
            "call_duration_secs": 12,
            "cost": 91,
            "deletion_settings": {
                "deletion_time_unix_secs": null,
                "deleted_logs_at_time_unix_secs": null,
                "deleted_audio_at_time_unix_secs": null,
                "deleted_transcript_at_time_unix_secs": null,
                "delete_transcript_and_pii": false,
                "delete_audio": false
            },
            "feedback": {
                "type": null,
                "overall_score": null,
                "likes": 0,
                "dislikes": 0,
                "rating": null,
                "comment": null
            },
            "authorization_method": "signed_url",
            "charging": {
                "dev_discount": false,
                "is_burst": false,
                "tier": "creator",
                "llm_usage": {
                    "irreversible_generation": {
                        "model_usage": {
                            "gemini-2.5-flash": {
                                "input": {
                                    "tokens": 716,
                                    "price": 0.000107399999999999994928188973286609098067856393754482269287109375
                                },
                                "input_cache_read": {
                                    "tokens": 4221,
                                    "price": 0
                                },
                                "input_cache_write": {
                                    "tokens": 0,
                                    "price": 0
                                },
                                "output_total": {
                                    "tokens": 44,
                                    "price": 2.63999999999999979583172049490968902318854816257953643798828125e-5
                                }
                            }
                        }
                    },
                    "initiated_generation": {
                        "model_usage": {
                            "gemini-2.5-flash": {
                                "input": {
                                    "tokens": 7295,
                                    "price": 0.00109424999999999973676612086137538426555693149566650390625
                                },
                                "input_cache_read": {
                                    "tokens": 12658,
                                    "price": 0
                                },
                                "input_cache_write": {
                                    "tokens": 0,
                                    "price": 0
                                },
                                "output_total": {
                                    "tokens": 114,
                                    "price": 6.8399999999999995634221428009169585493509657680988311767578125e-5
                                }
                            }
                        }
                    }
                },
                "llm_price": 0.00116264999999999966463770650904052672558464109897613525390625,
                "llm_charge": 5,
                "call_charge": 86,
                "free_minutes_consumed": 0,
                "free_llm_dollars_consumed": 0
            },
            "phone_call": {
                "direction": "outbound",
                "phone_number_id": "phnum_8001kc7mp2dtek4bn7dr084jydds",
                "agent_number": "+13438038625",
                "external_number": "8608307715",
                "type": "twilio",
                "stream_sid": "MZ304afc0a41641dd555eb2b52e2e77f48",
                "call_sid": "CAf030b8469554afdade21a81f549867d8"
            },
            "batch_call": {
                "batch_call_id": "btcal_8501kcm6r4wce5r9s21sbkqa3fwp",
                "batch_call_recipient_id": "rcpt_7601kcm6r4wdecptpvnq23nfz694"
            },
            "termination_reason": "voicemail_detection tool was called.",
            "error": null,
            "warnings": [],
            "main_language": "en",
            "rag_usage": null,
            "text_only": false,
            "features_usage": {
                "language_detection": {
                    "enabled": true,
                    "used": false
                },
                "transfer_to_agent": {
                    "enabled": false,
                    "used": false
                },
                "transfer_to_number": {
                    "enabled": false,
                    "used": false
                },
                "multivoice": {
                    "enabled": false,
                    "used": false
                },
                "dtmf_tones": {
                    "enabled": false,
                    "used": false
                },
                "external_mcp_servers": {
                    "enabled": true,
                    "used": false
                },
                "pii_zrm_workspace": false,
                "pii_zrm_agent": false,
                "tool_dynamic_variable_updates": {
                    "enabled": false,
                    "used": false
                },
                "is_livekit": false,
                "voicemail_detection": {
                    "enabled": true,
                    "used": true
                },
                "workflow": {
                    "enabled": false,
                    "tool_node": {
                        "enabled": false,
                        "used": false
                    },
                    "standalone_agent_node": {
                        "enabled": false,
                        "used": false
                    },
                    "phone_number_node": {
                        "enabled": false,
                        "used": false
                    },
                    "end_node": {
                        "enabled": false,
                        "used": false
                    }
                },
                "agent_testing": {
                    "enabled": false,
                    "tests_ran_after_last_modification": false,
                    "tests_ran_in_last_7_days": false
                },
                "versioning": {
                    "enabled": false,
                    "used": false
                }
            },
            "eleven_assistant": {
                "is_eleven_assistant": false
            },
            "initiator_id": null,
            "conversation_initiation_source": "twilio",
            "conversation_initiation_source_version": null,
            "timezone": "America/New_York",
            "initiation_trigger": {
                "trigger_type": "default"
            },
            "async_metadata": null,
            "whatsapp": null,
            "agent_created_from": "ui",
            "agent_last_updated_from": "ui"
        },
        "analysis": {
            "evaluation_criteria_results": [],
            "data_collection_results": {
                "satisfaction_score": {
                    "data_collection_id": "satisfaction_score",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "Agent will collect the score from contact from 1 to 5",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation does not contain any information about the score from contact from 1 to 5. Therefore, I cannot extract the data."
                },
                "want_to_do_assessment": {
                    "data_collection_id": "want_to_do_assessment",
                    "value": "No",
                    "json_schema": {
                        "type": "string",
                        "description": "this has the value \"Yes\" or \"No\" based on the answer of the contact want to do assessment or not",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation is with a voicemail, so the contact did not answer the call and therefore did not express interest in doing an assessment. Thus, the answer is 'No'."
                },
                "reason-for-no-assessment": {
                    "data_collection_id": "reason-for-no-assessment",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "When they said they don't want to do the assessment, asked them why, and store for the reason",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation does not contain any instance where the user declines an assessment or provides a reason for not wanting to do it. Therefore, it is not possible to extract the requested data."
                }
            },
            "call_successful": "success",
            "transcript_summary": "The agent called Evan, but the call was directed to voicemail. The voicemail detection tool confirmed an automated message.\n",
            "call_summary_title": "Voicemail Detection"
        },
        "conversation_initiation_client_data": {
            "conversation_config_override": {
                "turn": null,
                "tts": null,
                "conversation": null,
                "agent": null
            },
            "custom_llm_extra_body": [],
            "user_id": null,
            "source_info": {
                "source": null,
                "version": null
            },
            "dynamic_variables": {
                "contact_id": "8393",
                "email": "efowler-guzzardo@plymouthrock.com",
                "first_name": "Evan",
                "system__agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                "system__agent_turns": 1,
                "system__current_agent_turns": 1,
                "system__current_subagent_turns": 1,
                "system__current_agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                "system__conversation_id": "conv_8001kcm6r5hhfk5snx3zw0y4e4jr",
                "system__call_duration_secs": 12,
                "system__time_utc": "2025-12-16T18:29:34.826836+00:00",
                "system__time": "Tuesday, 13:29 16 December 2025",
                "system__timezone": "America/New_York",
                "system__caller_id": "+13438038625",
                "system__called_number": "8608307715",
                "system__call_sid": "CAf030b8469554afdade21a81f549867d8"
            }
        }
    }
}
========================================

========================================
📞 ElevenLabs Post-Call Webhook
🕒 Time: 2025-12-16 13:29:40
🌐 IP: 34.59.11.47
----------------------------------------
HEADERS:
  Content-Type: application/json
  Content-Length: 10165
  Accept-Encoding: gzip, deflate, br
  Accept: */*
  User-Agent: ElevenLabs/1.0
  Elevenlabs-Signature: t=1765909780,v0=c5f07fa3b70585428b4670d51ad0dbd1d7a1adb7403a6bcf43f75209507d14b5
  Host: bk.directobjective.com
----------------------------------------
PAYLOAD:
{
    "type": "post_call_transcription",
    "event_timestamp": 1765909780,
    "data": {
        "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
        "conversation_id": "conv_0601kcm6r4wjf4rbhts1pyb56emz",
        "status": "done",
        "user_id": null,
        "branch_id": null,
        "transcript": [
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": "Hello, may I speak with Elizabeth?",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 0,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_tts_service_ttfb": {
                            "elapsed_time": 0.21284247099902131594717502593994140625
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            },
            {
                "role": "user",
                "agent_metadata": null,
                "message": "I can't come to the phone right now, but leave me a message, and I'll get back to you as soon as possible. At the tone, please record your message. When you have finished recording, you may hang up or press 1 for more options.",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 2,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_asr_trailing_service_latency": {
                            "elapsed_time": 0.233606944000712246634066104888916015625
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": "audio"
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": null,
                "multivoice_message": null,
                "tool_calls": [
                    {
                        "type": "system",
                        "request_id": "voicemail_detection_d40aa4b5de6846a495fc20ee20fb35d3",
                        "tool_name": "voicemail_detection",
                        "params_as_json": "{\"reason\": \"The user said 'I can't come to the phone right now, but leave me a message, and I'll get back to you as soon as possible. At the tone, please record your message. When you have finished recording, you may hang up or press 1 for more options.' which indicates a voicemail system.\"}",
                        "tool_has_been_called": true,
                        "tool_details": null
                    }
                ],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 15,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_llm_service_ttfb": {
                            "elapsed_time": 1.1004312980003305710852146148681640625
                        },
                        "convai_llm_tool_request_generation_latency": {
                            "elapsed_time": 1.101232217000870150513947010040283203125
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": null,
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [
                    {
                        "request_id": "voicemail_detection_d40aa4b5de6846a495fc20ee20fb35d3",
                        "tool_name": "voicemail_detection",
                        "result_value": "{\"result_type\":\"voicemail_detection_success\",\"status\":\"success\",\"voicemail_message\":\"\",\"reason\":\"The user said 'I can't come to the phone right now, but leave me a message, and I'll get back to you as soon as possible. At the tone, please record your message. When you have finished recording, you may hang up or press 1 for more options.' which indicates a voicemail system.\"}",
                        "is_error": false,
                        "tool_has_been_called": true,
                        "tool_latency_secs": 0.000368476999938138760626316070556640625,
                        "dynamic_variable_updates": [],
                        "type": "system",
                        "result": {
                            "result_type": "voicemail_detection_success",
                            "status": "success",
                            "voicemail_message": "",
                            "reason": "The user said 'I can't come to the phone right now, but leave me a message, and I'll get back to you as soon as possible. At the tone, please record your message. When you have finished recording, you may hang up or press 1 for more options.' which indicates a voicemail system."
                        }
                    }
                ],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 15,
                "conversation_turn_metrics": null,
                "rag_retrieval_info": null,
                "llm_usage": {
                    "model_usage": {
                        "gemini-2.5-flash": {
                            "input": {
                                "tokens": 16,
                                "price": 2.3999999999999998913954683821270208454734529368579387664794921875e-6
                            },
                            "input_cache_read": {
                                "tokens": 4926,
                                "price": 0
                            },
                            "input_cache_write": {
                                "tokens": 0,
                                "price": 0
                            },
                            "output_total": {
                                "tokens": 73,
                                "price": 4.3799999999999993994560798515891519855358637869358062744140625e-5
                            }
                        }
                    }
                },
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            }
        ],
        "metadata": {
            "start_time_unix_secs": 1765909760,
            "accepted_time_unix_secs": 1765909760,
            "call_duration_secs": 17,
            "cost": 118,
            "deletion_settings": {
                "deletion_time_unix_secs": null,
                "deleted_logs_at_time_unix_secs": null,
                "deleted_audio_at_time_unix_secs": null,
                "deleted_transcript_at_time_unix_secs": null,
                "delete_transcript_and_pii": false,
                "delete_audio": false
            },
            "feedback": {
                "type": null,
                "overall_score": null,
                "likes": 0,
                "dislikes": 0,
                "rating": null,
                "comment": null
            },
            "authorization_method": "signed_url",
            "charging": {
                "dev_discount": false,
                "is_burst": false,
                "tier": "creator",
                "llm_usage": {
                    "irreversible_generation": {
                        "model_usage": {
                            "gemini-2.5-flash": {
                                "input": {
                                    "tokens": 16,
                                    "price": 2.3999999999999998913954683821270208454734529368579387664794921875e-6
                                },
                                "input_cache_read": {
                                    "tokens": 4926,
                                    "price": 0
                                },
                                "input_cache_write": {
                                    "tokens": 0,
                                    "price": 0
                                },
                                "output_total": {
                                    "tokens": 73,
                                    "price": 4.3799999999999993994560798515891519855358637869358062744140625e-5
                                }
                            }
                        }
                    },
                    "initiated_generation": {
                        "model_usage": {
                            "gemini-2.5-flash": {
                                "input": {
                                    "tokens": 2123,
                                    "price": 0.0003184500000000000156062662792777473441674374043941497802734375
                                },
                                "input_cache_read": {
                                    "tokens": 17573,
                                    "price": 0
                                },
                                "input_cache_write": {
                                    "tokens": 0,
                                    "price": 0
                                },
                                "output_total": {
                                    "tokens": 215,
                                    "price": 0.00012899999999999999140964934696285126847214996814727783203125
                                }
                            }
                        }
                    }
                },
                "llm_price": 0.0004474500000000000070159156262405986126395873725414276123046875,
                "llm_charge": 2,
                "call_charge": 116,
                "free_minutes_consumed": 0,
                "free_llm_dollars_consumed": 0
            },
            "phone_call": {
                "direction": "outbound",
                "phone_number_id": "phnum_8001kc7mp2dtek4bn7dr084jydds",
                "agent_number": "+13438038625",
                "external_number": "6177630592",
                "type": "twilio",
                "stream_sid": "MZcfc6ca9640a83d722aabbbc3bd331634",
                "call_sid": "CAbfae9613590364a27ed4083c79921d9f"
            },
            "batch_call": {
                "batch_call_id": "btcal_4501kcm6r4gaf8a9dwx1505ctvnn",
                "batch_call_recipient_id": "rcpt_4301kcm6r4gbemqstz1t9v2v9t69"
            },
            "termination_reason": "voicemail_detection tool was called.",
            "error": null,
            "warnings": [],
            "main_language": "en",
            "rag_usage": null,
            "text_only": false,
            "features_usage": {
                "language_detection": {
                    "enabled": true,
                    "used": false
                },
                "transfer_to_agent": {
                    "enabled": false,
                    "used": false
                },
                "transfer_to_number": {
                    "enabled": false,
                    "used": false
                },
                "multivoice": {
                    "enabled": false,
                    "used": false
                },
                "dtmf_tones": {
                    "enabled": false,
                    "used": false
                },
                "external_mcp_servers": {
                    "enabled": true,
                    "used": false
                },
                "pii_zrm_workspace": false,
                "pii_zrm_agent": false,
                "tool_dynamic_variable_updates": {
                    "enabled": false,
                    "used": false
                },
                "is_livekit": false,
                "voicemail_detection": {
                    "enabled": true,
                    "used": true
                },
                "workflow": {
                    "enabled": false,
                    "tool_node": {
                        "enabled": false,
                        "used": false
                    },
                    "standalone_agent_node": {
                        "enabled": false,
                        "used": false
                    },
                    "phone_number_node": {
                        "enabled": false,
                        "used": false
                    },
                    "end_node": {
                        "enabled": false,
                        "used": false
                    }
                },
                "agent_testing": {
                    "enabled": false,
                    "tests_ran_after_last_modification": false,
                    "tests_ran_in_last_7_days": false
                },
                "versioning": {
                    "enabled": false,
                    "used": false
                }
            },
            "eleven_assistant": {
                "is_eleven_assistant": false
            },
            "initiator_id": null,
            "conversation_initiation_source": "twilio",
            "conversation_initiation_source_version": null,
            "timezone": "America/New_York",
            "initiation_trigger": {
                "trigger_type": "default"
            },
            "async_metadata": null,
            "whatsapp": null,
            "agent_created_from": "ui",
            "agent_last_updated_from": "ui"
        },
        "analysis": {
            "evaluation_criteria_results": [],
            "data_collection_results": {
                "satisfaction_score": {
                    "data_collection_id": "satisfaction_score",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "Agent will collect the score from contact from 1 to 5",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation does not contain any information about the score from contact from 1 to 5. Therefore, I cannot extract the data."
                },
                "want_to_do_assessment": {
                    "data_collection_id": "want_to_do_assessment",
                    "value": "No",
                    "json_schema": {
                        "type": "string",
                        "description": "this has the value \"Yes\" or \"No\" based on the answer of the contact want to do assessment or not",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation is with a voicemail system, so the contact did not answer the phone and therefore did not express interest in doing an assessment. Thus, the answer is 'No'."
                },
                "reason-for-no-assessment": {
                    "data_collection_id": "reason-for-no-assessment",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "When they said they don't want to do the assessment, asked them why, and store for the reason",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation does not contain any information about the user not wanting to do an assessment or their reasons for not wanting to do so. Therefore, it is not possible to extract the requested data."
                }
            },
            "call_successful": "success",
            "transcript_summary": "The agent called Elizabeth, but the call was answered by a voicemail system. The agent detected the voicemail message.\n",
            "call_summary_title": "Voicemail Detection"
        },
        "conversation_initiation_client_data": {
            "conversation_config_override": {
                "turn": null,
                "tts": null,
                "conversation": null,
                "agent": null
            },
            "custom_llm_extra_body": [],
            "user_id": null,
            "source_info": {
                "source": null,
                "version": null
            },
            "dynamic_variables": {
                "contact_id": "8619",
                "email": "egood@panoramaed.com",
                "first_name": "Elizabeth",
                "system__agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                "system__agent_turns": 1,
                "system__current_agent_turns": 1,
                "system__current_subagent_turns": 1,
                "system__current_agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                "system__conversation_id": "conv_0601kcm6r4wjf4rbhts1pyb56emz",
                "system__call_duration_secs": 17,
                "system__time_utc": "2025-12-16T18:29:37.634397+00:00",
                "system__time": "Tuesday, 13:29 16 December 2025",
                "system__timezone": "America/New_York",
                "system__caller_id": "+13438038625",
                "system__called_number": "6177630592",
                "system__call_sid": "CAbfae9613590364a27ed4083c79921d9f"
            }
        }
    }
}
========================================

========================================
📞 ElevenLabs Post-Call Webhook
🕒 Time: 2025-12-16 13:29:42
🌐 IP: 34.59.11.47
----------------------------------------
HEADERS:
  Content-Type: application/json
  Content-Length: 9412
  Accept-Encoding: gzip, deflate, br
  Accept: */*
  User-Agent: ElevenLabs/1.0
  Elevenlabs-Signature: t=1765909782,v0=21a05f9537b129c5f46496e631294338db2920d2774de3f3863e5dbf070e46e8
  Host: bk.directobjective.com
----------------------------------------
PAYLOAD:
{
    "type": "post_call_transcription",
    "event_timestamp": 1765909782,
    "data": {
        "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
        "conversation_id": "conv_2601kcm6r4bhfvss71n145fnrqgv",
        "status": "done",
        "user_id": null,
        "branch_id": null,
        "transcript": [
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": "Hello, may I speak with Deborah?",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 0,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_tts_service_ttfb": {
                            "elapsed_time": 0.18738916900110780261456966400146484375
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            },
            {
                "role": "user",
                "agent_metadata": null,
                "message": "Leave me a message. Thanks.",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 1,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_asr_trailing_service_latency": {
                            "elapsed_time": 0.209995842000353150069713592529296875
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": "audio"
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": null,
                "multivoice_message": null,
                "tool_calls": [
                    {
                        "type": "system",
                        "request_id": "voicemail_detection_dac1ae98675a47cbbe067fb3c10a1458",
                        "tool_name": "voicemail_detection",
                        "params_as_json": "{\"reason\": \"The user said \\\"Leave me a message. Thanks.\\\" which indicates a voicemail system.\"}",
                        "tool_has_been_called": true,
                        "tool_details": null
                    }
                ],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 4,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_llm_service_ttfb": {
                            "elapsed_time": 0.7453429939996567554771900177001953125
                        },
                        "convai_llm_tool_request_generation_latency": {
                            "elapsed_time": 0.746278630002052523195743560791015625
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": null,
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [
                    {
                        "request_id": "voicemail_detection_dac1ae98675a47cbbe067fb3c10a1458",
                        "tool_name": "voicemail_detection",
                        "result_value": "{\"result_type\":\"voicemail_detection_success\",\"status\":\"success\",\"voicemail_message\":\"\",\"reason\":\"The user said \\\"Leave me a message. Thanks.\\\" which indicates a voicemail system.\"}",
                        "is_error": false,
                        "tool_has_been_called": true,
                        "tool_latency_secs": 0.000332292998791672289371490478515625,
                        "dynamic_variable_updates": [],
                        "type": "system",
                        "result": {
                            "result_type": "voicemail_detection_success",
                            "status": "success",
                            "voicemail_message": "",
                            "reason": "The user said \"Leave me a message. Thanks.\" which indicates a voicemail system."
                        }
                    }
                ],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 4,
                "conversation_turn_metrics": null,
                "rag_retrieval_info": null,
                "llm_usage": {
                    "model_usage": {
                        "gemini-2.5-flash": {
                            "input": {
                                "tokens": 686,
                                "price": 0.000102899999999999993967152167595457967763650231063365936279296875
                            },
                            "input_cache_read": {
                                "tokens": 4210,
                                "price": 0
                            },
                            "input_cache_write": {
                                "tokens": 0,
                                "price": 0
                            },
                            "output_total": {
                                "tokens": 23,
                                "price": 1.3799999999999998316732759129354946026069228537380695343017578125e-5
                            }
                        }
                    }
                },
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            }
        ],
        "metadata": {
            "start_time_unix_secs": 1765909773,
            "accepted_time_unix_secs": 1765909773,
            "call_duration_secs": 5,
            "cost": 39,
            "deletion_settings": {
                "deletion_time_unix_secs": null,
                "deleted_logs_at_time_unix_secs": null,
                "deleted_audio_at_time_unix_secs": null,
                "deleted_transcript_at_time_unix_secs": null,
                "delete_transcript_and_pii": false,
                "delete_audio": false
            },
            "feedback": {
                "type": null,
                "overall_score": null,
                "likes": 0,
                "dislikes": 0,
                "rating": null,
                "comment": null
            },
            "authorization_method": "signed_url",
            "charging": {
                "dev_discount": false,
                "is_burst": false,
                "tier": "creator",
                "llm_usage": {
                    "irreversible_generation": {
                        "model_usage": {
                            "gemini-2.5-flash": {
                                "input": {
                                    "tokens": 686,
                                    "price": 0.000102899999999999993967152167595457967763650231063365936279296875
                                },
                                "input_cache_read": {
                                    "tokens": 4210,
                                    "price": 0
                                },
                                "input_cache_write": {
                                    "tokens": 0,
                                    "price": 0
                                },
                                "output_total": {
                                    "tokens": 23,
                                    "price": 1.3799999999999998316732759129354946026069228537380695343017578125e-5
                                }
                            }
                        }
                    },
                    "initiated_generation": {
                        "model_usage": {
                            "gemini-2.5-flash": {
                                "input": {
                                    "tokens": 686,
                                    "price": 0.000102899999999999993967152167595457967763650231063365936279296875
                                },
                                "input_cache_read": {
                                    "tokens": 4210,
                                    "price": 0
                                },
                                "input_cache_write": {
                                    "tokens": 0,
                                    "price": 0
                                },
                                "output_total": {
                                    "tokens": 23,
                                    "price": 1.3799999999999998316732759129354946026069228537380695343017578125e-5
                                }
                            }
                        }
                    }
                },
                "llm_price": 0.00011669999999999999058981903221621223565307445824146270751953125,
                "llm_charge": 0,
                "call_charge": 39,
                "free_minutes_consumed": 0,
                "free_llm_dollars_consumed": 0
            },
            "phone_call": {
                "direction": "outbound",
                "phone_number_id": "phnum_8001kc7mp2dtek4bn7dr084jydds",
                "agent_number": "+13438038625",
                "external_number": "4432932124",
                "type": "twilio",
                "stream_sid": "MZ11b68f10267d169559073a26975970ab",
                "call_sid": "CA9cb07c8aa6992e730439a1a62d94f7e5"
            },
            "batch_call": {
                "batch_call_id": "btcal_4601kcm6r3zefx3rz7v4q4jw6s2d",
                "batch_call_recipient_id": "rcpt_9401kcm6r3zffvnrweq1avhjbemm"
            },
            "termination_reason": "voicemail_detection tool was called.",
            "error": null,
            "warnings": [],
            "main_language": "en",
            "rag_usage": null,
            "text_only": false,
            "features_usage": {
                "language_detection": {
                    "enabled": true,
                    "used": false
                },
                "transfer_to_agent": {
                    "enabled": false,
                    "used": false
                },
                "transfer_to_number": {
                    "enabled": false,
                    "used": false
                },
                "multivoice": {
                    "enabled": false,
                    "used": false
                },
                "dtmf_tones": {
                    "enabled": false,
                    "used": false
                },
                "external_mcp_servers": {
                    "enabled": true,
                    "used": false
                },
                "pii_zrm_workspace": false,
                "pii_zrm_agent": false,
                "tool_dynamic_variable_updates": {
                    "enabled": false,
                    "used": false
                },
                "is_livekit": false,
                "voicemail_detection": {
                    "enabled": true,
                    "used": true
                },
                "workflow": {
                    "enabled": false,
                    "tool_node": {
                        "enabled": false,
                        "used": false
                    },
                    "standalone_agent_node": {
                        "enabled": false,
                        "used": false
                    },
                    "phone_number_node": {
                        "enabled": false,
                        "used": false
                    },
                    "end_node": {
                        "enabled": false,
                        "used": false
                    }
                },
                "agent_testing": {
                    "enabled": false,
                    "tests_ran_after_last_modification": false,
                    "tests_ran_in_last_7_days": false
                },
                "versioning": {
                    "enabled": false,
                    "used": false
                }
            },
            "eleven_assistant": {
                "is_eleven_assistant": false
            },
            "initiator_id": null,
            "conversation_initiation_source": "twilio",
            "conversation_initiation_source_version": null,
            "timezone": "America/New_York",
            "initiation_trigger": {
                "trigger_type": "default"
            },
            "async_metadata": null,
            "whatsapp": null,
            "agent_created_from": "ui",
            "agent_last_updated_from": "ui"
        },
        "analysis": {
            "evaluation_criteria_results": [],
            "data_collection_results": {
                "satisfaction_score": {
                    "data_collection_id": "satisfaction_score",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "Agent will collect the score from contact from 1 to 5",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation does not contain any explicit score from the contact from 1 to 5. Therefore, it is not possible to extract the data."
                },
                "want_to_do_assessment": {
                    "data_collection_id": "want_to_do_assessment",
                    "value": "No",
                    "json_schema": {
                        "type": "string",
                        "description": "this has the value \"Yes\" or \"No\" based on the answer of the contact want to do assessment or not",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation indicates that the user requested to leave a message, which means the contact did not want to do an assessment. Therefore, the answer is \"No\"."
                },
                "reason-for-no-assessment": {
                    "data_collection_id": "reason-for-no-assessment",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "When they said they don't want to do the assessment, asked them why, and store for the reason",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation ended with the user requesting to leave a message, indicating they did not want to proceed with any assessment. There was no opportunity to ask why they didn't want to do the assessment."
                }
            },
            "call_successful": "success",
            "transcript_summary": "The agent called and asked for Deborah. The user responded with \"Leave me a message. Thanks.\", which was detected as a voicemail prompt.",
            "call_summary_title": "Voicemail Detection"
        },
        "conversation_initiation_client_data": {
            "conversation_config_override": {
                "turn": null,
                "tts": null,
                "conversation": null,
                "agent": null
            },
            "custom_llm_extra_body": [],
            "user_id": null,
            "source_info": {
                "source": null,
                "version": null
            },
            "dynamic_variables": {
                "contact_id": "8416",
                "email": "donheiser@med-iq.com",
                "first_name": "Deborah",
                "system__agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                "system__agent_turns": 1,
                "system__current_agent_turns": 1,
                "system__current_subagent_turns": 1,
                "system__current_agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                "system__conversation_id": "conv_2601kcm6r4bhfvss71n145fnrqgv",
                "system__call_duration_secs": 5,
                "system__time_utc": "2025-12-16T18:29:38.956428+00:00",
                "system__time": "Tuesday, 13:29 16 December 2025",
                "system__timezone": "America/New_York",
                "system__caller_id": "+13438038625",
                "system__called_number": "4432932124",
                "system__call_sid": "CA9cb07c8aa6992e730439a1a62d94f7e5"
            }
        }
    }
}
========================================

========================================
📞 ElevenLabs Post-Call Webhook
🕒 Time: 2025-12-16 13:29:43
🌐 IP: 34.59.11.47
----------------------------------------
HEADERS:
  Content-Type: application/json
  Content-Length: 10393
  Accept-Encoding: gzip, deflate, br
  Accept: */*
  User-Agent: ElevenLabs/1.0
  Elevenlabs-Signature: t=1765909784,v0=eb1319c6482370792dbd3eeb7e0b3a508605ffaf76dc9c0462da22a46840c658
  Host: bk.directobjective.com
----------------------------------------
PAYLOAD:
{
    "type": "post_call_transcription",
    "event_timestamp": 1765909784,
    "data": {
        "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
        "conversation_id": "conv_4101kcm6r4bvfqfrhfrydky2s4qz",
        "status": "done",
        "user_id": null,
        "branch_id": null,
        "transcript": [
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": "Hello, may I speak with Douglas?",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 0,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_tts_service_ttfb": {
                            "elapsed_time": 0.201877864999914891086518764495849609375
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            },
            {
                "role": "user",
                "agent_metadata": null,
                "message": "with the CUNY inclusive economy initiative. I am unavailable at the moment. Please leave me a message with your name and number or email and I will return your message as soon as possible. Thank you. Record your message at the tone. When you are finished, hang up or press pound for more options.",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 2,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_asr_trailing_service_latency": {
                            "elapsed_time": 0.233424537000246345996856689453125
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": "audio"
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": null,
                "multivoice_message": null,
                "tool_calls": [
                    {
                        "type": "system",
                        "request_id": "voicemail_detection_9b39755b3eec40a9aac82b189afe1a1c",
                        "tool_name": "voicemail_detection",
                        "params_as_json": "{\"reason\": \"Automated greeting detected: 'with the CUNY inclusive economy initiative. I am unavailable at the moment. Please leave me a message with your name and number or email and I will return your message as soon as possible. Thank you. Record your message at the tone. When you are finished, hang up or press pound for more options.'\"}",
                        "tool_has_been_called": true,
                        "tool_details": null
                    }
                ],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 21,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_llm_service_ttfb": {
                            "elapsed_time": 0.9927685840011690743267536163330078125
                        },
                        "convai_llm_tool_request_generation_latency": {
                            "elapsed_time": 0.993469674000152735970914363861083984375
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": null,
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [
                    {
                        "request_id": "voicemail_detection_9b39755b3eec40a9aac82b189afe1a1c",
                        "tool_name": "voicemail_detection",
                        "result_value": "{\"result_type\":\"voicemail_detection_success\",\"status\":\"success\",\"voicemail_message\":\"\",\"reason\":\"Automated greeting detected: 'with the CUNY inclusive economy initiative. I am unavailable at the moment. Please leave me a message with your name and number or email and I will return your message as soon as possible. Thank you. Record your message at the tone. When you are finished, hang up or press pound for more options.'\"}",
                        "is_error": false,
                        "tool_has_been_called": true,
                        "tool_latency_secs": 0.00032858499980648048222064971923828125,
                        "dynamic_variable_updates": [],
                        "type": "system",
                        "result": {
                            "result_type": "voicemail_detection_success",
                            "status": "success",
                            "voicemail_message": "",
                            "reason": "Automated greeting detected: 'with the CUNY inclusive economy initiative. I am unavailable at the moment. Please leave me a message with your name and number or email and I will return your message as soon as possible. Thank you. Record your message at the tone. When you are finished, hang up or press pound for more options.'"
                        }
                    }
                ],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 21,
                "conversation_turn_metrics": null,
                "rag_retrieval_info": null,
                "llm_usage": {
                    "model_usage": {
                        "gemini-2.5-flash": {
                            "input": {
                                "tokens": 739,
                                "price": 0.000110849999999999997471987478458999021313502453267574310302734375
                            },
                            "input_cache_read": {
                                "tokens": 4229,
                                "price": 0
                            },
                            "input_cache_write": {
                                "tokens": 0,
                                "price": 0
                            },
                            "output_total": {
                                "tokens": 75,
                                "price": 4.50000000000000028341044788771085904954816214740276336669921875e-5
                            }
                        }
                    }
                },
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            }
        ],
        "metadata": {
            "start_time_unix_secs": 1765909758,
            "accepted_time_unix_secs": 1765909758,
            "call_duration_secs": 23,
            "cost": 159,
            "deletion_settings": {
                "deletion_time_unix_secs": null,
                "deleted_logs_at_time_unix_secs": null,
                "deleted_audio_at_time_unix_secs": null,
                "deleted_transcript_at_time_unix_secs": null,
                "delete_transcript_and_pii": false,
                "delete_audio": false
            },
            "feedback": {
                "type": null,
                "overall_score": null,
                "likes": 0,
                "dislikes": 0,
                "rating": null,
                "comment": null
            },
            "authorization_method": "signed_url",
            "charging": {
                "dev_discount": false,
                "is_burst": false,
                "tier": "creator",
                "llm_usage": {
                    "irreversible_generation": {
                        "model_usage": {
                            "gemini-2.5-flash": {
                                "input": {
                                    "tokens": 739,
                                    "price": 0.000110849999999999997471987478458999021313502453267574310302734375
                                },
                                "input_cache_read": {
                                    "tokens": 4229,
                                    "price": 0
                                },
                                "input_cache_write": {
                                    "tokens": 0,
                                    "price": 0
                                },
                                "output_total": {
                                    "tokens": 75,
                                    "price": 4.50000000000000028341044788771085904954816214740276336669921875e-5
                                }
                            }
                        }
                    },
                    "initiated_generation": {
                        "model_usage": {
                            "gemini-2.5-flash": {
                                "input": {
                                    "tokens": 5894,
                                    "price": 0.000884099999999999968357256019402257152250967919826507568359375
                                },
                                "input_cache_read": {
                                    "tokens": 4229,
                                    "price": 0
                                },
                                "input_cache_write": {
                                    "tokens": 0,
                                    "price": 0
                                },
                                "output_total": {
                                    "tokens": 96,
                                    "price": 5.7600000000000004169754819205451212837942875921726226806640625e-5
                                }
                            }
                        }
                    }
                },
                "llm_price": 0.00094169999999999995897448368253890293999575078487396240234375,
                "llm_charge": 4,
                "call_charge": 155,
                "free_minutes_consumed": 0,
                "free_llm_dollars_consumed": 0
            },
            "phone_call": {
                "direction": "outbound",
                "phone_number_id": "phnum_8001kc7mp2dtek4bn7dr084jydds",
                "agent_number": "+13438038625",
                "external_number": "2124841178",
                "type": "twilio",
                "stream_sid": "MZc7e1e4ed329fefa947edc59c5736fab9",
                "call_sid": "CAc6f5e67fb890fb35bd418633b21cf63f"
            },
            "batch_call": {
                "batch_call_id": "btcal_6501kcm6r3zwepj91zp201w18w56",
                "batch_call_recipient_id": "rcpt_9401kcm6r3zxe46av2kc3jr6134x"
            },
            "termination_reason": "voicemail_detection tool was called.",
            "error": null,
            "warnings": [],
            "main_language": "en",
            "rag_usage": null,
            "text_only": false,
            "features_usage": {
                "language_detection": {
                    "enabled": true,
                    "used": false
                },
                "transfer_to_agent": {
                    "enabled": false,
                    "used": false
                },
                "transfer_to_number": {
                    "enabled": false,
                    "used": false
                },
                "multivoice": {
                    "enabled": false,
                    "used": false
                },
                "dtmf_tones": {
                    "enabled": false,
                    "used": false
                },
                "external_mcp_servers": {
                    "enabled": true,
                    "used": false
                },
                "pii_zrm_workspace": false,
                "pii_zrm_agent": false,
                "tool_dynamic_variable_updates": {
                    "enabled": false,
                    "used": false
                },
                "is_livekit": false,
                "voicemail_detection": {
                    "enabled": true,
                    "used": true
                },
                "workflow": {
                    "enabled": false,
                    "tool_node": {
                        "enabled": false,
                        "used": false
                    },
                    "standalone_agent_node": {
                        "enabled": false,
                        "used": false
                    },
                    "phone_number_node": {
                        "enabled": false,
                        "used": false
                    },
                    "end_node": {
                        "enabled": false,
                        "used": false
                    }
                },
                "agent_testing": {
                    "enabled": false,
                    "tests_ran_after_last_modification": false,
                    "tests_ran_in_last_7_days": false
                },
                "versioning": {
                    "enabled": false,
                    "used": false
                }
            },
            "eleven_assistant": {
                "is_eleven_assistant": false
            },
            "initiator_id": null,
            "conversation_initiation_source": "twilio",
            "conversation_initiation_source_version": null,
            "timezone": "America/New_York",
            "initiation_trigger": {
                "trigger_type": "default"
            },
            "async_metadata": null,
            "whatsapp": null,
            "agent_created_from": "ui",
            "agent_last_updated_from": "ui"
        },
        "analysis": {
            "evaluation_criteria_results": [],
            "data_collection_results": {
                "satisfaction_score": {
                    "data_collection_id": "satisfaction_score",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "Agent will collect the score from contact from 1 to 5",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation does not contain any information about the score from contact from 1 to 5. Therefore, I cannot extract the data."
                },
                "want_to_do_assessment": {
                    "data_collection_id": "want_to_do_assessment",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "this has the value \"Yes\" or \"No\" based on the answer of the contact want to do assessment or not",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation is with a voicemail, so there is no indication of whether the contact wants to do an assessment or not. Therefore, the value is null."
                },
                "reason-for-no-assessment": {
                    "data_collection_id": "reason-for-no-assessment",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "When they said they don't want to do the assessment, asked them why, and store for the reason",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation is with a voicemail, and the user did not express any desire to not do the assessment. Therefore, it is not possible to extract the reason why they don't want to do the assessment."
                }
            },
            "call_successful": "success",
            "transcript_summary": "The agent called Douglas and reached a voicemail greeting for the CUNY inclusive economy initiative. The voicemail detection tool confirmed an automated greeting.\n",
            "call_summary_title": "Voicemail Detection"
        },
        "conversation_initiation_client_data": {
            "conversation_config_override": {
                "turn": null,
                "tts": null,
                "conversation": null,
                "agent": null
            },
            "custom_llm_extra_body": [],
            "user_id": null,
            "source_info": {
                "source": null,
                "version": null
            },
            "dynamic_variables": {
                "contact_id": "8701",
                "email": "douglas.smith@citytech.cuny.edu",
                "first_name": "Douglas",
                "system__agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                "system__agent_turns": 1,
                "system__current_agent_turns": 1,
                "system__current_subagent_turns": 1,
                "system__current_agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                "system__conversation_id": "conv_4101kcm6r4bvfqfrhfrydky2s4qz",
                "system__call_duration_secs": 23,
                "system__time_utc": "2025-12-16T18:29:41.351821+00:00",
                "system__time": "Tuesday, 13:29 16 December 2025",
                "system__timezone": "America/New_York",
                "system__caller_id": "+13438038625",
                "system__called_number": "2124841178",
                "system__call_sid": "CAc6f5e67fb890fb35bd418633b21cf63f"
            }
        }
    }
}
========================================

========================================
📞 ElevenLabs Post-Call Webhook
🕒 Time: 2025-12-16 13:29:44
🌐 IP: 34.59.11.47
----------------------------------------
HEADERS:
  Content-Type: application/json
  Content-Length: 1047
  Accept-Encoding: gzip, deflate, br
  Accept: */*
  User-Agent: ElevenLabs/1.0
  Elevenlabs-Signature: t=1765909784,v0=669edba6e1f114de5be58b418993785f57eb36c20521424aaf0404dd2808a0b5
  Host: bk.directobjective.com
----------------------------------------
PAYLOAD:
{
    "type": "call_initiation_failure",
    "event_timestamp": 1765909784,
    "data": {
        "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
        "conversation_id": "conv_0501kcm6r47afe2ry5fceyaez5ac",
        "failure_reason": "no-answer",
        "metadata": {
            "type": "twilio",
            "body": {
                "Called": "+18028617848",
                "ToState": "VT",
                "CallerCountry": "CA",
                "Direction": "outbound-api",
                "Timestamp": "Tue, 16 Dec 2025 18:29:44 +0000",
                "CallbackSource": "call-progress-events",
                "SipResponseCode": "487",
                "CallerState": "Ontario",
                "ToZip": "05403",
                "SequenceNumber": "2",
                "CallSid": "CAa383276b695d2c27a0c9e48886a39678",
                "To": "+18028617848",
                "CallerZip": "",
                "ToCountry": "US",
                "CalledZip": "05403",
                "ApiVersion": "2010-04-01",
                "CalledCity": "BURLINGTON",
                "CallStatus": "no-answer",
                "Duration": "0",
                "From": "+13438038625",
                "CallDuration": "0",
                "AccountSid": "AC6c4aedfd611f27a0564f2304e4efaf51",
                "CalledCountry": "US",
                "CallerCity": "",
                "ToCity": "BURLINGTON",
                "FromCountry": "CA",
                "Caller": "+13438038625",
                "FromCity": "",
                "CalledState": "VT",
                "FromZip": "",
                "FromState": "Ontario"
            }
        }
    }
}
========================================

========================================
📞 ElevenLabs Post-Call Webhook
🕒 Time: 2025-12-16 13:29:48
🌐 IP: 34.59.11.47
----------------------------------------
HEADERS:
  Content-Type: application/json
  Content-Length: 9747
  Accept-Encoding: gzip, deflate, br
  Accept: */*
  User-Agent: ElevenLabs/1.0
  Elevenlabs-Signature: t=1765909789,v0=b91454e3c9c6258cc803a284fdd9df8a6c4ed0622ac97d2576e73b2ec6171b19
  Host: bk.directobjective.com
----------------------------------------
PAYLOAD:
{
    "type": "post_call_transcription",
    "event_timestamp": 1765909789,
    "data": {
        "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
        "conversation_id": "conv_5901kcm6r4mhf14s75nr5dp0hc2b",
        "status": "done",
        "user_id": null,
        "branch_id": null,
        "transcript": [
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": "Hello, may I speak with Erica?",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 0,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_tts_service_ttfb": {
                            "elapsed_time": 0.19975900800272938795387744903564453125
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            },
            {
                "role": "user",
                "agent_metadata": null,
                "message": "Reach is currently unavailable. Please leave a message after the tone. When you have finished, please hang up or press the pound key for more options.",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 1,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_asr_trailing_service_latency": {
                            "elapsed_time": 0.2257687279998208396136760711669921875
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": "audio"
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": null,
                "multivoice_message": null,
                "tool_calls": [
                    {
                        "type": "system",
                        "request_id": "voicemail_detection_acb20038e4884c4d9b9ceacb50bd1fb2",
                        "tool_name": "voicemail_detection",
                        "params_as_json": "{\"reason\": \"Automated greeting detected: 'Reach is currently unavailable. Please leave a message after the tone. When you have finished, please hang up or press the pound key for more options.'\"}",
                        "tool_has_been_called": true,
                        "tool_details": null
                    }
                ],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 14,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_llm_service_ttfb": {
                            "elapsed_time": 2.35805972000162000767886638641357421875
                        },
                        "convai_llm_tool_request_generation_latency": {
                            "elapsed_time": 2.35877139500007615424692630767822265625
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": null,
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [
                    {
                        "request_id": "voicemail_detection_acb20038e4884c4d9b9ceacb50bd1fb2",
                        "tool_name": "voicemail_detection",
                        "result_value": "{\"result_type\":\"voicemail_detection_success\",\"status\":\"success\",\"voicemail_message\":\"\",\"reason\":\"Automated greeting detected: 'Reach is currently unavailable. Please leave a message after the tone. When you have finished, please hang up or press the pound key for more options.'\"}",
                        "is_error": false,
                        "tool_has_been_called": true,
                        "tool_latency_secs": 0.00035793899951386265456676483154296875,
                        "dynamic_variable_updates": [],
                        "type": "system",
                        "result": {
                            "result_type": "voicemail_detection_success",
                            "status": "success",
                            "voicemail_message": "",
                            "reason": "Automated greeting detected: 'Reach is currently unavailable. Please leave a message after the tone. When you have finished, please hang up or press the pound key for more options.'"
                        }
                    }
                ],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 14,
                "conversation_turn_metrics": null,
                "rag_retrieval_info": null,
                "llm_usage": {
                    "model_usage": {
                        "gemini-2.5-flash": {
                            "input": {
                                "tokens": 703,
                                "price": 0.000105450000000000001739754174057139834985719062387943267822265625
                            },
                            "input_cache_read": {
                                "tokens": 4216,
                                "price": 0
                            },
                            "input_cache_write": {
                                "tokens": 0,
                                "price": 0
                            },
                            "output_total": {
                                "tokens": 42,
                                "price": 2.519999999999999928316889163948388841163250617682933807373046875e-5
                            }
                        }
                    }
                },
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            }
        ],
        "metadata": {
            "start_time_unix_secs": 1765909769,
            "accepted_time_unix_secs": 1765909770,
            "call_duration_secs": 17,
            "cost": 109,
            "deletion_settings": {
                "deletion_time_unix_secs": null,
                "deleted_logs_at_time_unix_secs": null,
                "deleted_audio_at_time_unix_secs": null,
                "deleted_transcript_at_time_unix_secs": null,
                "delete_transcript_and_pii": false,
                "delete_audio": false
            },
            "feedback": {
                "type": null,
                "overall_score": null,
                "likes": 0,
                "dislikes": 0,
                "rating": null,
                "comment": null
            },
            "authorization_method": "signed_url",
            "charging": {
                "dev_discount": false,
                "is_burst": false,
                "tier": "creator",
                "llm_usage": {
                    "irreversible_generation": {
                        "model_usage": {
                            "gemini-2.5-flash": {
                                "input": {
                                    "tokens": 703,
                                    "price": 0.000105450000000000001739754174057139834985719062387943267822265625
                                },
                                "input_cache_read": {
                                    "tokens": 4216,
                                    "price": 0
                                },
                                "input_cache_write": {
                                    "tokens": 0,
                                    "price": 0
                                },
                                "output_total": {
                                    "tokens": 42,
                                    "price": 2.519999999999999928316889163948388841163250617682933807373046875e-5
                                }
                            }
                        }
                    },
                    "initiated_generation": {
                        "model_usage": {
                            "gemini-2.5-flash": {
                                "input": {
                                    "tokens": 2079,
                                    "price": 0.0003118499999999999636006442482738520993734709918498992919921875
                                },
                                "input_cache_read": {
                                    "tokens": 12636,
                                    "price": 0
                                },
                                "input_cache_write": {
                                    "tokens": 0,
                                    "price": 0
                                },
                                "output_total": {
                                    "tokens": 80,
                                    "price": 4.800000000000000121604115665974177318275906145572662353515625e-5
                                }
                            }
                        }
                    }
                },
                "llm_price": 0.000359849999999999991921739717071204722742550075054168701171875,
                "llm_charge": 1,
                "call_charge": 108,
                "free_minutes_consumed": 0,
                "free_llm_dollars_consumed": 0
            },
            "phone_call": {
                "direction": "outbound",
                "phone_number_id": "phnum_8001kc7mp2dtek4bn7dr084jydds",
                "agent_number": "+13438038625",
                "external_number": "6313442690",
                "type": "twilio",
                "stream_sid": "MZcf6db5cce4ddc684ba1f6bb55aac79ee",
                "call_sid": "CA8641a541f7f04087072f2f48ac242a34"
            },
            "batch_call": {
                "batch_call_id": "btcal_5101kcm6r4a0e3ntwc3k2wpf0qp6",
                "batch_call_recipient_id": "rcpt_6101kcm6r4a1emeaxsh8bt0vb586"
            },
            "termination_reason": "voicemail_detection tool was called.",
            "error": null,
            "warnings": [],
            "main_language": "en",
            "rag_usage": null,
            "text_only": false,
            "features_usage": {
                "language_detection": {
                    "enabled": true,
                    "used": false
                },
                "transfer_to_agent": {
                    "enabled": false,
                    "used": false
                },
                "transfer_to_number": {
                    "enabled": false,
                    "used": false
                },
                "multivoice": {
                    "enabled": false,
                    "used": false
                },
                "dtmf_tones": {
                    "enabled": false,
                    "used": false
                },
                "external_mcp_servers": {
                    "enabled": true,
                    "used": false
                },
                "pii_zrm_workspace": false,
                "pii_zrm_agent": false,
                "tool_dynamic_variable_updates": {
                    "enabled": false,
                    "used": false
                },
                "is_livekit": false,
                "voicemail_detection": {
                    "enabled": true,
                    "used": true
                },
                "workflow": {
                    "enabled": false,
                    "tool_node": {
                        "enabled": false,
                        "used": false
                    },
                    "standalone_agent_node": {
                        "enabled": false,
                        "used": false
                    },
                    "phone_number_node": {
                        "enabled": false,
                        "used": false
                    },
                    "end_node": {
                        "enabled": false,
                        "used": false
                    }
                },
                "agent_testing": {
                    "enabled": false,
                    "tests_ran_after_last_modification": false,
                    "tests_ran_in_last_7_days": false
                },
                "versioning": {
                    "enabled": false,
                    "used": false
                }
            },
            "eleven_assistant": {
                "is_eleven_assistant": false
            },
            "initiator_id": null,
            "conversation_initiation_source": "twilio",
            "conversation_initiation_source_version": null,
            "timezone": "America/New_York",
            "initiation_trigger": {
                "trigger_type": "default"
            },
            "async_metadata": null,
            "whatsapp": null,
            "agent_created_from": "ui",
            "agent_last_updated_from": "ui"
        },
        "analysis": {
            "evaluation_criteria_results": [],
            "data_collection_results": {
                "satisfaction_score": {
                    "data_collection_id": "satisfaction_score",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "Agent will collect the score from contact from 1 to 5",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation does not contain any information about the score from contact from 1 to 5. Therefore, it is not possible to extract the data."
                },
                "want_to_do_assessment": {
                    "data_collection_id": "want_to_do_assessment",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "this has the value \"Yes\" or \"No\" based on the answer of the contact want to do assessment or not",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation is with a voicemail and there is no indication of whether the contact wants to do an assessment or not. Therefore, the value is null."
                },
                "reason-for-no-assessment": {
                    "data_collection_id": "reason-for-no-assessment",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "When they said they don't want to do the assessment, asked them why, and store for the reason",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation does not contain any instance where the user declines an assessment or provides a reason for not wanting to do it. Therefore, it is not possible to extract the requested data."
                }
            },
            "call_successful": "success",
            "transcript_summary": "The agent called Erica but reached her voicemail. The voicemail detection tool confirmed an automated greeting.\n",
            "call_summary_title": "Voicemail Detection"
        },
        "conversation_initiation_client_data": {
            "conversation_config_override": {
                "turn": null,
                "tts": null,
                "conversation": null,
                "agent": null
            },
            "custom_llm_extra_body": [],
            "user_id": null,
            "source_info": {
                "source": null,
                "version": null
            },
            "dynamic_variables": {
                "contact_id": "8608",
                "email": "ecollins@bnl.gov",
                "first_name": "Erica",
                "system__agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                "system__agent_turns": 1,
                "system__current_agent_turns": 1,
                "system__current_subagent_turns": 1,
                "system__current_agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                "system__conversation_id": "conv_5901kcm6r4mhf14s75nr5dp0hc2b",
                "system__call_duration_secs": 16,
                "system__time_utc": "2025-12-16T18:29:46.050433+00:00",
                "system__time": "Tuesday, 13:29 16 December 2025",
                "system__timezone": "America/New_York",
                "system__caller_id": "+13438038625",
                "system__called_number": "6313442690",
                "system__call_sid": "CA8641a541f7f04087072f2f48ac242a34"
            }
        }
    }
}
========================================

========================================
📞 ElevenLabs Post-Call Webhook
🕒 Time: 2025-12-16 13:29:49
🌐 IP: 34.59.11.47
----------------------------------------
HEADERS:
  Content-Type: application/json
  Content-Length: 9232
  Accept-Encoding: gzip, deflate, br
  Accept: */*
  User-Agent: ElevenLabs/1.0
  Elevenlabs-Signature: t=1765909789,v0=20de3b1c38a0c2562faec6d44d20a1209edd8886ace02554d8cc1338a76c99dd
  Host: bk.directobjective.com
----------------------------------------
PAYLOAD:
{
    "type": "post_call_transcription",
    "event_timestamp": 1765909789,
    "data": {
        "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
        "conversation_id": "conv_6301kcm6r5bwffg9k6evj4q2202d",
        "status": "done",
        "user_id": null,
        "branch_id": null,
        "transcript": [
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": "Hello, may I speak with Erica?",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 0,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_tts_service_ttfb": {
                            "elapsed_time": 0.18042701699960161931812763214111328125
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            },
            {
                "role": "user",
                "agent_metadata": null,
                "message": "Your automated voice messaging system.",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 1,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_asr_trailing_service_latency": {
                            "elapsed_time": 0.218456261000028462149202823638916015625
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": "audio"
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": null,
                "multivoice_message": null,
                "tool_calls": [
                    {
                        "type": "system",
                        "request_id": "voicemail_detection_005d391bf5714a8f94a1179c6bad9f5b",
                        "tool_name": "voicemail_detection",
                        "params_as_json": "{\"reason\": \"Automated voice messaging system detected.\"}",
                        "tool_has_been_called": true,
                        "tool_details": null
                    }
                ],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 4,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_llm_service_ttfb": {
                            "elapsed_time": 0.715223596000214456580579280853271484375
                        },
                        "convai_llm_tool_request_generation_latency": {
                            "elapsed_time": 0.716071208998982910998165607452392578125
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": null,
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [
                    {
                        "request_id": "voicemail_detection_005d391bf5714a8f94a1179c6bad9f5b",
                        "tool_name": "voicemail_detection",
                        "result_value": "{\"result_type\":\"voicemail_detection_success\",\"status\":\"success\",\"voicemail_message\":\"\",\"reason\":\"Automated voice messaging system detected.\"}",
                        "is_error": false,
                        "tool_has_been_called": true,
                        "tool_latency_secs": 0.000385817000278620980679988861083984375,
                        "dynamic_variable_updates": [],
                        "type": "system",
                        "result": {
                            "result_type": "voicemail_detection_success",
                            "status": "success",
                            "voicemail_message": "",
                            "reason": "Automated voice messaging system detected."
                        }
                    }
                ],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 4,
                "conversation_turn_metrics": null,
                "rag_retrieval_info": null,
                "llm_usage": {
                    "model_usage": {
                        "gemini-2.5-flash": {
                            "input": {
                                "tokens": 692,
                                "price": 0.00010380000000000000229087582237497144888038747012615203857421875
                            },
                            "input_cache_read": {
                                "tokens": 4211,
                                "price": 0
                            },
                            "input_cache_write": {
                                "tokens": 0,
                                "price": 0
                            },
                            "output_total": {
                                "tokens": 13,
                                "price": 7.79999999999999985879350905548790251486934721469879150390625e-6
                            }
                        }
                    }
                },
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            }
        ],
        "metadata": {
            "start_time_unix_secs": 1765909780,
            "accepted_time_unix_secs": 1765909781,
            "call_duration_secs": 6,
            "cost": 39,
            "deletion_settings": {
                "deletion_time_unix_secs": null,
                "deleted_logs_at_time_unix_secs": null,
                "deleted_audio_at_time_unix_secs": null,
                "deleted_transcript_at_time_unix_secs": null,
                "delete_transcript_and_pii": false,
                "delete_audio": false
            },
            "feedback": {
                "type": null,
                "overall_score": null,
                "likes": 0,
                "dislikes": 0,
                "rating": null,
                "comment": null
            },
            "authorization_method": "signed_url",
            "charging": {
                "dev_discount": false,
                "is_burst": false,
                "tier": "creator",
                "llm_usage": {
                    "irreversible_generation": {
                        "model_usage": {
                            "gemini-2.5-flash": {
                                "input": {
                                    "tokens": 692,
                                    "price": 0.00010380000000000000229087582237497144888038747012615203857421875
                                },
                                "input_cache_read": {
                                    "tokens": 4211,
                                    "price": 0
                                },
                                "input_cache_write": {
                                    "tokens": 0,
                                    "price": 0
                                },
                                "output_total": {
                                    "tokens": 13,
                                    "price": 7.79999999999999985879350905548790251486934721469879150390625e-6
                                }
                            }
                        }
                    },
                    "initiated_generation": {
                        "model_usage": {
                            "gemini-2.5-flash": {
                                "input": {
                                    "tokens": 692,
                                    "price": 0.00010380000000000000229087582237497144888038747012615203857421875
                                },
                                "input_cache_read": {
                                    "tokens": 4211,
                                    "price": 0
                                },
                                "input_cache_write": {
                                    "tokens": 0,
                                    "price": 0
                                },
                                "output_total": {
                                    "tokens": 13,
                                    "price": 7.79999999999999985879350905548790251486934721469879150390625e-6
                                }
                            }
                        }
                    }
                },
                "llm_price": 0.000111600000000000002149669331430459351395256817340850830078125,
                "llm_charge": 0,
                "call_charge": 39,
                "free_minutes_consumed": 0,
                "free_llm_dollars_consumed": 0
            },
            "phone_call": {
                "direction": "outbound",
                "phone_number_id": "phnum_8001kc7mp2dtek4bn7dr084jydds",
                "agent_number": "+13438038625",
                "external_number": "7409634433",
                "type": "twilio",
                "stream_sid": "MZ4f4e2d88b863865645240922d4cd9c2e",
                "call_sid": "CAd018f9831c47df7b3a7c531907f5ea2b"
            },
            "batch_call": {
                "batch_call_id": "btcal_7901kcm6r4mtf3gtcds0t45nmhkp",
                "batch_call_recipient_id": "rcpt_5801kcm6r4mwf2nspn919v01va29"
            },
            "termination_reason": "voicemail_detection tool was called.",
            "error": null,
            "warnings": [],
            "main_language": "en",
            "rag_usage": null,
            "text_only": false,
            "features_usage": {
                "language_detection": {
                    "enabled": true,
                    "used": false
                },
                "transfer_to_agent": {
                    "enabled": false,
                    "used": false
                },
                "transfer_to_number": {
                    "enabled": false,
                    "used": false
                },
                "multivoice": {
                    "enabled": false,
                    "used": false
                },
                "dtmf_tones": {
                    "enabled": false,
                    "used": false
                },
                "external_mcp_servers": {
                    "enabled": true,
                    "used": false
                },
                "pii_zrm_workspace": false,
                "pii_zrm_agent": false,
                "tool_dynamic_variable_updates": {
                    "enabled": false,
                    "used": false
                },
                "is_livekit": false,
                "voicemail_detection": {
                    "enabled": true,
                    "used": true
                },
                "workflow": {
                    "enabled": false,
                    "tool_node": {
                        "enabled": false,
                        "used": false
                    },
                    "standalone_agent_node": {
                        "enabled": false,
                        "used": false
                    },
                    "phone_number_node": {
                        "enabled": false,
                        "used": false
                    },
                    "end_node": {
                        "enabled": false,
                        "used": false
                    }
                },
                "agent_testing": {
                    "enabled": false,
                    "tests_ran_after_last_modification": false,
                    "tests_ran_in_last_7_days": false
                },
                "versioning": {
                    "enabled": false,
                    "used": false
                }
            },
            "eleven_assistant": {
                "is_eleven_assistant": false
            },
            "initiator_id": null,
            "conversation_initiation_source": "twilio",
            "conversation_initiation_source_version": null,
            "timezone": "America/New_York",
            "initiation_trigger": {
                "trigger_type": "default"
            },
            "async_metadata": null,
            "whatsapp": null,
            "agent_created_from": "ui",
            "agent_last_updated_from": "ui"
        },
        "analysis": {
            "evaluation_criteria_results": [],
            "data_collection_results": {
                "satisfaction_score": {
                    "data_collection_id": "satisfaction_score",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "Agent will collect the score from contact from 1 to 5",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation does not contain any explicit score from 1 to 5. Therefore, it is not possible to extract the data."
                },
                "want_to_do_assessment": {
                    "data_collection_id": "want_to_do_assessment",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "this has the value \"Yes\" or \"No\" based on the answer of the contact want to do assessment or not",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation ends with the detection of an automated voice messaging system. There is no indication of whether the contact wants to do an assessment or not. Therefore, the value is null."
                },
                "reason-for-no-assessment": {
                    "data_collection_id": "reason-for-no-assessment",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "When they said they don't want to do the assessment, asked them why, and store for the reason",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation does not contain any information about the user not wanting to do an assessment or the reason why. Therefore, it is not possible to extract the requested data."
                }
            },
            "call_successful": "success",
            "transcript_summary": "The agent initiated a call to speak with Erica but detected an automated voice messaging system. The call ended after voicemail detection.\n",
            "call_summary_title": "Voicemail Detection Success"
        },
        "conversation_initiation_client_data": {
            "conversation_config_override": {
                "turn": null,
                "tts": null,
                "conversation": null,
                "agent": null
            },
            "custom_llm_extra_body": [],
            "user_id": null,
            "source_info": {
                "source": null,
                "version": null
            },
            "dynamic_variables": {
                "contact_id": "8032",
                "email": "erica.knisely@rxo.com",
                "first_name": "Erica",
                "system__agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                "system__agent_turns": 1,
                "system__current_agent_turns": 1,
                "system__current_subagent_turns": 1,
                "system__current_agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                "system__conversation_id": "conv_6301kcm6r5bwffg9k6evj4q2202d",
                "system__call_duration_secs": 5,
                "system__time_utc": "2025-12-16T18:29:46.678159+00:00",
                "system__time": "Tuesday, 13:29 16 December 2025",
                "system__timezone": "America/New_York",
                "system__caller_id": "+13438038625",
                "system__called_number": "7409634433",
                "system__call_sid": "CAd018f9831c47df7b3a7c531907f5ea2b"
            }
        }
    }
}
========================================

========================================
📞 ElevenLabs Post-Call Webhook
🕒 Time: 2025-12-16 13:29:50
🌐 IP: 34.59.11.47
----------------------------------------
HEADERS:
  Content-Type: application/json
  Content-Length: 10053
  Accept-Encoding: gzip, deflate, br
  Accept: */*
  User-Agent: ElevenLabs/1.0
  Elevenlabs-Signature: t=1765909791,v0=4d1e972cba645add7b6f7b884cb01e24742c984f797dc1e65f970b5d6ffdeb5c
  Host: bk.directobjective.com
----------------------------------------
PAYLOAD:
{
    "type": "post_call_transcription",
    "event_timestamp": 1765909791,
    "data": {
        "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
        "conversation_id": "conv_0401kcm6r5y1f4j8przfpjkv4a8h",
        "status": "done",
        "user_id": null,
        "branch_id": null,
        "transcript": [
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": "Hello, may I speak with Emily?",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 0,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_tts_service_ttfb": {
                            "elapsed_time": 0.1853555519992369227111339569091796875
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            },
            {
                "role": "user",
                "agent_metadata": null,
                "message": "Precie Benefits Administrator for Cabell Huntington Hospital. I apologize for missing your call. If you will leave your name, number, and a brief message, I will get back to you as soon as possible. Thank you.",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 2,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_asr_trailing_service_latency": {
                            "elapsed_time": 0.2994163309995201416313648223876953125
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": "audio"
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": null,
                "multivoice_message": null,
                "tool_calls": [
                    {
                        "type": "system",
                        "request_id": "voicemail_detection_4febf59a23074f9f8f2ac2a6b057236c",
                        "tool_name": "voicemail_detection",
                        "params_as_json": "{\"reason\": \"Automated greeting detected: 'Precie Benefits Administrator for Cabell Huntington Hospital. I apologize for missing your call. If you will leave your name, number, and a brief message, I will get back to you as soon as possible. Thank you.'\"}",
                        "tool_has_been_called": true,
                        "tool_details": null
                    }
                ],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 14,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_llm_service_ttfb": {
                            "elapsed_time": 0.8721344459991087205708026885986328125
                        },
                        "convai_llm_tool_request_generation_latency": {
                            "elapsed_time": 0.8732961929999873973429203033447265625
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": null,
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [
                    {
                        "request_id": "voicemail_detection_4febf59a23074f9f8f2ac2a6b057236c",
                        "tool_name": "voicemail_detection",
                        "result_value": "{\"result_type\":\"voicemail_detection_success\",\"status\":\"success\",\"voicemail_message\":\"\",\"reason\":\"Automated greeting detected: 'Precie Benefits Administrator for Cabell Huntington Hospital. I apologize for missing your call. If you will leave your name, number, and a brief message, I will get back to you as soon as possible. Thank you.'\"}",
                        "is_error": false,
                        "tool_has_been_called": true,
                        "tool_latency_secs": 0.00035904800097341649234294891357421875,
                        "dynamic_variable_updates": [],
                        "type": "system",
                        "result": {
                            "result_type": "voicemail_detection_success",
                            "status": "success",
                            "voicemail_message": "",
                            "reason": "Automated greeting detected: 'Precie Benefits Administrator for Cabell Huntington Hospital. I apologize for missing your call. If you will leave your name, number, and a brief message, I will get back to you as soon as possible. Thank you.'"
                        }
                    }
                ],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 14,
                "conversation_turn_metrics": null,
                "rag_retrieval_info": null,
                "llm_usage": {
                    "model_usage": {
                        "gemini-2.5-flash": {
                            "input": {
                                "tokens": 714,
                                "price": 0.000107099999999999987636105369670502795997890643775463104248046875
                            },
                            "input_cache_read": {
                                "tokens": 4220,
                                "price": 0
                            },
                            "input_cache_write": {
                                "tokens": 0,
                                "price": 0
                            },
                            "output_total": {
                                "tokens": 57,
                                "price": 3.41999999999999978171107140045847927467548288404941558837890625e-5
                            }
                        }
                    }
                },
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            }
        ],
        "metadata": {
            "start_time_unix_secs": 1765909772,
            "accepted_time_unix_secs": 1765909773,
            "call_duration_secs": 16,
            "cost": 108,
            "deletion_settings": {
                "deletion_time_unix_secs": null,
                "deleted_logs_at_time_unix_secs": null,
                "deleted_audio_at_time_unix_secs": null,
                "deleted_transcript_at_time_unix_secs": null,
                "delete_transcript_and_pii": false,
                "delete_audio": false
            },
            "feedback": {
                "type": null,
                "overall_score": null,
                "likes": 0,
                "dislikes": 0,
                "rating": null,
                "comment": null
            },
            "authorization_method": "signed_url",
            "charging": {
                "dev_discount": false,
                "is_burst": false,
                "tier": "creator",
                "llm_usage": {
                    "irreversible_generation": {
                        "model_usage": {
                            "gemini-2.5-flash": {
                                "input": {
                                    "tokens": 714,
                                    "price": 0.000107099999999999987636105369670502795997890643775463104248046875
                                },
                                "input_cache_read": {
                                    "tokens": 4220,
                                    "price": 0
                                },
                                "input_cache_write": {
                                    "tokens": 0,
                                    "price": 0
                                },
                                "output_total": {
                                    "tokens": 57,
                                    "price": 3.41999999999999978171107140045847927467548288404941558837890625e-5
                                }
                            }
                        }
                    },
                    "initiated_generation": {
                        "model_usage": {
                            "gemini-2.5-flash": {
                                "input": {
                                    "tokens": 5860,
                                    "price": 0.000878999999999999898601943382203671717434190213680267333984375
                                },
                                "input_cache_read": {
                                    "tokens": 4220,
                                    "price": 0
                                },
                                "input_cache_write": {
                                    "tokens": 0,
                                    "price": 0
                                },
                                "output_total": {
                                    "tokens": 71,
                                    "price": 4.25999999999999987075442742234798743083956651389598846435546875e-5
                                }
                            }
                        }
                    }
                },
                "llm_price": 0.00092159999999999984987564261018633260391652584075927734375,
                "llm_charge": 4,
                "call_charge": 104,
                "free_minutes_consumed": 0,
                "free_llm_dollars_consumed": 0
            },
            "phone_call": {
                "direction": "outbound",
                "phone_number_id": "phnum_8001kc7mp2dtek4bn7dr084jydds",
                "agent_number": "+13438038625",
                "external_number": "3045262409",
                "type": "twilio",
                "stream_sid": "MZ3ed9fae452adfba230a894840bd575e2",
                "call_sid": "CA505c68867d2216e789498af26d50feae"
            },
            "batch_call": {
                "batch_call_id": "btcal_1901kcm6r5k7ezstgqbr291v1jap",
                "batch_call_recipient_id": "rcpt_2601kcm6r5k8fk6s3tsm9skprg4j"
            },
            "termination_reason": "voicemail_detection tool was called.",
            "error": null,
            "warnings": [],
            "main_language": "en",
            "rag_usage": null,
            "text_only": false,
            "features_usage": {
                "language_detection": {
                    "enabled": true,
                    "used": false
                },
                "transfer_to_agent": {
                    "enabled": false,
                    "used": false
                },
                "transfer_to_number": {
                    "enabled": false,
                    "used": false
                },
                "multivoice": {
                    "enabled": false,
                    "used": false
                },
                "dtmf_tones": {
                    "enabled": false,
                    "used": false
                },
                "external_mcp_servers": {
                    "enabled": true,
                    "used": false
                },
                "pii_zrm_workspace": false,
                "pii_zrm_agent": false,
                "tool_dynamic_variable_updates": {
                    "enabled": false,
                    "used": false
                },
                "is_livekit": false,
                "voicemail_detection": {
                    "enabled": true,
                    "used": true
                },
                "workflow": {
                    "enabled": false,
                    "tool_node": {
                        "enabled": false,
                        "used": false
                    },
                    "standalone_agent_node": {
                        "enabled": false,
                        "used": false
                    },
                    "phone_number_node": {
                        "enabled": false,
                        "used": false
                    },
                    "end_node": {
                        "enabled": false,
                        "used": false
                    }
                },
                "agent_testing": {
                    "enabled": false,
                    "tests_ran_after_last_modification": false,
                    "tests_ran_in_last_7_days": false
                },
                "versioning": {
                    "enabled": false,
                    "used": false
                }
            },
            "eleven_assistant": {
                "is_eleven_assistant": false
            },
            "initiator_id": null,
            "conversation_initiation_source": "twilio",
            "conversation_initiation_source_version": null,
            "timezone": "America/New_York",
            "initiation_trigger": {
                "trigger_type": "default"
            },
            "async_metadata": null,
            "whatsapp": null,
            "agent_created_from": "ui",
            "agent_last_updated_from": "ui"
        },
        "analysis": {
            "evaluation_criteria_results": [],
            "data_collection_results": {
                "satisfaction_score": {
                    "data_collection_id": "satisfaction_score",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "Agent will collect the score from contact from 1 to 5",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation does not contain any explicit score from the contact from 1 to 5. Therefore, it is not possible to extract the data."
                },
                "want_to_do_assessment": {
                    "data_collection_id": "want_to_do_assessment",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "this has the value \"Yes\" or \"No\" based on the answer of the contact want to do assessment or not",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation is with a voicemail, so there is no indication of whether the contact wants to do an assessment or not. Therefore, the value is null."
                },
                "reason-for-no-assessment": {
                    "data_collection_id": "reason-for-no-assessment",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "When they said they don't want to do the assessment, asked them why, and store for the reason",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation ended with a voicemail message. There was no assessment offered or declined, so I cannot extract the reason why they don't want to do the assessment."
                }
            },
            "call_successful": "success",
            "transcript_summary": "The agent called Emily but reached Precie, a Benefits Administrator for Cabell Huntington Hospital, who left an automated voicemail message. The agent detected the voicemail.\n",
            "call_summary_title": "Voicemail Detection"
        },
        "conversation_initiation_client_data": {
            "conversation_config_override": {
                "turn": null,
                "tts": null,
                "conversation": null,
                "agent": null
            },
            "custom_llm_extra_body": [],
            "user_id": null,
            "source_info": {
                "source": null,
                "version": null
            },
            "dynamic_variables": {
                "contact_id": "8589",
                "email": "emily@solarholler.com",
                "first_name": "Emily",
                "system__agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                "system__agent_turns": 1,
                "system__current_agent_turns": 1,
                "system__current_subagent_turns": 1,
                "system__current_agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                "system__conversation_id": "conv_0401kcm6r5y1f4j8przfpjkv4a8h",
                "system__call_duration_secs": 15,
                "system__time_utc": "2025-12-16T18:29:48.250863+00:00",
                "system__time": "Tuesday, 13:29 16 December 2025",
                "system__timezone": "America/New_York",
                "system__caller_id": "+13438038625",
                "system__called_number": "3045262409",
                "system__call_sid": "CA505c68867d2216e789498af26d50feae"
            }
        }
    }
}
========================================

========================================
📞 ElevenLabs Post-Call Webhook
🕒 Time: 2025-12-16 13:29:54
🌐 IP: 34.59.11.47
----------------------------------------
HEADERS:
  Content-Type: application/json
  Content-Length: 9619
  Accept-Encoding: gzip, deflate, br
  Accept: */*
  User-Agent: ElevenLabs/1.0
  Elevenlabs-Signature: t=1765909795,v0=a058c01dcdf2de6efa6a2ab90382e8e459a5c7ec1be57d9837b282f9cb7bfd30
  Host: bk.directobjective.com
----------------------------------------
PAYLOAD:
{
    "type": "post_call_transcription",
    "event_timestamp": 1765909795,
    "data": {
        "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
        "conversation_id": "conv_5401kcm6r4s3eqjv960x68pec9d1",
        "status": "done",
        "user_id": null,
        "branch_id": null,
        "transcript": [
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": "Hello, may I speak with Erin?",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 0,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_tts_service_ttfb": {
                            "elapsed_time": 0.170806880001691752113401889801025390625
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            },
            {
                "role": "user",
                "agent_metadata": null,
                "message": "Hi, you've reached Erin. I can't come to the phone right now. Please leave me a message and I'll get back to you as soon as I can.",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 1,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_asr_trailing_service_latency": {
                            "elapsed_time": 0.23129046900066896341741085052490234375
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": "audio"
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": null,
                "multivoice_message": null,
                "tool_calls": [
                    {
                        "type": "system",
                        "request_id": "voicemail_detection_278042a513684caebc4623a3bff0bc5e",
                        "tool_name": "voicemail_detection",
                        "params_as_json": "{\"reason\": \"automated greeting detected: 'Hi, you've reached Erin. I can't come to the phone right now. Please leave me a message and I'll get back to you as soon as I can.'\"}",
                        "tool_has_been_called": true,
                        "tool_details": null
                    }
                ],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 8,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_llm_service_ttfb": {
                            "elapsed_time": 0.730954475000544334761798381805419921875
                        },
                        "convai_llm_tool_request_generation_latency": {
                            "elapsed_time": 0.73162721799963037483394145965576171875
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": null,
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [
                    {
                        "request_id": "voicemail_detection_278042a513684caebc4623a3bff0bc5e",
                        "tool_name": "voicemail_detection",
                        "result_value": "{\"result_type\":\"voicemail_detection_success\",\"status\":\"success\",\"voicemail_message\":\"\",\"reason\":\"automated greeting detected: 'Hi, you've reached Erin. I can't come to the phone right now. Please leave me a message and I'll get back to you as soon as I can.'\"}",
                        "is_error": false,
                        "tool_has_been_called": true,
                        "tool_latency_secs": 0.00034293000135221518576145172119140625,
                        "dynamic_variable_updates": [],
                        "type": "system",
                        "result": {
                            "result_type": "voicemail_detection_success",
                            "status": "success",
                            "voicemail_message": "",
                            "reason": "automated greeting detected: 'Hi, you've reached Erin. I can't come to the phone right now. Please leave me a message and I'll get back to you as soon as I can.'"
                        }
                    }
                ],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 8,
                "conversation_turn_metrics": null,
                "rag_retrieval_info": null,
                "llm_usage": {
                    "model_usage": {
                        "gemini-2.5-flash": {
                            "input": {
                                "tokens": 709,
                                "price": 0.000106349999999999996510950672767847891009296290576457977294921875
                            },
                            "input_cache_read": {
                                "tokens": 4218,
                                "price": 0
                            },
                            "input_cache_write": {
                                "tokens": 0,
                                "price": 0
                            },
                            "output_total": {
                                "tokens": 49,
                                "price": 2.939999999999999972838567174893142919245292432606220245361328125e-5
                            }
                        }
                    }
                },
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            }
        ],
        "metadata": {
            "start_time_unix_secs": 1765909782,
            "accepted_time_unix_secs": 1765909782,
            "call_duration_secs": 9,
            "cost": 65,
            "deletion_settings": {
                "deletion_time_unix_secs": null,
                "deleted_logs_at_time_unix_secs": null,
                "deleted_audio_at_time_unix_secs": null,
                "deleted_transcript_at_time_unix_secs": null,
                "delete_transcript_and_pii": false,
                "delete_audio": false
            },
            "feedback": {
                "type": null,
                "overall_score": null,
                "likes": 0,
                "dislikes": 0,
                "rating": null,
                "comment": null
            },
            "authorization_method": "signed_url",
            "charging": {
                "dev_discount": false,
                "is_burst": false,
                "tier": "creator",
                "llm_usage": {
                    "irreversible_generation": {
                        "model_usage": {
                            "gemini-2.5-flash": {
                                "input": {
                                    "tokens": 709,
                                    "price": 0.000106349999999999996510950672767847891009296290576457977294921875
                                },
                                "input_cache_read": {
                                    "tokens": 4218,
                                    "price": 0
                                },
                                "input_cache_write": {
                                    "tokens": 0,
                                    "price": 0
                                },
                                "output_total": {
                                    "tokens": 49,
                                    "price": 2.939999999999999972838567174893142919245292432606220245361328125e-5
                                }
                            }
                        }
                    },
                    "initiated_generation": {
                        "model_usage": {
                            "gemini-2.5-flash": {
                                "input": {
                                    "tokens": 709,
                                    "price": 0.000106349999999999996510950672767847891009296290576457977294921875
                                },
                                "input_cache_read": {
                                    "tokens": 4218,
                                    "price": 0
                                },
                                "input_cache_write": {
                                    "tokens": 0,
                                    "price": 0
                                },
                                "output_total": {
                                    "tokens": 49,
                                    "price": 2.939999999999999972838567174893142919245292432606220245361328125e-5
                                }
                            }
                        }
                    }
                },
                "llm_price": 0.00013574999999999999285120455549957796392845921218395233154296875,
                "llm_charge": 0,
                "call_charge": 65,
                "free_minutes_consumed": 0,
                "free_llm_dollars_consumed": 0
            },
            "phone_call": {
                "direction": "outbound",
                "phone_number_id": "phnum_8001kc7mp2dtek4bn7dr084jydds",
                "agent_number": "+13438038625",
                "external_number": "9199232116",
                "type": "twilio",
                "stream_sid": "MZ56df344193f042079e558be1e2e370fd",
                "call_sid": "CA436a88890053357d330d08d6bef6e42e"
            },
            "batch_call": {
                "batch_call_id": "btcal_8701kcm6r4fcf7yrrtye9qv93z12",
                "batch_call_recipient_id": "rcpt_3901kcm6r4fdeg49wmyngeqn4623"
            },
            "termination_reason": "voicemail_detection tool was called.",
            "error": null,
            "warnings": [],
            "main_language": "en",
            "rag_usage": null,
            "text_only": false,
            "features_usage": {
                "language_detection": {
                    "enabled": true,
                    "used": false
                },
                "transfer_to_agent": {
                    "enabled": false,
                    "used": false
                },
                "transfer_to_number": {
                    "enabled": false,
                    "used": false
                },
                "multivoice": {
                    "enabled": false,
                    "used": false
                },
                "dtmf_tones": {
                    "enabled": false,
                    "used": false
                },
                "external_mcp_servers": {
                    "enabled": true,
                    "used": false
                },
                "pii_zrm_workspace": false,
                "pii_zrm_agent": false,
                "tool_dynamic_variable_updates": {
                    "enabled": false,
                    "used": false
                },
                "is_livekit": false,
                "voicemail_detection": {
                    "enabled": true,
                    "used": true
                },
                "workflow": {
                    "enabled": false,
                    "tool_node": {
                        "enabled": false,
                        "used": false
                    },
                    "standalone_agent_node": {
                        "enabled": false,
                        "used": false
                    },
                    "phone_number_node": {
                        "enabled": false,
                        "used": false
                    },
                    "end_node": {
                        "enabled": false,
                        "used": false
                    }
                },
                "agent_testing": {
                    "enabled": false,
                    "tests_ran_after_last_modification": false,
                    "tests_ran_in_last_7_days": false
                },
                "versioning": {
                    "enabled": false,
                    "used": false
                }
            },
            "eleven_assistant": {
                "is_eleven_assistant": false
            },
            "initiator_id": null,
            "conversation_initiation_source": "twilio",
            "conversation_initiation_source_version": null,
            "timezone": "America/New_York",
            "initiation_trigger": {
                "trigger_type": "default"
            },
            "async_metadata": null,
            "whatsapp": null,
            "agent_created_from": "ui",
            "agent_last_updated_from": "ui"
        },
        "analysis": {
            "evaluation_criteria_results": [],
            "data_collection_results": {
                "satisfaction_score": {
                    "data_collection_id": "satisfaction_score",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "Agent will collect the score from contact from 1 to 5",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation does not contain any explicit score from the contact from 1 to 5. Therefore, it is not possible to extract the data."
                },
                "want_to_do_assessment": {
                    "data_collection_id": "want_to_do_assessment",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "this has the value \"Yes\" or \"No\" based on the answer of the contact want to do assessment or not",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation ends with a voicemail message. There is no indication of whether the contact wants to do an assessment or not. Therefore, the value is null."
                },
                "reason-for-no-assessment": {
                    "data_collection_id": "reason-for-no-assessment",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "When they said they don't want to do the assessment, asked them why, and store for the reason",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation does not contain any information about the user not wanting to do an assessment or the reason why. Therefore, the value is null."
                }
            },
            "call_successful": "success",
            "transcript_summary": "The agent called Erin, but reached her voicemail. The voicemail detection tool confirmed an automated greeting.\n",
            "call_summary_title": "Voicemail Detection Success"
        },
        "conversation_initiation_client_data": {
            "conversation_config_override": {
                "turn": null,
                "tts": null,
                "conversation": null,
                "agent": null
            },
            "custom_llm_extra_body": [],
            "user_id": null,
            "source_info": {
                "source": null,
                "version": null
            },
            "dynamic_variables": {
                "contact_id": "8339",
                "email": "emerritt@culturalvistas.org",
                "first_name": "Erin",
                "system__agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                "system__agent_turns": 1,
                "system__current_agent_turns": 1,
                "system__current_subagent_turns": 1,
                "system__current_agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                "system__conversation_id": "conv_5401kcm6r4s3eqjv960x68pec9d1",
                "system__call_duration_secs": 9,
                "system__time_utc": "2025-12-16T18:29:51.925471+00:00",
                "system__time": "Tuesday, 13:29 16 December 2025",
                "system__timezone": "America/New_York",
                "system__caller_id": "+13438038625",
                "system__called_number": "9199232116",
                "system__call_sid": "CA436a88890053357d330d08d6bef6e42e"
            }
        }
    }
}
========================================

========================================
📞 ElevenLabs Post-Call Webhook
🕒 Time: 2025-12-16 13:29:54
🌐 IP: 34.59.11.47
----------------------------------------
HEADERS:
  Content-Type: application/json
  Content-Length: 9710
  Accept-Encoding: gzip, deflate, br
  Accept: */*
  User-Agent: ElevenLabs/1.0
  Elevenlabs-Signature: t=1765909795,v0=f49ee024b4cf67d91b23df8063c7d576d539d7f57c68b5a05b84dd2585a7552f
  Host: bk.directobjective.com
----------------------------------------
PAYLOAD:
{
    "type": "post_call_transcription",
    "event_timestamp": 1765909795,
    "data": {
        "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
        "conversation_id": "conv_8601kcm6r4yhe8ptxc0mrh0j4pf9",
        "status": "done",
        "user_id": null,
        "branch_id": null,
        "transcript": [
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": "Hello, may I speak with Dino?",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 0,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_tts_service_ttfb": {
                            "elapsed_time": 0.19711260999974911101162433624267578125
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            },
            {
                "role": "user",
                "agent_metadata": null,
                "message": "The person you're trying to reach is not available. At the tone, please record your message. When you have finished recording, you may hang up.",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 1,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_asr_trailing_service_latency": {
                            "elapsed_time": 0.2263253130004159174859523773193359375
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": "audio"
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": null,
                "multivoice_message": null,
                "tool_calls": [
                    {
                        "type": "system",
                        "request_id": "voicemail_detection_d256fa5b1d044ee194f09bb690c8a991",
                        "tool_name": "voicemail_detection",
                        "params_as_json": "{\"reason\": \"automated greeting detected: 'The person you're trying to reach is not available. At the tone, please record your message. When you have finished recording, you may hang up.'\"}",
                        "tool_has_been_called": true,
                        "tool_details": null
                    }
                ],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 11,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_llm_service_ttfb": {
                            "elapsed_time": 0.758352340000783442519605159759521484375
                        },
                        "convai_llm_tool_request_generation_latency": {
                            "elapsed_time": 0.759102709000217146240174770355224609375
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": null,
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [
                    {
                        "request_id": "voicemail_detection_d256fa5b1d044ee194f09bb690c8a991",
                        "tool_name": "voicemail_detection",
                        "result_value": "{\"result_type\":\"voicemail_detection_success\",\"status\":\"success\",\"voicemail_message\":\"\",\"reason\":\"automated greeting detected: 'The person you're trying to reach is not available. At the tone, please record your message. When you have finished recording, you may hang up.'\"}",
                        "is_error": false,
                        "tool_has_been_called": true,
                        "tool_latency_secs": 0.000374627999917720444500446319580078125,
                        "dynamic_variable_updates": [],
                        "type": "system",
                        "result": {
                            "result_type": "voicemail_detection_success",
                            "status": "success",
                            "voicemail_message": "",
                            "reason": "automated greeting detected: 'The person you're trying to reach is not available. At the tone, please record your message. When you have finished recording, you may hang up.'"
                        }
                    }
                ],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 11,
                "conversation_turn_metrics": null,
                "rag_retrieval_info": null,
                "llm_usage": {
                    "model_usage": {
                        "gemini-2.5-flash": {
                            "input": {
                                "tokens": 705,
                                "price": 0.0001057499999999999954793106216044407119625248014926910400390625
                            },
                            "input_cache_read": {
                                "tokens": 4216,
                                "price": 0
                            },
                            "input_cache_write": {
                                "tokens": 0,
                                "price": 0
                            },
                            "output_total": {
                                "tokens": 43,
                                "price": 2.580000000000000031480894280289106745840399526059627532958984375e-5
                            }
                        }
                    }
                },
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            }
        ],
        "metadata": {
            "start_time_unix_secs": 1765909779,
            "accepted_time_unix_secs": 1765909780,
            "call_duration_secs": 13,
            "cost": 86,
            "deletion_settings": {
                "deletion_time_unix_secs": null,
                "deleted_logs_at_time_unix_secs": null,
                "deleted_audio_at_time_unix_secs": null,
                "deleted_transcript_at_time_unix_secs": null,
                "delete_transcript_and_pii": false,
                "delete_audio": false
            },
            "feedback": {
                "type": null,
                "overall_score": null,
                "likes": 0,
                "dislikes": 0,
                "rating": null,
                "comment": null
            },
            "authorization_method": "signed_url",
            "charging": {
                "dev_discount": false,
                "is_burst": false,
                "tier": "creator",
                "llm_usage": {
                    "irreversible_generation": {
                        "model_usage": {
                            "gemini-2.5-flash": {
                                "input": {
                                    "tokens": 705,
                                    "price": 0.0001057499999999999954793106216044407119625248014926910400390625
                                },
                                "input_cache_read": {
                                    "tokens": 4216,
                                    "price": 0
                                },
                                "input_cache_write": {
                                    "tokens": 0,
                                    "price": 0
                                },
                                "output_total": {
                                    "tokens": 43,
                                    "price": 2.580000000000000031480894280289106745840399526059627532958984375e-5
                                }
                            }
                        }
                    },
                    "initiated_generation": {
                        "model_usage": {
                            "gemini-2.5-flash": {
                                "input": {
                                    "tokens": 2082,
                                    "price": 0.0003123000000000000016438239658356224026647396385669708251953125
                                },
                                "input_cache_read": {
                                    "tokens": 12637,
                                    "price": 0
                                },
                                "input_cache_write": {
                                    "tokens": 0,
                                    "price": 0
                                },
                                "output_total": {
                                    "tokens": 90,
                                    "price": 5.3999999999999997979914512225008138557313941419124603271484375e-5
                                }
                            }
                        }
                    }
                },
                "llm_price": 0.0003663000000000000131762656341294359663152135908603668212890625,
                "llm_charge": 1,
                "call_charge": 85,
                "free_minutes_consumed": 0,
                "free_llm_dollars_consumed": 0
            },
            "phone_call": {
                "direction": "outbound",
                "phone_number_id": "phnum_8001kc7mp2dtek4bn7dr084jydds",
                "agent_number": "+13438038625",
                "external_number": "7744517577",
                "type": "twilio",
                "stream_sid": "MZ765db8ab2cbbe897f99e44f30e0cefc3",
                "call_sid": "CA583f24e4d6081798c7c099e57b1e4dae"
            },
            "batch_call": {
                "batch_call_id": "btcal_1001kcm6r4fgezc9ss9sq0y9fwm0",
                "batch_call_recipient_id": "rcpt_2401kcm6r4fjejr9925fxex05160"
            },
            "termination_reason": "voicemail_detection tool was called.",
            "error": null,
            "warnings": [],
            "main_language": "en",
            "rag_usage": null,
            "text_only": false,
            "features_usage": {
                "language_detection": {
                    "enabled": true,
                    "used": false
                },
                "transfer_to_agent": {
                    "enabled": false,
                    "used": false
                },
                "transfer_to_number": {
                    "enabled": false,
                    "used": false
                },
                "multivoice": {
                    "enabled": false,
                    "used": false
                },
                "dtmf_tones": {
                    "enabled": false,
                    "used": false
                },
                "external_mcp_servers": {
                    "enabled": true,
                    "used": false
                },
                "pii_zrm_workspace": false,
                "pii_zrm_agent": false,
                "tool_dynamic_variable_updates": {
                    "enabled": false,
                    "used": false
                },
                "is_livekit": false,
                "voicemail_detection": {
                    "enabled": true,
                    "used": true
                },
                "workflow": {
                    "enabled": false,
                    "tool_node": {
                        "enabled": false,
                        "used": false
                    },
                    "standalone_agent_node": {
                        "enabled": false,
                        "used": false
                    },
                    "phone_number_node": {
                        "enabled": false,
                        "used": false
                    },
                    "end_node": {
                        "enabled": false,
                        "used": false
                    }
                },
                "agent_testing": {
                    "enabled": false,
                    "tests_ran_after_last_modification": false,
                    "tests_ran_in_last_7_days": false
                },
                "versioning": {
                    "enabled": false,
                    "used": false
                }
            },
            "eleven_assistant": {
                "is_eleven_assistant": false
            },
            "initiator_id": null,
            "conversation_initiation_source": "twilio",
            "conversation_initiation_source_version": null,
            "timezone": "America/New_York",
            "initiation_trigger": {
                "trigger_type": "default"
            },
            "async_metadata": null,
            "whatsapp": null,
            "agent_created_from": "ui",
            "agent_last_updated_from": "ui"
        },
        "analysis": {
            "evaluation_criteria_results": [],
            "data_collection_results": {
                "satisfaction_score": {
                    "data_collection_id": "satisfaction_score",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "Agent will collect the score from contact from 1 to 5",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation does not contain any explicit score from 1 to 5 from the contact. Therefore, it is not possible to extract the data."
                },
                "want_to_do_assessment": {
                    "data_collection_id": "want_to_do_assessment",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "this has the value \"Yes\" or \"No\" based on the answer of the contact want to do assessment or not",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation does not contain any information about whether the contact wants to do an assessment or not. The conversation ends after voicemail detection."
                },
                "reason-for-no-assessment": {
                    "data_collection_id": "reason-for-no-assessment",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "When they said they don't want to do the assessment, asked them why, and store for the reason",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation ended with a voicemail message. There was no assessment mentioned, and therefore no reason given for not wanting to do the assessment. Thus, the value is null."
                }
            },
            "call_successful": "success",
            "transcript_summary": "The agent called Dino, but reached a voicemail system. The voicemail detection tool confirmed an automated greeting was detected.\n",
            "call_summary_title": "Voicemail Detection"
        },
        "conversation_initiation_client_data": {
            "conversation_config_override": {
                "turn": null,
                "tts": null,
                "conversation": null,
                "agent": null
            },
            "custom_llm_extra_body": [],
            "user_id": null,
            "source_info": {
                "source": null,
                "version": null
            },
            "dynamic_variables": {
                "contact_id": "8491",
                "email": "dinoaguiar@avtech.com",
                "first_name": "Dino",
                "system__agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                "system__agent_turns": 1,
                "system__current_agent_turns": 1,
                "system__current_subagent_turns": 1,
                "system__current_agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                "system__conversation_id": "conv_8601kcm6r4yhe8ptxc0mrh0j4pf9",
                "system__call_duration_secs": 12,
                "system__time_utc": "2025-12-16T18:29:52.485036+00:00",
                "system__time": "Tuesday, 13:29 16 December 2025",
                "system__timezone": "America/New_York",
                "system__caller_id": "+13438038625",
                "system__called_number": "7744517577",
                "system__call_sid": "CA583f24e4d6081798c7c099e57b1e4dae"
            }
        }
    }
}
========================================

========================================
📞 ElevenLabs Post-Call Webhook
🕒 Time: 2025-12-16 13:29:57
🌐 IP: 34.59.11.47
----------------------------------------
HEADERS:
  Content-Type: application/json
  Content-Length: 9775
  Accept-Encoding: gzip, deflate, br
  Accept: */*
  User-Agent: ElevenLabs/1.0
  Elevenlabs-Signature: t=1765909797,v0=43a683acdd92b83187bd88151719f633086867b19ce38c71581a061e5369d73a
  Host: bk.directobjective.com
----------------------------------------
PAYLOAD:
{
    "type": "post_call_transcription",
    "event_timestamp": 1765909797,
    "data": {
        "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
        "conversation_id": "conv_0601kcm6r5vjfc1vpnhnejt82ere",
        "status": "done",
        "user_id": null,
        "branch_id": null,
        "transcript": [
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": "Hello, may I speak with Danielle?",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 0,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_tts_service_ttfb": {
                            "elapsed_time": 0.21282629800043650902807712554931640625
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            },
            {
                "role": "user",
                "agent_metadata": null,
                "message": "Voicemail of Danielle Shelton. Sorry, I'm unable to get to the phone right now, but if you leave me a message, I'll get back to you as soon as possible. Thanks so much.",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 1,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_asr_trailing_service_latency": {
                            "elapsed_time": 0.233983383999657235108315944671630859375
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": "audio"
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": null,
                "multivoice_message": null,
                "tool_calls": [
                    {
                        "type": "system",
                        "request_id": "voicemail_detection_10dbb21a9da745eca939d55bf6bb2a60",
                        "tool_name": "voicemail_detection",
                        "params_as_json": "{\"reason\": \"automated greeting detected: 'Voicemail of Danielle Shelton. Sorry, I'm unable to get to the phone right now, but if you leave me a message, I'll get back to you as soon as possible. Thanks so much.'\"}",
                        "tool_has_been_called": true,
                        "tool_details": null
                    }
                ],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 10,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_llm_service_ttfb": {
                            "elapsed_time": 0.80625360799967893399298191070556640625
                        },
                        "convai_llm_tool_request_generation_latency": {
                            "elapsed_time": 0.81489968599998974241316318511962890625
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": null,
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [
                    {
                        "request_id": "voicemail_detection_10dbb21a9da745eca939d55bf6bb2a60",
                        "tool_name": "voicemail_detection",
                        "result_value": "{\"result_type\":\"voicemail_detection_success\",\"status\":\"success\",\"voicemail_message\":\"\",\"reason\":\"automated greeting detected: 'Voicemail of Danielle Shelton. Sorry, I'm unable to get to the phone right now, but if you leave me a message, I'll get back to you as soon as possible. Thanks so much.'\"}",
                        "is_error": false,
                        "tool_has_been_called": true,
                        "tool_latency_secs": 0.000300691999655100516974925994873046875,
                        "dynamic_variable_updates": [],
                        "type": "system",
                        "result": {
                            "result_type": "voicemail_detection_success",
                            "status": "success",
                            "voicemail_message": "",
                            "reason": "automated greeting detected: 'Voicemail of Danielle Shelton. Sorry, I'm unable to get to the phone right now, but if you leave me a message, I'll get back to you as soon as possible. Thanks so much.'"
                        }
                    }
                ],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 10,
                "conversation_turn_metrics": null,
                "rag_retrieval_info": null,
                "llm_usage": {
                    "model_usage": {
                        "gemini-2.5-flash": {
                            "input": {
                                "tokens": 11,
                                "price": 1.64999999999999987239482530931855563949284260161221027374267578125e-6
                            },
                            "input_cache_read": {
                                "tokens": 4923,
                                "price": 0
                            },
                            "input_cache_write": {
                                "tokens": 0,
                                "price": 0
                            },
                            "output_total": {
                                "tokens": 56,
                                "price": 3.36000000000000035617342408755803262465633451938629150390625e-5
                            }
                        }
                    }
                },
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            }
        ],
        "metadata": {
            "start_time_unix_secs": 1765909782,
            "accepted_time_unix_secs": 1765909782,
            "call_duration_secs": 12,
            "cost": 81,
            "deletion_settings": {
                "deletion_time_unix_secs": null,
                "deleted_logs_at_time_unix_secs": null,
                "deleted_audio_at_time_unix_secs": null,
                "deleted_transcript_at_time_unix_secs": null,
                "delete_transcript_and_pii": false,
                "delete_audio": false
            },
            "feedback": {
                "type": null,
                "overall_score": null,
                "likes": 0,
                "dislikes": 0,
                "rating": null,
                "comment": null
            },
            "authorization_method": "signed_url",
            "charging": {
                "dev_discount": false,
                "is_burst": false,
                "tier": "creator",
                "llm_usage": {
                    "irreversible_generation": {
                        "model_usage": {
                            "gemini-2.5-flash": {
                                "input": {
                                    "tokens": 11,
                                    "price": 1.64999999999999987239482530931855563949284260161221027374267578125e-6
                                },
                                "input_cache_read": {
                                    "tokens": 4923,
                                    "price": 0
                                },
                                "input_cache_write": {
                                    "tokens": 0,
                                    "price": 0
                                },
                                "output_total": {
                                    "tokens": 56,
                                    "price": 3.36000000000000035617342408755803262465633451938629150390625e-5
                                }
                            }
                        }
                    },
                    "initiated_generation": {
                        "model_usage": {
                            "gemini-2.5-flash": {
                                "input": {
                                    "tokens": 722,
                                    "price": 0.000108299999999999989699385471997317154091433621942996978759765625
                                },
                                "input_cache_read": {
                                    "tokens": 9142,
                                    "price": 0
                                },
                                "input_cache_write": {
                                    "tokens": 0,
                                    "price": 0
                                },
                                "output_total": {
                                    "tokens": 110,
                                    "price": 6.600000000000000506018837942434629439958371222019195556640625e-5
                                }
                            }
                        }
                    }
                },
                "llm_price": 0.0001743000000000000083121010074904688735841773450374603271484375,
                "llm_charge": 0,
                "call_charge": 81,
                "free_minutes_consumed": 0,
                "free_llm_dollars_consumed": 0
            },
            "phone_call": {
                "direction": "outbound",
                "phone_number_id": "phnum_8001kc7mp2dtek4bn7dr084jydds",
                "agent_number": "+13438038625",
                "external_number": "6168850784",
                "type": "twilio",
                "stream_sid": "MZ1369ff0db4b386555e7212f86359a636",
                "call_sid": "CA1bbc243bf0f6738ef5b5ace58dcb7b77"
            },
            "batch_call": {
                "batch_call_id": "btcal_9201kcm6r564fw28n0dvsmby6z4c",
                "batch_call_recipient_id": "rcpt_1501kcm6r565ee6vqjmarkxh164r"
            },
            "termination_reason": "voicemail_detection tool was called.",
            "error": null,
            "warnings": [],
            "main_language": "en",
            "rag_usage": null,
            "text_only": false,
            "features_usage": {
                "language_detection": {
                    "enabled": true,
                    "used": false
                },
                "transfer_to_agent": {
                    "enabled": false,
                    "used": false
                },
                "transfer_to_number": {
                    "enabled": false,
                    "used": false
                },
                "multivoice": {
                    "enabled": false,
                    "used": false
                },
                "dtmf_tones": {
                    "enabled": false,
                    "used": false
                },
                "external_mcp_servers": {
                    "enabled": true,
                    "used": false
                },
                "pii_zrm_workspace": false,
                "pii_zrm_agent": false,
                "tool_dynamic_variable_updates": {
                    "enabled": false,
                    "used": false
                },
                "is_livekit": false,
                "voicemail_detection": {
                    "enabled": true,
                    "used": true
                },
                "workflow": {
                    "enabled": false,
                    "tool_node": {
                        "enabled": false,
                        "used": false
                    },
                    "standalone_agent_node": {
                        "enabled": false,
                        "used": false
                    },
                    "phone_number_node": {
                        "enabled": false,
                        "used": false
                    },
                    "end_node": {
                        "enabled": false,
                        "used": false
                    }
                },
                "agent_testing": {
                    "enabled": false,
                    "tests_ran_after_last_modification": false,
                    "tests_ran_in_last_7_days": false
                },
                "versioning": {
                    "enabled": false,
                    "used": false
                }
            },
            "eleven_assistant": {
                "is_eleven_assistant": false
            },
            "initiator_id": null,
            "conversation_initiation_source": "twilio",
            "conversation_initiation_source_version": null,
            "timezone": "America/New_York",
            "initiation_trigger": {
                "trigger_type": "default"
            },
            "async_metadata": null,
            "whatsapp": null,
            "agent_created_from": "ui",
            "agent_last_updated_from": "ui"
        },
        "analysis": {
            "evaluation_criteria_results": [],
            "data_collection_results": {
                "satisfaction_score": {
                    "data_collection_id": "satisfaction_score",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "Agent will collect the score from contact from 1 to 5",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation is with a voicemail and does not contain a score from the contact from 1 to 5."
                },
                "want_to_do_assessment": {
                    "data_collection_id": "want_to_do_assessment",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "this has the value \"Yes\" or \"No\" based on the answer of the contact want to do assessment or not",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation ended in voicemail, so there is no indication of whether the contact wants to do an assessment or not. Therefore, the value is null."
                },
                "reason-for-no-assessment": {
                    "data_collection_id": "reason-for-no-assessment",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "When they said they don't want to do the assessment, asked them why, and store for the reason",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation is with a voicemail, and the user did not express any desire to not do the assessment. Therefore, the value is null."
                }
            },
            "call_successful": "success",
            "transcript_summary": "The agent called Danielle, but reached her voicemail. The voicemail detection tool confirmed an automated greeting.\n",
            "call_summary_title": "Voicemail Detection"
        },
        "conversation_initiation_client_data": {
            "conversation_config_override": {
                "turn": null,
                "tts": null,
                "conversation": null,
                "agent": null
            },
            "custom_llm_extra_body": [],
            "user_id": null,
            "source_info": {
                "source": null,
                "version": null
            },
            "dynamic_variables": {
                "contact_id": "8632",
                "email": "dshelton@catalyst.org",
                "first_name": "Danielle",
                "system__agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                "system__agent_turns": 1,
                "system__current_agent_turns": 1,
                "system__current_subagent_turns": 1,
                "system__current_agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                "system__conversation_id": "conv_0601kcm6r5vjfc1vpnhnejt82ere",
                "system__call_duration_secs": 12,
                "system__time_utc": "2025-12-16T18:29:54.070153+00:00",
                "system__time": "Tuesday, 13:29 16 December 2025",
                "system__timezone": "America/New_York",
                "system__caller_id": "+13438038625",
                "system__called_number": "6168850784",
                "system__call_sid": "CA1bbc243bf0f6738ef5b5ace58dcb7b77"
            }
        }
    }
}
========================================

========================================
📞 ElevenLabs Post-Call Webhook
🕒 Time: 2025-12-16 13:30:09
🌐 IP: 34.59.11.47
----------------------------------------
HEADERS:
  Content-Type: application/json
  Content-Length: 10155
  Accept-Encoding: gzip, deflate, br
  Accept: */*
  User-Agent: ElevenLabs/1.0
  Elevenlabs-Signature: t=1765909810,v0=b5e75e6cbfbc16ca1f363e748c3f099a4f865d5f41be71118fccff8d7254aa7a
  Host: bk.directobjective.com
----------------------------------------
PAYLOAD:
{
    "type": "post_call_transcription",
    "event_timestamp": 1765909810,
    "data": {
        "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
        "conversation_id": "conv_9101kcm6r4cne9dtyay414excb8r",
        "status": "done",
        "user_id": null,
        "branch_id": null,
        "transcript": [
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": "Hello, may I speak with Dora?",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 0,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_tts_service_ttfb": {
                            "elapsed_time": 0.183980329005862586200237274169921875
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            },
            {
                "role": "user",
                "agent_metadata": null,
                "message": "Leave your message and I'll get back to you as soon as possible. Thanks and have a great day. At the tone, please record your message. When you've finished recording, you may hang up or press 1 for more options. To leave a callback number, press 5.",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 1,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_asr_trailing_service_latency": {
                            "elapsed_time": 0.24416239900165237486362457275390625
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": "audio"
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": null,
                "multivoice_message": null,
                "tool_calls": [
                    {
                        "type": "system",
                        "request_id": "voicemail_detection_fb0c4367b440447285de908f6fbfbeff",
                        "tool_name": "voicemail_detection",
                        "params_as_json": "{\"reason\": \"The user's voicemail message said: 'Leave your message and I'll get back to you as soon as possible. Thanks and have a great day. At the tone, please record your message. When you've finished recording, you may hang up or press 1 for more options. To leave a callback number, press 5.'\"}",
                        "tool_has_been_called": true,
                        "tool_details": null
                    }
                ],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 21,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_llm_service_ttfb": {
                            "elapsed_time": 1.590967696000006981194019317626953125
                        },
                        "convai_llm_tool_request_generation_latency": {
                            "elapsed_time": 1.59196786800748668611049652099609375
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": null,
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [
                    {
                        "request_id": "voicemail_detection_fb0c4367b440447285de908f6fbfbeff",
                        "tool_name": "voicemail_detection",
                        "result_value": "{\"result_type\":\"voicemail_detection_success\",\"status\":\"success\",\"voicemail_message\":\"\",\"reason\":\"The user's voicemail message said: 'Leave your message and I'll get back to you as soon as possible. Thanks and have a great day. At the tone, please record your message. When you've finished recording, you may hang up or press 1 for more options. To leave a callback number, press 5.'\"}",
                        "is_error": false,
                        "tool_has_been_called": true,
                        "tool_latency_secs": 0.000636280994513072073459625244140625,
                        "dynamic_variable_updates": [],
                        "type": "system",
                        "result": {
                            "result_type": "voicemail_detection_success",
                            "status": "success",
                            "voicemail_message": "",
                            "reason": "The user's voicemail message said: 'Leave your message and I'll get back to you as soon as possible. Thanks and have a great day. At the tone, please record your message. When you've finished recording, you may hang up or press 1 for more options. To leave a callback number, press 5.'"
                        }
                    }
                ],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 21,
                "conversation_turn_metrics": null,
                "rag_retrieval_info": null,
                "llm_usage": {
                    "model_usage": {
                        "gemini-2.5-flash": {
                            "input": {
                                "tokens": 4954,
                                "price": 0.0007431000000000000105249142734464840032160282135009765625
                            },
                            "input_cache_read": {
                                "tokens": 0,
                                "price": 0
                            },
                            "input_cache_write": {
                                "tokens": 0,
                                "price": 0
                            },
                            "output_total": {
                                "tokens": 76,
                                "price": 4.56000000000000038657445300405157695422531105577945709228515625e-5
                            }
                        }
                    }
                },
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            }
        ],
        "metadata": {
            "start_time_unix_secs": 1765909783,
            "accepted_time_unix_secs": 1765909784,
            "call_duration_secs": 23,
            "cost": 156,
            "deletion_settings": {
                "deletion_time_unix_secs": null,
                "deleted_logs_at_time_unix_secs": null,
                "deleted_audio_at_time_unix_secs": null,
                "deleted_transcript_at_time_unix_secs": null,
                "delete_transcript_and_pii": false,
                "delete_audio": false
            },
            "feedback": {
                "type": null,
                "overall_score": null,
                "likes": 0,
                "dislikes": 0,
                "rating": null,
                "comment": null
            },
            "authorization_method": "signed_url",
            "charging": {
                "dev_discount": false,
                "is_burst": false,
                "tier": "creator",
                "llm_usage": {
                    "irreversible_generation": {
                        "model_usage": {
                            "gemini-2.5-flash": {
                                "input": {
                                    "tokens": 4954,
                                    "price": 0.0007431000000000000105249142734464840032160282135009765625
                                },
                                "input_cache_read": {
                                    "tokens": 0,
                                    "price": 0
                                },
                                "input_cache_write": {
                                    "tokens": 0,
                                    "price": 0
                                },
                                "output_total": {
                                    "tokens": 76,
                                    "price": 4.56000000000000038657445300405157695422531105577945709228515625e-5
                                }
                            }
                        }
                    },
                    "initiated_generation": {
                        "model_usage": {
                            "gemini-2.5-flash": {
                                "input": {
                                    "tokens": 6351,
                                    "price": 0.00095264999999999998119004640528828531387262046337127685546875
                                },
                                "input_cache_read": {
                                    "tokens": 8428,
                                    "price": 0
                                },
                                "input_cache_write": {
                                    "tokens": 0,
                                    "price": 0
                                },
                                "output_total": {
                                    "tokens": 148,
                                    "price": 8.8800000000000003604928855427402822897420264780521392822265625e-5
                                }
                            }
                        }
                    }
                },
                "llm_price": 0.00104144999999999997124244810464688271167688071727752685546875,
                "llm_charge": 4,
                "call_charge": 152,
                "free_minutes_consumed": 0,
                "free_llm_dollars_consumed": 0
            },
            "phone_call": {
                "direction": "outbound",
                "phone_number_id": "phnum_8001kc7mp2dtek4bn7dr084jydds",
                "agent_number": "+13438038625",
                "external_number": "2015322553",
                "type": "twilio",
                "stream_sid": "MZa473eb3277de2e30483e0a9b05628d52",
                "call_sid": "CAfe9be45950659cab79c9c3fda499684f"
            },
            "batch_call": {
                "batch_call_id": "btcal_1001kcm6r42mfrw8rztzpmppbtt7",
                "batch_call_recipient_id": "rcpt_4001kcm6r42peyxbqy3pr66jrvbv"
            },
            "termination_reason": "voicemail_detection tool was called.",
            "error": null,
            "warnings": [],
            "main_language": "en",
            "rag_usage": null,
            "text_only": false,
            "features_usage": {
                "language_detection": {
                    "enabled": true,
                    "used": false
                },
                "transfer_to_agent": {
                    "enabled": false,
                    "used": false
                },
                "transfer_to_number": {
                    "enabled": false,
                    "used": false
                },
                "multivoice": {
                    "enabled": false,
                    "used": false
                },
                "dtmf_tones": {
                    "enabled": false,
                    "used": false
                },
                "external_mcp_servers": {
                    "enabled": true,
                    "used": false
                },
                "pii_zrm_workspace": false,
                "pii_zrm_agent": false,
                "tool_dynamic_variable_updates": {
                    "enabled": false,
                    "used": false
                },
                "is_livekit": false,
                "voicemail_detection": {
                    "enabled": true,
                    "used": true
                },
                "workflow": {
                    "enabled": false,
                    "tool_node": {
                        "enabled": false,
                        "used": false
                    },
                    "standalone_agent_node": {
                        "enabled": false,
                        "used": false
                    },
                    "phone_number_node": {
                        "enabled": false,
                        "used": false
                    },
                    "end_node": {
                        "enabled": false,
                        "used": false
                    }
                },
                "agent_testing": {
                    "enabled": false,
                    "tests_ran_after_last_modification": false,
                    "tests_ran_in_last_7_days": false
                },
                "versioning": {
                    "enabled": false,
                    "used": false
                }
            },
            "eleven_assistant": {
                "is_eleven_assistant": false
            },
            "initiator_id": null,
            "conversation_initiation_source": "twilio",
            "conversation_initiation_source_version": null,
            "timezone": "America/New_York",
            "initiation_trigger": {
                "trigger_type": "default"
            },
            "async_metadata": null,
            "whatsapp": null,
            "agent_created_from": "ui",
            "agent_last_updated_from": "ui"
        },
        "analysis": {
            "evaluation_criteria_results": [],
            "data_collection_results": {
                "satisfaction_score": {
                    "data_collection_id": "satisfaction_score",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "Agent will collect the score from contact from 1 to 5",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation does not contain any explicit score from 1 to 5 from the contact. Therefore, it is not possible to extract the data."
                },
                "want_to_do_assessment": {
                    "data_collection_id": "want_to_do_assessment",
                    "value": "No",
                    "json_schema": {
                        "type": "string",
                        "description": "this has the value \"Yes\" or \"No\" based on the answer of the contact want to do assessment or not",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation ended with a voicemail message, and there was no opportunity to ask the contact if they wanted to do an assessment. Therefore, the answer is 'No'."
                },
                "reason-for-no-assessment": {
                    "data_collection_id": "reason-for-no-assessment",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "When they said they don't want to do the assessment, asked them why, and store for the reason",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation ended with a voicemail message. There was no assessment offered or declined, so I cannot extract the reason why they don't want to do the assessment."
                }
            },
            "call_successful": "success",
            "transcript_summary": "The agent called and reached Dora's voicemail. The voicemail message prompted the caller to leave a message.\n",
            "call_summary_title": "Voicemail Detection"
        },
        "conversation_initiation_client_data": {
            "conversation_config_override": {
                "turn": null,
                "tts": null,
                "conversation": null,
                "agent": null
            },
            "custom_llm_extra_body": [],
            "user_id": null,
            "source_info": {
                "source": null,
                "version": null
            },
            "dynamic_variables": {
                "contact_id": "8730",
                "email": "dora.rui@successacademies.org",
                "first_name": "Dora",
                "system__agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                "system__agent_turns": 1,
                "system__current_agent_turns": 1,
                "system__current_subagent_turns": 1,
                "system__current_agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                "system__conversation_id": "conv_9101kcm6r4cne9dtyay414excb8r",
                "system__call_duration_secs": 22,
                "system__time_utc": "2025-12-16T18:30:06.518298+00:00",
                "system__time": "Tuesday, 13:30 16 December 2025",
                "system__timezone": "America/New_York",
                "system__caller_id": "+13438038625",
                "system__called_number": "2015322553",
                "system__call_sid": "CAfe9be45950659cab79c9c3fda499684f"
            }
        }
    }
}
========================================

========================================
📞 ElevenLabs Post-Call Webhook
🕒 Time: 2025-12-16 13:30:14
🌐 IP: 34.59.11.47
----------------------------------------
HEADERS:
  Content-Type: application/json
  Content-Length: 10321
  Accept-Encoding: gzip, deflate, br
  Accept: */*
  User-Agent: ElevenLabs/1.0
  Elevenlabs-Signature: t=1765909815,v0=0151a8e879a303cfafec45310699cdb240f594e5c797506f4e54b3c1eaf76ad3
  Host: bk.directobjective.com
----------------------------------------
PAYLOAD:
{
    "type": "post_call_transcription",
    "event_timestamp": 1765909815,
    "data": {
        "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
        "conversation_id": "conv_6101kcm6r5qwfw3s78kj3paydgwa",
        "status": "done",
        "user_id": null,
        "branch_id": null,
        "transcript": [
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": "Hello, may I speak with Deanne?",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 0,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_tts_service_ttfb": {
                            "elapsed_time": 0.20287243300117552280426025390625
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            },
            {
                "role": "user",
                "agent_metadata": null,
                "message": "Please leave your name, number, and a brief message and I'll return your call as soon as possible. If you need immediate assistance, please dial 0 and someone will help you. Thanks for calling and have a great day. Record your message at the tone. When you are finished, hang up or press pound for more options.",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 1,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_asr_trailing_service_latency": {
                            "elapsed_time": 0.2363226899979053996503353118896484375
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": "audio"
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": null,
                "multivoice_message": null,
                "tool_calls": [
                    {
                        "type": "system",
                        "request_id": "voicemail_detection_2f5b9108e26e4aacbec310aed0b6ede2",
                        "tool_name": "voicemail_detection",
                        "params_as_json": "{\"reason\": \"Automated greeting detected: 'Please leave your name, number, and a brief message and I'll return your call as soon as possible. If you need immediate assistance, please dial 0 and someone will help you. Thanks for calling and have a great day. Record your message at the tone. When you are finished, hang up or press pound for more options.'\"}",
                        "tool_has_been_called": true,
                        "tool_details": null
                    }
                ],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 23,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_llm_service_ttfb": {
                            "elapsed_time": 1.015119427000172436237335205078125
                        },
                        "convai_llm_tool_request_generation_latency": {
                            "elapsed_time": 1.0158198130011442117393016815185546875
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": null,
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [
                    {
                        "request_id": "voicemail_detection_2f5b9108e26e4aacbec310aed0b6ede2",
                        "tool_name": "voicemail_detection",
                        "result_value": "{\"result_type\":\"voicemail_detection_success\",\"status\":\"success\",\"voicemail_message\":\"\",\"reason\":\"Automated greeting detected: 'Please leave your name, number, and a brief message and I'll return your call as soon as possible. If you need immediate assistance, please dial 0 and someone will help you. Thanks for calling and have a great day. Record your message at the tone. When you are finished, hang up or press pound for more options.'\"}",
                        "is_error": false,
                        "tool_has_been_called": true,
                        "tool_latency_secs": 0.00034580400097183883190155029296875,
                        "dynamic_variable_updates": [],
                        "type": "system",
                        "result": {
                            "result_type": "voicemail_detection_success",
                            "status": "success",
                            "voicemail_message": "",
                            "reason": "Automated greeting detected: 'Please leave your name, number, and a brief message and I'll return your call as soon as possible. If you need immediate assistance, please dial 0 and someone will help you. Thanks for calling and have a great day. Record your message at the tone. When you are finished, hang up or press pound for more options.'"
                        }
                    }
                ],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 23,
                "conversation_turn_metrics": null,
                "rag_retrieval_info": null,
                "llm_usage": {
                    "model_usage": {
                        "gemini-2.5-flash": {
                            "input": {
                                "tokens": 4956,
                                "price": 0.00074339999999999996360688925278736860491335391998291015625
                            },
                            "input_cache_read": {
                                "tokens": 0,
                                "price": 0
                            },
                            "input_cache_write": {
                                "tokens": 0,
                                "price": 0
                            },
                            "output_total": {
                                "tokens": 81,
                                "price": 4.8600000000000002247681207823148952229530550539493560791015625e-5
                            }
                        }
                    }
                },
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            }
        ],
        "metadata": {
            "start_time_unix_secs": 1765909786,
            "accepted_time_unix_secs": 1765909787,
            "call_duration_secs": 26,
            "cost": 171,
            "deletion_settings": {
                "deletion_time_unix_secs": null,
                "deleted_logs_at_time_unix_secs": null,
                "deleted_audio_at_time_unix_secs": null,
                "deleted_transcript_at_time_unix_secs": null,
                "delete_transcript_and_pii": false,
                "delete_audio": false
            },
            "feedback": {
                "type": null,
                "overall_score": null,
                "likes": 0,
                "dislikes": 0,
                "rating": null,
                "comment": null
            },
            "authorization_method": "signed_url",
            "charging": {
                "dev_discount": false,
                "is_burst": false,
                "tier": "creator",
                "llm_usage": {
                    "irreversible_generation": {
                        "model_usage": {
                            "gemini-2.5-flash": {
                                "input": {
                                    "tokens": 4956,
                                    "price": 0.00074339999999999996360688925278736860491335391998291015625
                                },
                                "input_cache_read": {
                                    "tokens": 0,
                                    "price": 0
                                },
                                "input_cache_write": {
                                    "tokens": 0,
                                    "price": 0
                                },
                                "output_total": {
                                    "tokens": 81,
                                    "price": 4.8600000000000002247681207823148952229530550539493560791015625e-5
                                }
                            }
                        }
                    },
                    "initiated_generation": {
                        "model_usage": {
                            "gemini-2.5-flash": {
                                "input": {
                                    "tokens": 4956,
                                    "price": 0.00074339999999999996360688925278736860491335391998291015625
                                },
                                "input_cache_read": {
                                    "tokens": 0,
                                    "price": 0
                                },
                                "input_cache_write": {
                                    "tokens": 0,
                                    "price": 0
                                },
                                "output_total": {
                                    "tokens": 81,
                                    "price": 4.8600000000000002247681207823148952229530550539493560791015625e-5
                                }
                            }
                        }
                    }
                },
                "llm_price": 0.00079199999999999995230204330454171213204972445964813232421875,
                "llm_charge": 3,
                "call_charge": 168,
                "free_minutes_consumed": 0,
                "free_llm_dollars_consumed": 0
            },
            "phone_call": {
                "direction": "outbound",
                "phone_number_id": "phnum_8001kc7mp2dtek4bn7dr084jydds",
                "agent_number": "+13438038625",
                "external_number": "7166458838",
                "type": "twilio",
                "stream_sid": "MZ4e9ca710f51d55833a9676c18af1028e",
                "call_sid": "CA5745ca9822525972d180f5c460a57906"
            },
            "batch_call": {
                "batch_call_id": "btcal_0901kcm6r52ceh3ahd3g0cr4qy80",
                "batch_call_recipient_id": "rcpt_6801kcm6r52dfz3tc3v8cjjf99b7"
            },
            "termination_reason": "voicemail_detection tool was called.",
            "error": null,
            "warnings": [],
            "main_language": "en",
            "rag_usage": null,
            "text_only": false,
            "features_usage": {
                "language_detection": {
                    "enabled": true,
                    "used": false
                },
                "transfer_to_agent": {
                    "enabled": false,
                    "used": false
                },
                "transfer_to_number": {
                    "enabled": false,
                    "used": false
                },
                "multivoice": {
                    "enabled": false,
                    "used": false
                },
                "dtmf_tones": {
                    "enabled": false,
                    "used": false
                },
                "external_mcp_servers": {
                    "enabled": true,
                    "used": false
                },
                "pii_zrm_workspace": false,
                "pii_zrm_agent": false,
                "tool_dynamic_variable_updates": {
                    "enabled": false,
                    "used": false
                },
                "is_livekit": false,
                "voicemail_detection": {
                    "enabled": true,
                    "used": true
                },
                "workflow": {
                    "enabled": false,
                    "tool_node": {
                        "enabled": false,
                        "used": false
                    },
                    "standalone_agent_node": {
                        "enabled": false,
                        "used": false
                    },
                    "phone_number_node": {
                        "enabled": false,
                        "used": false
                    },
                    "end_node": {
                        "enabled": false,
                        "used": false
                    }
                },
                "agent_testing": {
                    "enabled": false,
                    "tests_ran_after_last_modification": false,
                    "tests_ran_in_last_7_days": false
                },
                "versioning": {
                    "enabled": false,
                    "used": false
                }
            },
            "eleven_assistant": {
                "is_eleven_assistant": false
            },
            "initiator_id": null,
            "conversation_initiation_source": "twilio",
            "conversation_initiation_source_version": null,
            "timezone": "America/New_York",
            "initiation_trigger": {
                "trigger_type": "default"
            },
            "async_metadata": null,
            "whatsapp": null,
            "agent_created_from": "ui",
            "agent_last_updated_from": "ui"
        },
        "analysis": {
            "evaluation_criteria_results": [],
            "data_collection_results": {
                "satisfaction_score": {
                    "data_collection_id": "satisfaction_score",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "Agent will collect the score from contact from 1 to 5",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation does not contain any explicit score from the contact from 1 to 5. Therefore, it is not possible to extract the data."
                },
                "want_to_do_assessment": {
                    "data_collection_id": "want_to_do_assessment",
                    "value": "No",
                    "json_schema": {
                        "type": "string",
                        "description": "this has the value \"Yes\" or \"No\" based on the answer of the contact want to do assessment or not",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation ends with a voicemail message. There is no indication of whether the contact wants to do an assessment or not. Therefore, the answer is 'No'."
                },
                "reason-for-no-assessment": {
                    "data_collection_id": "reason-for-no-assessment",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "When they said they don't want to do the assessment, asked them why, and store for the reason",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation is with a voicemail and the user did not express any desire to not do the assessment. Therefore, the value is null."
                }
            },
            "call_successful": "success",
            "transcript_summary": "The agent called and was met with a voicemail greeting. The voicemail detection tool confirmed the automated greeting.\n",
            "call_summary_title": "Voicemail Detection"
        },
        "conversation_initiation_client_data": {
            "conversation_config_override": {
                "turn": null,
                "tts": null,
                "conversation": null,
                "agent": null
            },
            "custom_llm_extra_body": [],
            "user_id": null,
            "source_info": {
                "source": null,
                "version": null
            },
            "dynamic_variables": {
                "contact_id": "8554",
                "email": "dmhenel@buffalo.edu",
                "first_name": "Deanne",
                "system__agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                "system__agent_turns": 1,
                "system__current_agent_turns": 1,
                "system__current_subagent_turns": 1,
                "system__current_agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                "system__conversation_id": "conv_6101kcm6r5qwfw3s78kj3paydgwa",
                "system__call_duration_secs": 25,
                "system__time_utc": "2025-12-16T18:30:12.008483+00:00",
                "system__time": "Tuesday, 13:30 16 December 2025",
                "system__timezone": "America/New_York",
                "system__caller_id": "+13438038625",
                "system__called_number": "7166458838",
                "system__call_sid": "CA5745ca9822525972d180f5c460a57906"
            }
        }
    }
}
========================================

========================================
📞 ElevenLabs Post-Call Webhook
🕒 Time: 2025-12-16 13:30:33
🌐 IP: 34.59.11.47
----------------------------------------
HEADERS:
  Content-Type: application/json
  Content-Length: 27503
  Accept-Encoding: gzip, deflate, br
  Accept: */*
  User-Agent: ElevenLabs/1.0
  Elevenlabs-Signature: t=1765909834,v0=36ad6a4b243e2897cdbee25ea6898df31653eabd4886c08349ce81c1cd8b5975
  Host: bk.directobjective.com
----------------------------------------
PAYLOAD:
{
    "type": "post_call_transcription",
    "event_timestamp": 1765909834,
    "data": {
        "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
        "conversation_id": "conv_5901kcm6r57tf7kbmhzdd27d2wfw",
        "status": "done",
        "user_id": null,
        "branch_id": null,
        "transcript": [
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": "Hello, may I speak with Deanna?",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 0,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_tts_service_ttfb": {
                            "elapsed_time": 0.21023413500006427057087421417236328125
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            },
            {
                "role": "user",
                "agent_metadata": null,
                "message": "Yes, speaking.",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 2,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_asr_trailing_service_latency": {
                            "elapsed_time": 0.216501381999478326179087162017822265625
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": "audio"
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": "Hi Deanna, I'm Ellen, and I'm calling on behalf of AtmanCo. Let me ask you a quick question! If we could help you uncover hidden leadership traits that can impact your team's performance, would you be open to a quick, free assessment to check them out?",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 4,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_llm_service_ttf_sentence": {
                            "elapsed_time": 0.59302755799944861792027950286865234375
                        },
                        "convai_llm_service_ttfb": {
                            "elapsed_time": 0.39741157399839721620082855224609375
                        },
                        "convai_llm_service_tt_last_sentence": {
                            "elapsed_time": 0.949649399999543675221502780914306640625
                        },
                        "convai_tts_service_ttfb": {
                            "elapsed_time": 0.24726638799984357319772243499755859375
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": {
                    "model_usage": {
                        "gemini-2.5-flash": {
                            "input": {
                                "tokens": 689,
                                "price": 0.000103349999999999991352750416950811995775438845157623291015625
                            },
                            "input_cache_read": {
                                "tokens": 4210,
                                "price": 0
                            },
                            "input_cache_write": {
                                "tokens": 0,
                                "price": 0
                            },
                            "output_total": {
                                "tokens": 62,
                                "price": 3.7199999999999996199047391787217975434032268822193145751953125e-5
                            }
                        }
                    }
                },
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            },
            {
                "role": "user",
                "agent_metadata": null,
                "message": "That's not something that I would be the one to approve. I'm not a decision maker in the company.",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 18,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_asr_trailing_service_latency": {
                            "elapsed_time": 0.234699417998854187317192554473876953125
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": "audio"
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": "I completely understand, and that's perfectly fine! Many HR leaders find value in taking the assessment themselves, even if they aren't the ultimate decision-makers. It can provide valuable insights into their own leadership style and help them better understand what we offer. Would you be open to trying the free assessment for yourself?",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 27,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_llm_service_ttf_sentence": {
                            "elapsed_time": 0.67788351399940438568592071533203125
                        },
                        "convai_llm_service_ttfb": {
                            "elapsed_time": 0.479189234998557367362082004547119140625
                        },
                        "convai_llm_service_tt_last_sentence": {
                            "elapsed_time": 1.08022790299946791492402553558349609375
                        },
                        "convai_tts_service_ttfb": {
                            "elapsed_time": 0.230327122999369748868048191070556640625
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": {
                    "model_usage": {
                        "gemini-2.5-flash": {
                            "input": {
                                "tokens": 758,
                                "price": 0.0001136999999999999989841459324679817655123770236968994140625
                            },
                            "input_cache_read": {
                                "tokens": 4228,
                                "price": 0
                            },
                            "input_cache_write": {
                                "tokens": 0,
                                "price": 0
                            },
                            "output_total": {
                                "tokens": 65,
                                "price": 3.899999999999999929396754527743951257434673607349395751953125e-5
                            }
                        }
                    }
                },
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            },
            {
                "role": "user",
                "agent_metadata": null,
                "message": "I'm not in HR with the company. We actually have an HR supervisor in our company. That's not my role",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 46,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_asr_trailing_service_latency": {
                            "elapsed_time": 0.74688055899969185702502727508544921875
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": "audio"
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": "Ah, I appreciate you clarifying that. My apologies for the misunderstanding. It sounds like the...",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 55,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_llm_service_ttf_sentence": {
                            "elapsed_time": 1.0794666410001809708774089813232421875
                        },
                        "convai_llm_service_ttfb": {
                            "elapsed_time": 0.79034576900085085071623325347900390625
                        },
                        "convai_llm_service_tt_last_sentence": {
                            "elapsed_time": 1.349590067000463022850453853607177734375
                        },
                        "convai_tts_service_ttfb": {
                            "elapsed_time": 0.272706382000251323916018009185791015625
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": {
                    "model_usage": {
                        "gemini-2.5-flash": {
                            "input": {
                                "tokens": 5077,
                                "price": 0.00076154999999999994399202396522241542697884142398834228515625
                            },
                            "input_cache_read": {
                                "tokens": 0,
                                "price": 0
                            },
                            "input_cache_write": {
                                "tokens": 0,
                                "price": 0
                            },
                            "output_total": {
                                "tokens": 56,
                                "price": 3.36000000000000035617342408755803262465633451938629150390625e-5
                            }
                        }
                    }
                },
                "interrupted": true,
                "original_message": "Ah, I appreciate you clarifying that. My apologies for the misunderstanding. It sounds like the HR supervisor would be the more appropriate person to speak with regarding this. Would you be able to provide me with their name and contact information, or perhaps a good time to reach them?",
                "source_medium": null
            },
            {
                "role": "user",
                "agent_metadata": null,
                "message": "No problem.",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 60,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_asr_trailing_service_latency": {
                            "elapsed_time": 0.253939456000807695090770721435546875
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": "audio"
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": null,
                "multivoice_message": null,
                "tool_calls": [
                    {
                        "type": "webhook",
                        "request_id": "update_reason_for_no_assessment_f7aaf0cf410c4469b1bfb3ac1199686f",
                        "tool_name": "update_reason_for_no_assessment",
                        "params_as_json": "{\"fieldValue\": {\"contact\": \"654789\", \"value\": \"Not an HR or decision maker\"}}",
                        "tool_has_been_called": true,
                        "tool_details": {
                            "type": "webhook",
                            "method": "POST",
                            "url": "https://atman.api-us1.com/api/3/fieldValues",
                            "headers": {
                                "Api-Token": "107028ad3c42bd343582393641460662a52168d01b59ef26c0530d4500da4bb5d4e0cac5",
                                "accept": "application/json"
                            },
                            "path_params": [],
                            "query_params": [],
                            "body": "{\"fieldValue\": {\"field\": \"67\", \"value\": \"Not an HR or decision maker\", \"contact\": \"8570\"}}"
                        }
                    }
                ],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 62,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_llm_service_ttfb": {
                            "elapsed_time": 0.99343446499915444292128086090087890625
                        },
                        "convai_llm_tool_request_generation_latency": {
                            "elapsed_time": 0.994096636999529437161982059478759765625
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": null,
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [
                    {
                        "request_id": "update_reason_for_no_assessment_f7aaf0cf410c4469b1bfb3ac1199686f",
                        "tool_name": "update_reason_for_no_assessment",
                        "result_value": "{\"contacts\":[{\"cdate\":\"2025-12-15T22:46:25-06:00\",\"email\":\"dschafer@beautifulhomeservices.com\",\"phone\":\"7036350844\",\"firstName\":\"Deanna\",\"lastName\":\"Schafer\",\"orgid\":\"0\",\"orgname\":\"\",\"segmentio_id\":\"\",\"bounced_hard\":\"0\",\"bounced_soft\":\"0\",\"bounced_date\":null,\"ip\":\"0\",\"ua\":null,\"hash\":\"660edf8d4c34d5639e1a3135fe472dfb\",\"socialdata_lastcheck\":null,\"email_local\":\"\",\"email_domain\":\"beautifulhomeservices.com\",\"sentcnt\":\"0\",\"rating_tstamp\":null,\"gravatar\":\"0\",\"deleted\":\"0\",\"anonymized\":\"0\",\"adate\":null,\"udate\":\"2025-12-16T12:30:10-06:00\",\"edate\":null,\"deleted_at\":null,\"created_utc_timestamp\":\"2025-12-15 22:46:25\",\"updated_utc_timestamp\":\"2025-12-16 12:30:10\",\"created_timestamp\":\"2025-12-15 22:46:25\",\"updated_timestamp\":\"2025-12-16 12:30:10\",\"created_by\":null,\"updated_by\":null,\"mpp_tracking\":\"0\",\"last_click_date\":null,\"last_open_date\":null,\"last_mpp_open_date\":null,\"best_send_hour\":null,\"accountContacts\":[],\"links\":{\"bounceLogs\":\"https:\\/\\/atman.api-us1.com\\/api\\/3\\/contacts\\/8570\\/bounceLogs\",\"contactAutomations\":\"https:\\/\\/atman.api-us1.com\\/api\\/3\\/contacts\\/8570\\/contactAutomations?limit=2500&orders%5Blastdate%5D=DESC\",\"contactData\":\"https:\\/\\/atman.api-us1.com\\/api\\/3\\/contacts\\/8570\\/contactData\",\"contactGoals\":\"https:\\/\\/atman.api-us1.com\\/api\\/3\\/contacts\\/8570\\/contactGoals\",\"contactLists\":\"https:\\/\\/atman.api-us1.com\\/api\\/3\\/contacts\\/8570\\/contactLists\",\"contactLogs\":\"https:\\/\\/atman.api-us1.com\\/api\\/3\\/contacts\\/8570\\/contactLogs\",\"contactTags\":\"https:\\/\\/atman.api-us1.com\\/api\\/3\\/contacts\\/8570\\/contactTags\",\"contactDeals\":\"https:\\/\\/atman.api-us1.com\\/api\\/3\\/contacts\\/8570\\/contactDeals\",\"deals\":\"https:\\/\\/atman.api-us1.com\\/api\\/3\\/contacts\\/8570\\/deals\",\"fieldValues\":\"https:\\/\\/atman.api-us1.com\\/api\\/3\\/contacts\\/8570\\/fieldValues\",\"geoIps\":\"https:\\/\\/atman.api-us1.com\\/api\\/3\\/contacts\\/8570\\/geoIps\",\"notes\":\"https:\\/\\/atman.api-us1.com\\/api\\/3\\/contacts\\/8570\\/notes\",\"organization\":\"https:\\/\\/atman.api-us1.com\\/api\\/3\\/contacts\\/8570\\/organization\",\"plusAppend\":\"https:\\/\\/atman.api-us1.com\\/api\\/3\\/contacts\\/8570\\/plusAppend\",\"trackingLogs\":\"https:\\/\\/atman.api-us1.com\\/api\\/3\\/contacts\\/8570\\/trackingLogs\",\"scoreValues\":\"https:\\/\\/atman.api-us1.com\\/api\\/3\\/contacts\\/8570\\/scoreValues\",\"automationEntryCounts\":\"https:\\/\\/atman.api-us1.com\\/api\\/3\\/contacts\\/8570\\/automationEntryCounts\"},\"id\":\"8570\",\"organization\":null}],\"fieldValue\":{\"field\":\"67\",\"value\":\"Not an HR or decision maker\",\"contact\":\"8570\",\"cdate\":\"2025-12-16T12:30:10-06:00\",\"udate\":\"2025-12-16T12:30:10-06:00\",\"links\":{\"owner\":\"https:\\/\\/atman.api-us1.com\\/api\\/3\\/fieldValues\\/259541\\/owner\",\"field\":\"https:\\/\\/atman.api-us1.com\\/api\\/3\\/fieldValues\\/259541\\/field\"},\"owner\":\"8570\",\"id\":\"259541\"}}",
                        "is_error": false,
                        "tool_has_been_called": true,
                        "tool_latency_secs": 0.489736128000004100613296031951904296875,
                        "dynamic_variable_updates": [],
                        "type": "webhook"
                    }
                ],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 62,
                "conversation_turn_metrics": null,
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": null,
                "multivoice_message": null,
                "tool_calls": [
                    {
                        "type": "webhook",
                        "request_id": "update_want_to_do_assessment_e65b88f4cbe64f06a0c089f6e253bd00",
                        "tool_name": "update_want_to_do_assessment",
                        "params_as_json": "{\"fieldValue\": {\"value\": \"No\", \"contact\": \"654789\"}}",
                        "tool_has_been_called": true,
                        "tool_details": {
                            "type": "webhook",
                            "method": "POST",
                            "url": "https://atman.api-us1.com/api/3/fieldValues",
                            "headers": {
                                "Api-Token": "107028ad3c42bd343582393641460662a52168d01b59ef26c0530d4500da4bb5d4e0cac5",
                                "accept": "application/json"
                            },
                            "path_params": [],
                            "query_params": [],
                            "body": "{\"fieldValue\": {\"field\": \"65\", \"value\": \"No\", \"contact\": \"8570\"}}"
                        }
                    }
                ],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 63,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_llm_service_ttfb": {
                            "elapsed_time": 0.896214579001025413163006305694580078125
                        },
                        "convai_llm_tool_request_generation_latency": {
                            "elapsed_time": 0.896954363999611814506351947784423828125
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": null,
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [
                    {
                        "request_id": "update_want_to_do_assessment_e65b88f4cbe64f06a0c089f6e253bd00",
                        "tool_name": "update_want_to_do_assessment",
                        "result_value": "{\"contacts\":[{\"cdate\":\"2025-12-15T22:46:25-06:00\",\"email\":\"dschafer@beautifulhomeservices.com\",\"phone\":\"7036350844\",\"firstName\":\"Deanna\",\"lastName\":\"Schafer\",\"orgid\":\"0\",\"orgname\":\"\",\"segmentio_id\":\"\",\"bounced_hard\":\"0\",\"bounced_soft\":\"0\",\"bounced_date\":null,\"ip\":\"0\",\"ua\":null,\"hash\":\"660edf8d4c34d5639e1a3135fe472dfb\",\"socialdata_lastcheck\":null,\"email_local\":\"\",\"email_domain\":\"beautifulhomeservices.com\",\"sentcnt\":\"0\",\"rating_tstamp\":null,\"gravatar\":\"0\",\"deleted\":\"0\",\"anonymized\":\"0\",\"adate\":null,\"udate\":\"2025-12-16T12:30:11-06:00\",\"edate\":null,\"deleted_at\":null,\"created_utc_timestamp\":\"2025-12-15 22:46:25\",\"updated_utc_timestamp\":\"2025-12-16 12:30:11\",\"created_timestamp\":\"2025-12-15 22:46:25\",\"updated_timestamp\":\"2025-12-16 12:30:11\",\"created_by\":null,\"updated_by\":null,\"mpp_tracking\":\"0\",\"last_click_date\":null,\"last_open_date\":null,\"last_mpp_open_date\":null,\"best_send_hour\":null,\"accountContacts\":[],\"links\":{\"bounceLogs\":\"https:\\/\\/atman.api-us1.com\\/api\\/3\\/contacts\\/8570\\/bounceLogs\",\"contactAutomations\":\"https:\\/\\/atman.api-us1.com\\/api\\/3\\/contacts\\/8570\\/contactAutomations?limit=2500&orders%5Blastdate%5D=DESC\",\"contactData\":\"https:\\/\\/atman.api-us1.com\\/api\\/3\\/contacts\\/8570\\/contactData\",\"contactGoals\":\"https:\\/\\/atman.api-us1.com\\/api\\/3\\/contacts\\/8570\\/contactGoals\",\"contactLists\":\"https:\\/\\/atman.api-us1.com\\/api\\/3\\/contacts\\/8570\\/contactLists\",\"contactLogs\":\"https:\\/\\/atman.api-us1.com\\/api\\/3\\/contacts\\/8570\\/contactLogs\",\"contactTags\":\"https:\\/\\/atman.api-us1.com\\/api\\/3\\/contacts\\/8570\\/contactTags\",\"contactDeals\":\"https:\\/\\/atman.api-us1.com\\/api\\/3\\/contacts\\/8570\\/contactDeals\",\"deals\":\"https:\\/\\/atman.api-us1.com\\/api\\/3\\/contacts\\/8570\\/deals\",\"fieldValues\":\"https:\\/\\/atman.api-us1.com\\/api\\/3\\/contacts\\/8570\\/fieldValues\",\"geoIps\":\"https:\\/\\/atman.api-us1.com\\/api\\/3\\/contacts\\/8570\\/geoIps\",\"notes\":\"https:\\/\\/atman.api-us1.com\\/api\\/3\\/contacts\\/8570\\/notes\",\"organization\":\"https:\\/\\/atman.api-us1.com\\/api\\/3\\/contacts\\/8570\\/organization\",\"plusAppend\":\"https:\\/\\/atman.api-us1.com\\/api\\/3\\/contacts\\/8570\\/plusAppend\",\"trackingLogs\":\"https:\\/\\/atman.api-us1.com\\/api\\/3\\/contacts\\/8570\\/trackingLogs\",\"scoreValues\":\"https:\\/\\/atman.api-us1.com\\/api\\/3\\/contacts\\/8570\\/scoreValues\",\"automationEntryCounts\":\"https:\\/\\/atman.api-us1.com\\/api\\/3\\/contacts\\/8570\\/automationEntryCounts\"},\"id\":\"8570\",\"organization\":null}],\"fieldValue\":{\"field\":\"65\",\"value\":\"No\",\"contact\":\"8570\",\"cdate\":\"2025-12-16T12:30:11-06:00\",\"udate\":\"2025-12-16T12:30:11-06:00\",\"links\":{\"owner\":\"https:\\/\\/atman.api-us1.com\\/api\\/3\\/fieldValues\\/259542\\/owner\",\"field\":\"https:\\/\\/atman.api-us1.com\\/api\\/3\\/fieldValues\\/259542\\/field\"},\"owner\":\"8570\",\"id\":\"259542\"}}",
                        "is_error": false,
                        "tool_has_been_called": true,
                        "tool_latency_secs": 0.524593460000687628053128719329833984375,
                        "dynamic_variable_updates": [],
                        "type": "webhook"
                    }
                ],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 64,
                "conversation_turn_metrics": null,
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": "Thank you for clarifying. It sounds like this assessment isn't the right fit for you personally, and I don't want to take up any more of your time. Thank you for speaking with me today, Deanna. Have a great day!",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 65,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_llm_service_ttf_sentence": {
                            "elapsed_time": 0.62721450200115214101970195770263671875
                        },
                        "convai_llm_service_ttfb": {
                            "elapsed_time": 0.36807192700143787078559398651123046875
                        },
                        "convai_llm_service_tt_last_sentence": {
                            "elapsed_time": 0.89157933900060015730559825897216796875
                        },
                        "convai_tts_service_ttfb": {
                            "elapsed_time": 0.17469087700010277330875396728515625
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": {
                    "model_usage": {
                        "gemini-2.5-flash": {
                            "input": {
                                "tokens": 2569,
                                "price": 0.0003853500000000000154376511574128016945905983448028564453125
                            },
                            "input_cache_read": {
                                "tokens": 16069,
                                "price": 0
                            },
                            "input_cache_write": {
                                "tokens": 0,
                                "price": 0
                            },
                            "output_total": {
                                "tokens": 116,
                                "price": 6.9599999999999997697501530335983943587052635848522186279296875e-5
                            }
                        }
                    }
                },
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            },
            {
                "role": "user",
                "agent_metadata": null,
                "message": "Thank you, you too!",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 75,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_asr_trailing_service_latency": {
                            "elapsed_time": 0.36144551200050045736134052276611328125
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": "audio"
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": "You too!",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 78,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_llm_service_ttfb": {
                            "elapsed_time": 1.11243837599977268837392330169677734375
                        },
                        "convai_llm_tool_request_generation_latency": {
                            "elapsed_time": 1.113517886000408907420933246612548828125
                        },
                        "convai_tts_service_ttfb": {
                            "elapsed_time": 0.15010966800036840140819549560546875
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": null,
                "multivoice_message": null,
                "tool_calls": [
                    {
                        "type": "system",
                        "request_id": "end_call_9e7be63750764dd5b0ad576b31c60468",
                        "tool_name": "end_call",
                        "params_as_json": "{\"system__message_to_speak\": \"You too!\", \"reason\": \"The user is not in a decision-making role and not in HR, so the assessment is not relevant to them. They also thanked me and said goodbye.\"}",
                        "tool_has_been_called": true,
                        "tool_details": null
                    }
                ],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 78,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_llm_service_ttfb": {
                            "elapsed_time": 1.11243837599977268837392330169677734375
                        },
                        "convai_llm_tool_request_generation_latency": {
                            "elapsed_time": 1.113517886000408907420933246612548828125
                        },
                        "convai_tts_service_ttfb": {
                            "elapsed_time": 0.15010966800036840140819549560546875
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": null,
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [
                    {
                        "request_id": "end_call_9e7be63750764dd5b0ad576b31c60468",
                        "tool_name": "end_call",
                        "result_value": "{\"result_type\":\"end_call_success\",\"status\":\"success\",\"reason\":\"The user is not in a decision-making role and not in HR, so the assessment is not relevant to them. They also thanked me and said goodbye.\",\"message\":null}",
                        "is_error": false,
                        "tool_has_been_called": true,
                        "tool_latency_secs": 0.50112281499968958087265491485595703125,
                        "dynamic_variable_updates": [],
                        "type": "system",
                        "result": {
                            "result_type": "end_call_success",
                            "status": "success",
                            "reason": "The user is not in a decision-making role and not in HR, so the assessment is not relevant to them. They also thanked me and said goodbye.",
                            "message": null
                        }
                    }
                ],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 79,
                "conversation_turn_metrics": null,
                "rag_retrieval_info": null,
                "llm_usage": {
                    "model_usage": {
                        "gemini-2.5-flash": {
                            "input": {
                                "tokens": 629,
                                "price": 9.4349999999999989430676805568509735167026519775390625e-5
                            },
                            "input_cache_read": {
                                "tokens": 6750,
                                "price": 0
                            },
                            "input_cache_write": {
                                "tokens": 0,
                                "price": 0
                            },
                            "output_total": {
                                "tokens": 46,
                                "price": 2.759999999999999663346551825870989205213845707476139068603515625e-5
                            }
                        }
                    }
                },
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            }
        ],
        "metadata": {
            "start_time_unix_secs": 1765909747,
            "accepted_time_unix_secs": 1765909747,
            "call_duration_secs": 81,
            "cost": 547,
            "deletion_settings": {
                "deletion_time_unix_secs": null,
                "deleted_logs_at_time_unix_secs": null,
                "deleted_audio_at_time_unix_secs": null,
                "deleted_transcript_at_time_unix_secs": null,
                "delete_transcript_and_pii": false,
                "delete_audio": false
            },
            "feedback": {
                "type": null,
                "overall_score": null,
                "likes": 0,
                "dislikes": 0,
                "rating": null,
                "comment": null
            },
            "authorization_method": "signed_url",
            "charging": {
                "dev_discount": false,
                "is_burst": false,
                "tier": "creator",
                "llm_usage": {
                    "irreversible_generation": {
                        "model_usage": {
                            "gemini-2.5-flash": {
                                "input": {
                                    "tokens": 9722,
                                    "price": 0.001458300000000000047617465526172964018769562244415283203125
                                },
                                "input_cache_read": {
                                    "tokens": 31257,
                                    "price": 0
                                },
                                "input_cache_write": {
                                    "tokens": 0,
                                    "price": 0
                                },
                                "output_total": {
                                    "tokens": 345,
                                    "price": 0.0002069999999999999899975844375177302936208434402942657470703125
                                }
                            }
                        }
                    },
                    "initiated_generation": {
                        "model_usage": {
                            "gemini-2.5-flash": {
                                "input": {
                                    "tokens": 9722,
                                    "price": 0.001458300000000000047617465526172964018769562244415283203125
                                },
                                "input_cache_read": {
                                    "tokens": 31257,
                                    "price": 0
                                },
                                "input_cache_write": {
                                    "tokens": 0,
                                    "price": 0
                                },
                                "output_total": {
                                    "tokens": 345,
                                    "price": 0.00020699999999999996289253012538011944343452341854572296142578125
                                }
                            }
                        }
                    }
                },
                "llm_price": 0.00166529999999999998340494133941547261201776564121246337890625,
                "llm_charge": 8,
                "call_charge": 539,
                "free_minutes_consumed": 0,
                "free_llm_dollars_consumed": 0
            },
            "phone_call": {
                "direction": "outbound",
                "phone_number_id": "phnum_8001kc7mp2dtek4bn7dr084jydds",
                "agent_number": "+13438038625",
                "external_number": "7036350844",
                "type": "twilio",
                "stream_sid": "MZ343fbd8615170e21b476fa2f4ffd953a",
                "call_sid": "CA4396eea4d8af69c773cefe86b9f7892d"
            },
            "batch_call": {
                "batch_call_id": "btcal_9401kcm6r4mefj49td3a9k9t01am",
                "batch_call_recipient_id": "rcpt_6001kcm6r4mferd9tqh5fcw39cqe"
            },
            "termination_reason": "end_call tool was called.",
            "error": null,
            "warnings": [],
            "main_language": "en",
            "rag_usage": null,
            "text_only": false,
            "features_usage": {
                "language_detection": {
                    "enabled": true,
                    "used": false
                },
                "transfer_to_agent": {
                    "enabled": false,
                    "used": false
                },
                "transfer_to_number": {
                    "enabled": false,
                    "used": false
                },
                "multivoice": {
                    "enabled": false,
                    "used": false
                },
                "dtmf_tones": {
                    "enabled": false,
                    "used": false
                },
                "external_mcp_servers": {
                    "enabled": true,
                    "used": false
                },
                "pii_zrm_workspace": false,
                "pii_zrm_agent": false,
                "tool_dynamic_variable_updates": {
                    "enabled": false,
                    "used": false
                },
                "is_livekit": false,
                "voicemail_detection": {
                    "enabled": true,
                    "used": false
                },
                "workflow": {
                    "enabled": false,
                    "tool_node": {
                        "enabled": false,
                        "used": false
                    },
                    "standalone_agent_node": {
                        "enabled": false,
                        "used": false
                    },
                    "phone_number_node": {
                        "enabled": false,
                        "used": false
                    },
                    "end_node": {
                        "enabled": false,
                        "used": false
                    }
                },
                "agent_testing": {
                    "enabled": false,
                    "tests_ran_after_last_modification": false,
                    "tests_ran_in_last_7_days": false
                },
                "versioning": {
                    "enabled": false,
                    "used": false
                }
            },
            "eleven_assistant": {
                "is_eleven_assistant": false
            },
            "initiator_id": null,
            "conversation_initiation_source": "twilio",
            "conversation_initiation_source_version": null,
            "timezone": "America/New_York",
            "initiation_trigger": {
                "trigger_type": "default"
            },
            "async_metadata": null,
            "whatsapp": null,
            "agent_created_from": "ui",
            "agent_last_updated_from": "ui"
        },
        "analysis": {
            "evaluation_criteria_results": [],
            "data_collection_results": {
                "satisfaction_score": {
                    "data_collection_id": "satisfaction_score",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "Agent will collect the score from contact from 1 to 5",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "I cannot extract the score from the contact from 1 to 5 because there is no explicit mention of a score in the conversation."
                },
                "want_to_do_assessment": {
                    "data_collection_id": "want_to_do_assessment",
                    "value": "No",
                    "json_schema": {
                        "type": "string",
                        "description": "this has the value \"Yes\" or \"No\" based on the answer of the contact want to do assessment or not",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The contact declined to do the assessment. The tool call at 2025-12-16T13:30:10-05:00 confirms that the value should be 'No'."
                },
                "reason-for-no-assessment": {
                    "data_collection_id": "reason-for-no-assessment",
                    "value": "Not an HR or decision maker",
                    "json_schema": {
                        "type": "string",
                        "description": "When they said they don't want to do the assessment, asked them why, and store for the reason",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The user stated that they are not a decision maker in the company and are not in HR. This is the reason why they don't want to do the assessment. This information is captured in the tool call update_reason_for_no_assessment."
                }
            },
            "call_successful": "success",
            "transcript_summary": "The agent called Deanna to offer a leadership assessment. Deanna clarified she wasn't a decision-maker or in HR. The agent updated the contact's information to reflect this and that Deanna didn't want the assessment. The agent ended the call politely.\n",
            "call_summary_title": "Leadership Assessment Unsuitable Contact"
        },
        "conversation_initiation_client_data": {
            "conversation_config_override": {
                "turn": null,
                "tts": null,
                "conversation": null,
                "agent": null
            },
            "custom_llm_extra_body": [],
            "user_id": null,
            "source_info": {
                "source": null,
                "version": null
            },
            "dynamic_variables": {
                "contact_id": "8570",
                "email": "dschafer@beautifulhomeservices.com",
                "first_name": "Deanna",
                "system__agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                "system__agent_turns": 6,
                "system__current_agent_turns": 6,
                "system__current_subagent_turns": 6,
                "system__current_agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                "system__conversation_id": "conv_5901kcm6r57tf7kbmhzdd27d2wfw",
                "system__call_duration_secs": 80,
                "system__time_utc": "2025-12-16T18:30:28.495466+00:00",
                "system__time": "Tuesday, 13:30 16 December 2025",
                "system__timezone": "America/New_York",
                "system__caller_id": "+13438038625",
                "system__called_number": "7036350844",
                "system__call_sid": "CA4396eea4d8af69c773cefe86b9f7892d"
            }
        }
    }
}
========================================

========================================
📞 ElevenLabs Post-Call Webhook
🕒 Time: 2025-12-16 13:30:37
🌐 IP: 34.59.11.47
----------------------------------------
HEADERS:
  Content-Type: application/json
  Content-Length: 14830
  Accept-Encoding: gzip, deflate, br
  Accept: */*
  User-Agent: ElevenLabs/1.0
  Elevenlabs-Signature: t=1765909838,v0=5620c6857ca9779f69b7514abb5ac2aecca06fefbf4f1ef76aaaa1898dc8f8e0
  Host: bk.directobjective.com
----------------------------------------
PAYLOAD:
{
    "type": "post_call_transcription",
    "event_timestamp": 1765909838,
    "data": {
        "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
        "conversation_id": "conv_6601kcm6r4m2fvhr2ptnsf1jsnkv",
        "status": "done",
        "user_id": null,
        "branch_id": null,
        "transcript": [
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": "Hello, may I speak with Else?",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 0,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_tts_service_ttfb": {
                            "elapsed_time": 0.208364735999566619284451007843017578125
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            },
            {
                "role": "user",
                "agent_metadata": null,
                "message": "Yep, this is Elsie.",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 2,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_asr_trailing_service_latency": {
                            "elapsed_time": 0.223122920999230700545012950897216796875
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": "audio"
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": "Hi Else, I'm Ellen, and I'm calling on behalf of AtmanCo. Let me ask you a quick question! If we could help you uncover hidden leadership traits that can impact your team's performance, would you be...",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 5,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_llm_service_ttf_sentence": {
                            "elapsed_time": 0.56953605200033052824437618255615234375
                        },
                        "convai_llm_service_ttfb": {
                            "elapsed_time": 0.3290653299991390667855739593505859375
                        },
                        "convai_llm_service_tt_last_sentence": {
                            "elapsed_time": 0.916953332000048249028623104095458984375
                        },
                        "convai_tts_service_ttfb": {
                            "elapsed_time": 0.234111032999862800352275371551513671875
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": {
                    "model_usage": {
                        "gemini-2.5-flash": {
                            "input": {
                                "tokens": 686,
                                "price": 0.000102899999999999993967152167595457967763650231063365936279296875
                            },
                            "input_cache_read": {
                                "tokens": 4209,
                                "price": 0
                            },
                            "input_cache_write": {
                                "tokens": 0,
                                "price": 0
                            },
                            "output_total": {
                                "tokens": 61,
                                "price": 3.66000000000000019436709186582135089338407851755619049072265625e-5
                            }
                        }
                    }
                },
                "interrupted": true,
                "original_message": "Hi Else, I'm Ellen, and I'm calling on behalf of AtmanCo. Let me ask you a quick question! If we could help you uncover hidden leadership traits that can impact your team's performance, would you be open to a quick, free assessment to check them out?",
                "source_medium": null
            },
            {
                "role": "user",
                "agent_metadata": null,
                "message": "Wait, who are you calling from? Sorry.",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 13,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_asr_trailing_service_latency": {
                            "elapsed_time": 0.236866454999471898190677165985107421875
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": "audio"
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": "No problem at all, Else...",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 17,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_llm_service_ttf_sentence": {
                            "elapsed_time": 0.600237827000455581583082675933837890625
                        },
                        "convai_llm_service_ttfb": {
                            "elapsed_time": 0.3824992869995185174047946929931640625
                        },
                        "convai_llm_service_tt_last_sentence": {
                            "elapsed_time": 0.741301574000317486934363842010498046875
                        },
                        "convai_tts_service_ttfb": {
                            "elapsed_time": 0.210532174000036320649087429046630859375
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": {
                    "model_usage": {
                        "gemini-2.5-flash": {
                            "input": {
                                "tokens": 735,
                                "price": 0.000110249999999999996440347427295591842266730964183807373046875
                            },
                            "input_cache_read": {
                                "tokens": 4220,
                                "price": 0
                            },
                            "input_cache_write": {
                                "tokens": 0,
                                "price": 0
                            },
                            "output_total": {
                                "tokens": 31,
                                "price": 1.85999999999999980995236958936089877170161344110965728759765625e-5
                            }
                        }
                    }
                },
                "interrupted": true,
                "original_message": "No problem at all, Else. I'm calling from AtmanCo. We specialize in helping organizations like yours enhance their leadership capabilities through insightful assessments.",
                "source_medium": null
            },
            {
                "role": "user",
                "agent_metadata": null,
                "message": "Who are you calling?",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 18,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_asr_trailing_service_latency": {
                            "elapsed_time": 0.21057510999889927916228771209716796875
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": "audio"
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": "Else, I am calling on behalf of AtmanCo. We specialize in helping organizations improve their leadership capabilities. I...",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 20,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_llm_service_ttf_sentence": {
                            "elapsed_time": 0.849986727000214159488677978515625
                        },
                        "convai_llm_service_ttfb": {
                            "elapsed_time": 0.448481741999785299412906169891357421875
                        },
                        "convai_llm_service_tt_last_sentence": {
                            "elapsed_time": 1.22079618600037065334618091583251953125
                        },
                        "convai_tts_service_ttfb": {
                            "elapsed_time": 0.2068921079990104772150516510009765625
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": {
                    "model_usage": {
                        "gemini-2.5-flash": {
                            "input": {
                                "tokens": 47,
                                "price": 7.0499999999999994162763923555292677747274865396320819854736328125e-6
                            },
                            "input_cache_read": {
                                "tokens": 4920,
                                "price": 0
                            },
                            "input_cache_write": {
                                "tokens": 0,
                                "price": 0
                            },
                            "output_total": {
                                "tokens": 51,
                                "price": 3.0599999999999998403533985058544431012705899775028228759765625e-5
                            }
                        }
                    }
                },
                "interrupted": true,
                "original_message": "Else, I am calling on behalf of AtmanCo. We specialize in helping organizations improve their leadership capabilities. I was just asking if you would be open to a quick, free assessment to uncover hidden leadership traits that can impact your team's performance?",
                "source_medium": null
            },
            {
                "role": "user",
                "agent_metadata": null,
                "message": "Okay. Is this for an HR service? Because I am no longer working right now. I'm on disability. So if this has anything to do with my company, please do not call this number.",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 27,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_asr_trailing_service_latency": {
                            "elapsed_time": 0.247866383999280515126883983612060546875
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": "audio"
            },
            {
                "role": "agent",
                "agent_metadata": {
                    "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                    "branch_id": null,
                    "workflow_node_id": null
                },
                "message": "I completely understand, Else. This call is not related to your previous company or employment. It's a general offer for a free online leadership assessment and a one-on-one interpretation session that can help individuals uncover their leadership traits. It's not tied to any specific job or company. Would you be open to a quick, free assessment to check them...",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 40,
                "conversation_turn_metrics": {
                    "metrics": {
                        "convai_llm_service_ttf_sentence": {
                            "elapsed_time": 0.77802277400041930377483367919921875
                        },
                        "convai_llm_service_ttfb": {
                            "elapsed_time": 0.641342609000275842845439910888671875
                        },
                        "convai_llm_service_tt_last_sentence": {
                            "elapsed_time": 1.19991150300120352767407894134521484375
                        },
                        "convai_tts_service_ttfb": {
                            "elapsed_time": 0.31710455500069656409323215484619140625
                        }
                    }
                },
                "rag_retrieval_info": null,
                "llm_usage": {
                    "model_usage": {
                        "gemini-2.5-flash": {
                            "input": {
                                "tokens": 5033,
                                "price": 0.000754949999999999891986401934218520182184875011444091796875
                            },
                            "input_cache_read": {
                                "tokens": 0,
                                "price": 0
                            },
                            "input_cache_write": {
                                "tokens": 0,
                                "price": 0
                            },
                            "output_total": {
                                "tokens": 75,
                                "price": 4.50000000000000028341044788771085904954816214740276336669921875e-5
                            }
                        }
                    }
                },
                "interrupted": true,
                "original_message": "I completely understand, Else. This call is not related to your previous company or employment. It's a general offer for a free online leadership assessment and a one-on-one interpretation session that can help individuals uncover their leadership traits. It's not tied to any specific job or company. Would you be open to a quick, free assessment to check them out?",
                "source_medium": null
            },
            {
                "role": "user",
                "agent_metadata": null,
                "message": "I'm just dealing with a cancer diagnosis right now. I really don't need to be doing this kind of stuff. I'm sorry. I'm sorry, but thank you. Bye.",
                "multivoice_message": null,
                "tool_calls": [],
                "tool_results": [],
                "feedback": null,
                "llm_override": null,
                "time_in_call_secs": 57,
                "conversation_turn_metrics": null,
                "rag_retrieval_info": null,
                "llm_usage": null,
                "interrupted": false,
                "original_message": null,
                "source_medium": null
            }
        ],
        "metadata": {
            "start_time_unix_secs": 1765909765,
            "accepted_time_unix_secs": 1765909765,
            "call_duration_secs": 68,
            "cost": 470,
            "deletion_settings": {
                "deletion_time_unix_secs": null,
                "deleted_logs_at_time_unix_secs": null,
                "deleted_audio_at_time_unix_secs": null,
                "deleted_transcript_at_time_unix_secs": null,
                "delete_transcript_and_pii": false,
                "delete_audio": false
            },
            "feedback": {
                "type": null,
                "overall_score": null,
                "likes": 0,
                "dislikes": 0,
                "rating": null,
                "comment": null
            },
            "authorization_method": "signed_url",
            "charging": {
                "dev_discount": false,
                "is_burst": false,
                "tier": "creator",
                "llm_usage": {
                    "irreversible_generation": {
                        "model_usage": {
                            "gemini-2.5-flash": {
                                "input": {
                                    "tokens": 6501,
                                    "price": 0.00097514999999999993178512180946881926502101123332977294921875
                                },
                                "input_cache_read": {
                                    "tokens": 13349,
                                    "price": 0
                                },
                                "input_cache_write": {
                                    "tokens": 0,
                                    "price": 0
                                },
                                "output_total": {
                                    "tokens": 218,
                                    "price": 0.00013080000000000000805709665652187823070562444627285003662109375
                                }
                            }
                        }
                    },
                    "initiated_generation": {
                        "model_usage": {
                            "gemini-2.5-flash": {
                                "input": {
                                    "tokens": 22781,
                                    "price": 0.003417149999999999875066603038931134506128728389739990234375
                                },
                                "input_cache_read": {
                                    "tokens": 13349,
                                    "price": 0
                                },
                                "input_cache_write": {
                                    "tokens": 0,
                                    "price": 0
                                },
                                "output_total": {
                                    "tokens": 255,
                                    "price": 0.00015300000000000000557019708136152758015668950974941253662109375
                                }
                            }
                        }
                    }
                },
                "llm_price": 0.0035701499999999997993216371838798295357264578342437744140625,
                "llm_charge": 17,
                "call_charge": 453,
                "free_minutes_consumed": 0,
                "free_llm_dollars_consumed": 0
            },
            "phone_call": {
                "direction": "outbound",
                "phone_number_id": "phnum_8001kc7mp2dtek4bn7dr084jydds",
                "agent_number": "+13438038625",
                "external_number": "7812345636",
                "type": "twilio",
                "stream_sid": "MZ7e9e5d0f3831bff0441351d3451eed8f",
                "call_sid": "CA35dd99aa55f0e9c220e0a2fdf307b823"
            },
            "batch_call": {
                "batch_call_id": "btcal_5601kcm6r4a4fdxb98fmnmk0w5f9",
                "batch_call_recipient_id": "rcpt_7301kcm6r4a6e9zvv2bcjry149j5"
            },
            "termination_reason": "Call ended by remote party",
            "error": null,
            "warnings": [],
            "main_language": "en",
            "rag_usage": null,
            "text_only": false,
            "features_usage": {
                "language_detection": {
                    "enabled": true,
                    "used": false
                },
                "transfer_to_agent": {
                    "enabled": false,
                    "used": false
                },
                "transfer_to_number": {
                    "enabled": false,
                    "used": false
                },
                "multivoice": {
                    "enabled": false,
                    "used": false
                },
                "dtmf_tones": {
                    "enabled": false,
                    "used": false
                },
                "external_mcp_servers": {
                    "enabled": true,
                    "used": false
                },
                "pii_zrm_workspace": false,
                "pii_zrm_agent": false,
                "tool_dynamic_variable_updates": {
                    "enabled": false,
                    "used": false
                },
                "is_livekit": false,
                "voicemail_detection": {
                    "enabled": true,
                    "used": false
                },
                "workflow": {
                    "enabled": false,
                    "tool_node": {
                        "enabled": false,
                        "used": false
                    },
                    "standalone_agent_node": {
                        "enabled": false,
                        "used": false
                    },
                    "phone_number_node": {
                        "enabled": false,
                        "used": false
                    },
                    "end_node": {
                        "enabled": false,
                        "used": false
                    }
                },
                "agent_testing": {
                    "enabled": false,
                    "tests_ran_after_last_modification": false,
                    "tests_ran_in_last_7_days": false
                },
                "versioning": {
                    "enabled": false,
                    "used": false
                }
            },
            "eleven_assistant": {
                "is_eleven_assistant": false
            },
            "initiator_id": null,
            "conversation_initiation_source": "twilio",
            "conversation_initiation_source_version": null,
            "timezone": "America/New_York",
            "initiation_trigger": {
                "trigger_type": "default"
            },
            "async_metadata": null,
            "whatsapp": null,
            "agent_created_from": "ui",
            "agent_last_updated_from": "ui"
        },
        "analysis": {
            "evaluation_criteria_results": [],
            "data_collection_results": {
                "satisfaction_score": {
                    "data_collection_id": "satisfaction_score",
                    "value": null,
                    "json_schema": {
                        "type": "string",
                        "description": "Agent will collect the score from contact from 1 to 5",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The conversation does not contain any explicit score from the contact from 1 to 5. Therefore, it is not possible to extract the data."
                },
                "want_to_do_assessment": {
                    "data_collection_id": "want_to_do_assessment",
                    "value": "No",
                    "json_schema": {
                        "type": "string",
                        "description": "this has the value \"Yes\" or \"No\" based on the answer of the contact want to do assessment or not",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The contact declines the offer for a free online leadership assessment due to dealing with a cancer diagnosis. Therefore, the contact does not want to do the assessment."
                },
                "reason-for-no-assessment": {
                    "data_collection_id": "reason-for-no-assessment",
                    "value": "dealing with a cancer diagnosis",
                    "json_schema": {
                        "type": "string",
                        "description": "When they said they don't want to do the assessment, asked them why, and store for the reason",
                        "enum": null,
                        "is_system_provided": false,
                        "dynamic_variable": "",
                        "constant_value": ""
                    },
                    "rationale": "The user stated they don't want to do the assessment because they are dealing with a cancer diagnosis. This is the reason why they don't want to do the assessment."
                }
            },
            "call_successful": "success",
            "transcript_summary": "Ellen from AtmanCo called Else to offer a free leadership assessment. Else clarified she's on disability and not working, and expressed she's dealing with a cancer diagnosis and not interested. The call ended politely.\n",
            "call_summary_title": "Unwanted sales call"
        },
        "conversation_initiation_client_data": {
            "conversation_config_override": {
                "turn": null,
                "tts": null,
                "conversation": null,
                "agent": null
            },
            "custom_llm_extra_body": [],
            "user_id": null,
            "source_info": {
                "source": null,
                "version": null
            },
            "dynamic_variables": {
                "contact_id": "8483",
                "email": "eeaton@gouspack.com",
                "first_name": "Else",
                "system__agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                "system__agent_turns": 5,
                "system__current_agent_turns": 5,
                "system__current_subagent_turns": 5,
                "system__current_agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                "system__conversation_id": "conv_6601kcm6r4m2fvhr2ptnsf1jsnkv",
                "system__call_duration_secs": 67,
                "system__time_utc": "2025-12-16T18:30:33.092124+00:00",
                "system__time": "Tuesday, 13:30 16 December 2025",
                "system__timezone": "America/New_York",
                "system__caller_id": "+13438038625",
                "system__called_number": "7812345636",
                "system__call_sid": "CA35dd99aa55f0e9c220e0a2fdf307b823"
            }
        }
    }
}
========================================

========================================
📞 ElevenLabs Post-Call Webhook
🕒 Time: 2025-12-16 13:35:39
🌐 IP: 34.59.11.47
----------------------------------------
HEADERS:
  Content-Type: application/json
  Content-Length: 4477
  Accept-Encoding: gzip, deflate, br
  Accept: */*
  User-Agent: ElevenLabs/1.0
  Elevenlabs-Signature: t=1765910140,v0=d12b7ca07142f3a74d0bc1ee5442dd144832bc60816b6e34f3ff627d14c0127b
  Host: bk.directobjective.com
----------------------------------------
PAYLOAD:
{
    "type": "post_call_transcription",
    "event_timestamp": 1765910140,
    "data": {
        "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
        "conversation_id": "conv_8901kcm74jzdfbnahva3w402hy1p",
        "status": "failed",
        "user_id": null,
        "branch_id": null,
        "transcript": [],
        "metadata": {
            "start_time_unix_secs": 1765910138,
            "accepted_time_unix_secs": 1765910138,
            "call_duration_secs": 1,
            "cost": 10,
            "deletion_settings": {
                "deletion_time_unix_secs": null,
                "deleted_logs_at_time_unix_secs": null,
                "deleted_audio_at_time_unix_secs": null,
                "deleted_transcript_at_time_unix_secs": null,
                "delete_transcript_and_pii": false,
                "delete_audio": false
            },
            "feedback": {
                "type": null,
                "overall_score": null,
                "likes": 0,
                "dislikes": 0,
                "rating": null,
                "comment": null
            },
            "authorization_method": "signed_url",
            "charging": {
                "dev_discount": false,
                "is_burst": false,
                "tier": "creator",
                "llm_usage": {
                    "irreversible_generation": {
                        "model_usage": []
                    },
                    "initiated_generation": {
                        "model_usage": []
                    }
                },
                "llm_price": 0,
                "llm_charge": 0,
                "call_charge": 10,
                "free_minutes_consumed": 0,
                "free_llm_dollars_consumed": 0
            },
            "phone_call": {
                "direction": "inbound",
                "phone_number_id": "phnum_8001kc7mp2dtek4bn7dr084jydds",
                "agent_number": "+13438038625",
                "external_number": "+16168850784",
                "type": "twilio",
                "stream_sid": "MZ5e6c2b36c20de7f9c754a67551d71dcb",
                "call_sid": "CA1da9173db8c0a36561a8fe1ecb136350"
            },
            "batch_call": null,
            "termination_reason": "Missing required dynamic variables in first message: {'first_name'}",
            "error": {
                "code": 1008,
                "reason": "Missing required dynamic variables in first message: {'first_name'}"
            },
            "warnings": [],
            "main_language": "en",
            "rag_usage": null,
            "text_only": false,
            "features_usage": {
                "language_detection": {
                    "enabled": true,
                    "used": false
                },
                "transfer_to_agent": {
                    "enabled": false,
                    "used": false
                },
                "transfer_to_number": {
                    "enabled": false,
                    "used": false
                },
                "multivoice": {
                    "enabled": false,
                    "used": false
                },
                "dtmf_tones": {
                    "enabled": false,
                    "used": false
                },
                "external_mcp_servers": {
                    "enabled": true,
                    "used": false
                },
                "pii_zrm_workspace": false,
                "pii_zrm_agent": false,
                "tool_dynamic_variable_updates": {
                    "enabled": false,
                    "used": false
                },
                "is_livekit": false,
                "voicemail_detection": {
                    "enabled": true,
                    "used": false
                },
                "workflow": {
                    "enabled": false,
                    "tool_node": {
                        "enabled": false,
                        "used": false
                    },
                    "standalone_agent_node": {
                        "enabled": false,
                        "used": false
                    },
                    "phone_number_node": {
                        "enabled": false,
                        "used": false
                    },
                    "end_node": {
                        "enabled": false,
                        "used": false
                    }
                },
                "agent_testing": {
                    "enabled": false,
                    "tests_ran_after_last_modification": false,
                    "tests_ran_in_last_7_days": false
                },
                "versioning": {
                    "enabled": false,
                    "used": false
                }
            },
            "eleven_assistant": {
                "is_eleven_assistant": false
            },
            "initiator_id": null,
            "conversation_initiation_source": "twilio",
            "conversation_initiation_source_version": null,
            "timezone": "America/New_York",
            "initiation_trigger": {
                "trigger_type": "default"
            },
            "async_metadata": null,
            "whatsapp": null,
            "agent_created_from": "ui",
            "agent_last_updated_from": "ui"
        },
        "analysis": {
            "evaluation_criteria_results": [],
            "data_collection_results": {
                "satisfaction_score": {
                    "data_collection_id": "satisfaction_score",
                    "value": null,
                    "json_schema": null,
                    "rationale": "No transcript to evaluate"
                },
                "want_to_do_assessment": {
                    "data_collection_id": "want_to_do_assessment",
                    "value": null,
                    "json_schema": null,
                    "rationale": "No transcript to evaluate"
                },
                "reason-for-no-assessment": {
                    "data_collection_id": "reason-for-no-assessment",
                    "value": null,
                    "json_schema": null,
                    "rationale": "No transcript to evaluate"
                }
            },
            "call_successful": "unknown",
            "transcript_summary": "Summary couldn't be generated for this call.",
            "call_summary_title": null
        },
        "conversation_initiation_client_data": {
            "conversation_config_override": {
                "turn": null,
                "tts": null,
                "conversation": null,
                "agent": null
            },
            "custom_llm_extra_body": [],
            "user_id": null,
            "source_info": {
                "source": null,
                "version": null
            },
            "dynamic_variables": {
                "system__agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                "system__agent_turns": 0,
                "system__current_agent_turns": 0,
                "system__current_subagent_turns": 0,
                "system__current_agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                "system__conversation_id": "conv_8901kcm74jzdfbnahva3w402hy1p",
                "system__call_duration_secs": 1,
                "system__time_utc": "2025-12-16T18:35:39.474325+00:00",
                "system__time": "Tuesday, 13:35 16 December 2025",
                "system__timezone": "America/New_York",
                "system__caller_id": "+16168850784",
                "system__called_number": "+13438038625",
                "system__call_sid": "CA1da9173db8c0a36561a8fe1ecb136350"
            }
        }
    }
}
========================================

========================================
📞 ElevenLabs Post-Call Webhook
🕒 Time: 2025-12-16 13:36:16
🌐 IP: 34.59.11.47
----------------------------------------
HEADERS:
  Content-Type: application/json
  Content-Length: 4477
  Accept-Encoding: gzip, deflate, br
  Accept: */*
  User-Agent: ElevenLabs/1.0
  Elevenlabs-Signature: t=1765910177,v0=33143da843df991ad43ddaa9e0dfb78905f4c1acb5d75b2ba9eb428cb6bce792
  Host: bk.directobjective.com
----------------------------------------
PAYLOAD:
{
    "type": "post_call_transcription",
    "event_timestamp": 1765910177,
    "data": {
        "agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
        "conversation_id": "conv_8401kcm75m84fbm8fw0qq0ymjdqf",
        "status": "failed",
        "user_id": null,
        "branch_id": null,
        "transcript": [],
        "metadata": {
            "start_time_unix_secs": 1765910172,
            "accepted_time_unix_secs": 1765910172,
            "call_duration_secs": 4,
            "cost": 27,
            "deletion_settings": {
                "deletion_time_unix_secs": null,
                "deleted_logs_at_time_unix_secs": null,
                "deleted_audio_at_time_unix_secs": null,
                "deleted_transcript_at_time_unix_secs": null,
                "delete_transcript_and_pii": false,
                "delete_audio": false
            },
            "feedback": {
                "type": null,
                "overall_score": null,
                "likes": 0,
                "dislikes": 0,
                "rating": null,
                "comment": null
            },
            "authorization_method": "signed_url",
            "charging": {
                "dev_discount": false,
                "is_burst": false,
                "tier": "creator",
                "llm_usage": {
                    "irreversible_generation": {
                        "model_usage": []
                    },
                    "initiated_generation": {
                        "model_usage": []
                    }
                },
                "llm_price": 0,
                "llm_charge": 0,
                "call_charge": 27,
                "free_minutes_consumed": 0,
                "free_llm_dollars_consumed": 0
            },
            "phone_call": {
                "direction": "inbound",
                "phone_number_id": "phnum_8001kc7mp2dtek4bn7dr084jydds",
                "agent_number": "+13438038625",
                "external_number": "+16168850784",
                "type": "twilio",
                "stream_sid": "MZ928712a19d80d95160e5aea2dfd5ad8d",
                "call_sid": "CA1950406c13e9f67b250ad71f7bbc8d0c"
            },
            "batch_call": null,
            "termination_reason": "Missing required dynamic variables in first message: {'first_name'}",
            "error": {
                "code": 1008,
                "reason": "Missing required dynamic variables in first message: {'first_name'}"
            },
            "warnings": [],
            "main_language": "en",
            "rag_usage": null,
            "text_only": false,
            "features_usage": {
                "language_detection": {
                    "enabled": true,
                    "used": false
                },
                "transfer_to_agent": {
                    "enabled": false,
                    "used": false
                },
                "transfer_to_number": {
                    "enabled": false,
                    "used": false
                },
                "multivoice": {
                    "enabled": false,
                    "used": false
                },
                "dtmf_tones": {
                    "enabled": false,
                    "used": false
                },
                "external_mcp_servers": {
                    "enabled": true,
                    "used": false
                },
                "pii_zrm_workspace": false,
                "pii_zrm_agent": false,
                "tool_dynamic_variable_updates": {
                    "enabled": false,
                    "used": false
                },
                "is_livekit": false,
                "voicemail_detection": {
                    "enabled": true,
                    "used": false
                },
                "workflow": {
                    "enabled": false,
                    "tool_node": {
                        "enabled": false,
                        "used": false
                    },
                    "standalone_agent_node": {
                        "enabled": false,
                        "used": false
                    },
                    "phone_number_node": {
                        "enabled": false,
                        "used": false
                    },
                    "end_node": {
                        "enabled": false,
                        "used": false
                    }
                },
                "agent_testing": {
                    "enabled": false,
                    "tests_ran_after_last_modification": false,
                    "tests_ran_in_last_7_days": false
                },
                "versioning": {
                    "enabled": false,
                    "used": false
                }
            },
            "eleven_assistant": {
                "is_eleven_assistant": false
            },
            "initiator_id": null,
            "conversation_initiation_source": "twilio",
            "conversation_initiation_source_version": null,
            "timezone": "America/New_York",
            "initiation_trigger": {
                "trigger_type": "default"
            },
            "async_metadata": null,
            "whatsapp": null,
            "agent_created_from": "ui",
            "agent_last_updated_from": "ui"
        },
        "analysis": {
            "evaluation_criteria_results": [],
            "data_collection_results": {
                "satisfaction_score": {
                    "data_collection_id": "satisfaction_score",
                    "value": null,
                    "json_schema": null,
                    "rationale": "No transcript to evaluate"
                },
                "want_to_do_assessment": {
                    "data_collection_id": "want_to_do_assessment",
                    "value": null,
                    "json_schema": null,
                    "rationale": "No transcript to evaluate"
                },
                "reason-for-no-assessment": {
                    "data_collection_id": "reason-for-no-assessment",
                    "value": null,
                    "json_schema": null,
                    "rationale": "No transcript to evaluate"
                }
            },
            "call_successful": "unknown",
            "transcript_summary": "Summary couldn't be generated for this call.",
            "call_summary_title": null
        },
        "conversation_initiation_client_data": {
            "conversation_config_override": {
                "turn": null,
                "tts": null,
                "conversation": null,
                "agent": null
            },
            "custom_llm_extra_body": [],
            "user_id": null,
            "source_info": {
                "source": null,
                "version": null
            },
            "dynamic_variables": {
                "system__agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                "system__agent_turns": 0,
                "system__current_agent_turns": 0,
                "system__current_subagent_turns": 0,
                "system__current_agent_id": "agent_2801kbjx10f5e9sv7h0ccpmse9gq",
                "system__conversation_id": "conv_8401kcm75m84fbm8fw0qq0ymjdqf",
                "system__call_duration_secs": 4,
                "system__time_utc": "2025-12-16T18:36:16.174859+00:00",
                "system__time": "Tuesday, 13:36 16 December 2025",
                "system__timezone": "America/New_York",
                "system__caller_id": "+16168850784",
                "system__called_number": "+13438038625",
                "system__call_sid": "CA1950406c13e9f67b250ad71f7bbc8d0c"
            }
        }
    }
}
========================================
