Your expertise is structuring insurance call dialogues into standardized JSON output, tagging speakers, fixing grammar, and capturing essential metadata insights. **user_prompt:** Take the provided insurance call transcript and structure it into JSON by addressing these tasks:
1. Identify Speakers: Properly tag &quot;Agent&quot;, &quot;Supervisor&quot; and &quot;Client.&quot;
2. Correct Grammar &amp; Clarity: Fix all grammatical errors while preserving meaning.
3. Structure the Conversation: Organize the dialogue logically.
4. Tag Call Completion: {0: &quot;Incomplete&quot;, 1: &quot;Complete&quot;} (Incomplete if the call was cut off, unanswered, or not fully concluded).
5. Extract Key Insights:
   - Client Age: {1: &quot;known&quot;, 0: &quot;unknown&quot;} integer if known otherwise 0
   - Identify Client Gender: {0: &quot;Male&quot;, 1: &quot;Female&quot;, 2: &quot;Unknown&quot;}
   - Call Outcome: {0: &quot;Not interested&quot;, 1: &quot;Interested&quot;, 2: &quot;Needs Follow-up&quot;, 3: &quot;Hung Up&quot;, 4: &quot;Not Eligible&quot;}
   - Client Insurance Status&quot;: {0: &quot;Not disclosed&quot;, 1: &quot;Has insurance&quot;, 2: &quot;Does not have insurance&quot;}
   - Client Objections &amp; Agent’s Responses
   - Decision Maker Confirmation: {0: &quot;No&quot;, 1: &quot;Yes&quot;, 2: &quot;unknown&quot;}
   - Client Sentiment: 0-9  (scale defined below)
   - Follow Up: {0: &quot;Not required&quot;, 1: &quot;Required&quot;}
   - Agent Performance: 0-9 (scale defined below)
   - Agent Persuasiveness: 0-4 (scale defined below)
   - Transfer Success: {0: &quot;Not Transferred&quot;, 1: &quot;Transferred&quot;}
   - Call Drop Reason: {0: &quot;Client Disengaged&quot;, 1: &quot;Technical Issue&quot;, 2: &quot;Agent Ended&quot;, 3: &quot;Client Hung Up&quot;, 4: &quot;Unknown&quot;}
   - Follow-up Type Required: {0: &quot;Not required&quot;, 1: &quot;Call&quot;, 2: &quot;Email&quot;, 3: &quot;In-person meeting&quot;}
   - Permission Confirmation: {0: &quot;No&quot;, 1: &quot;Yes&quot;, 2: &quot;Not Required&quot;} (detect if the client agreed to proceed with the call)
   - Do Not Call (DNC) Indicators: {0: &quot;No&quot;, 1: &quot;Yes&quot;} (if the client requests not to be contacted again)
   - Misrepresentation Risk: {0: &quot;No&quot;, 1: &quot;Yes&quot;} (flag if the agent made misleading statements)

Client Sentiment Scale (0-9) = {
    0: &quot;Extremely Negative&quot;,  # The client is angry, frustrated, or hostile. Very tense conversation.
    1: &quot;Highly Negative&quot;,  # The client is annoyed, upset, or dismissive, but not outright aggressive.
    2: &quot;Negative&quot;,  # The client is disinterested and quickly cuts off the agent.
    3: &quot;Somewhat Negative&quot;,  # The client is uninterested but polite.
    4: &quot;Slightly Negative&quot;,  # The client declines but listens briefly before rejecting the offer.
    5: &quot;Neutral&quot;,  # The client neither expresses strong rejection nor interest.
    6: &quot;Slightly Positive&quot;,  # The client engages in conversation but is hesitant.
    7: &quot;Somewhat Positive&quot;,  # The client shows genuine interest but has some reservations.
    8: &quot;Positive&quot;,  # The client is interested and may want to proceed but needs more details.
    9: &quot;Highly Positive&quot;  # The client is very engaged, excited, or ready to proceed.
}

Agent Performance Scale (0-9)= {
    0: &quot;Extremely Poor&quot;,  # Agent is unprofessional, rude, or misleading. May have upset the client.
    1: &quot;Very Poor&quot;,  # Agent is struggling to engage, lacks confidence, or is making mistakes.
    2: &quot;Poor&quot;,  # Agent fails to handle objections or provide clear information.
    3: &quot;Below Average&quot;,  # Agent is trying but is ineffective in guiding the conversation.
    4: &quot;Slightly Below Average&quot;,  # Agent communicates but does not engage well.
    5: &quot;Average&quot;,  # Agent follows the script but lacks enthusiasm or adaptability.
    6: &quot;Above Average&quot;,  # Agent engages well but could improve in persuasion or handling objections.
    7: &quot;Good&quot;,  # Agent is professional, confident, and handles objections effectively.
    8: &quot;Very Good&quot;,  # Agent is persuasive, clear, and builds strong rapport.
    9: &quot;Excellent&quot;  # Agent is highly skilled, engaging, and successfully leads the conversation.
}

Agent Persuasiveness Scale (0-4) = {
  0: &quot;Not Persuasive&quot;,  # Fails to overcome objections, lacks confidence.
  1: &quot;Low Persuasiveness&quot;,  # Struggles but attempts to address concerns.
  2: &quot;Moderate Persuasiveness&quot;,  # Can handle objections but lacks strong influence.
  3: &quot;Highly Persuasive&quot;,  # Overcomes objections well, leads conversation.
  4: &quot;Extremely Persuasive&quot;  # Strongly convinces the client, high success rate.
}

You must return the structured output in JSON format. The keys must remain consistent. Do not add any explanations.

Input:  
An unstructured call transcript where:
- Speaker labels may be missing.
- The conversation may contain grammatical mistakes.
- The flow may be disorganized.

Output Format:
A JSON object with:
- Structured conversation
- Completion status
- Key metadata insights
- Same dictionary keys for consistency

Example Output (JSON Format)

```json
{
  &quot;agent_name&quot;: &quot;Ethan&quot;,
  &quot;permission_confirmation&quot;: 2,
  &quot;client_age&quot;: 80,
  &quot;client_gender&quot;: 1,
  &quot;client_decision_maker&quot;: 1,
  &quot;client_insurance_status&quot;: 1,
  &quot;call_transcript&quot;: [
    {
      &quot;speaker&quot;: &quot;Agent&quot;,
      &quot;text&quot;: &quot;Hello, good morning! This is Ethan. How are you today?&quot;
    },
    {
      &quot;speaker&quot;: &quot;Client&quot;,
      &quot;text&quot;: &quot;I&#x27;m fine.&quot;
    },
    {
      &quot;speaker&quot;: &quot;Agent&quot;,
      &quot;text&quot;: &quot;That’s great! May God bless you. I&#x27;m calling because the state has approved an annual cost final expense program. To check if you qualify, may I ask how old you are?&quot;
    },
    {
      &quot;speaker&quot;: &quot;Client&quot;,
      &quot;text&quot;: &quot;I&#x27;m 80 years old and I already have insurance, but I’m not interested. Thank you.&quot;
    },
    {
      &quot;speaker&quot;: &quot;Agent&quot;,
      &quot;text&quot;: &quot;No problem! I’m not asking you to buy or change your plan. I just want to ensure you&#x27;re aware of updated benefits you might be missing.&quot;
    },
    {
      &quot;speaker&quot;: &quot;Client&quot;,
      &quot;text&quot;: &quot;No, I’m still not interested.&quot;
    },
    {
      &quot;speaker&quot;: &quot;Agent&quot;,
      &quot;text&quot;: &quot;I understand. Just to confirm, at the age of 80, do you make your own financial decisions?&quot;
    },
    {
      &quot;speaker&quot;: &quot;Client&quot;,
      &quot;text&quot;: &quot;Yes, I do.&quot;
    },
    {
      &quot;speaker&quot;: &quot;Agent&quot;,
      &quot;text&quot;: &quot;Alright, I appreciate your time. Have a great day!&quot;
    },
    {
      &quot;speaker&quot;: &quot;Client&quot;,
      &quot;text&quot;: &quot;You too. Goodbye.&quot;
    }
  ],
  &quot;call_completion&quot;: 1,
  &quot;call_outcome&quot;: 0,
  &quot;client_objection&quot;: &quot;I&#x27;m not interested.&quot;,
  &quot;agent_objection_response&quot;: &quot;Explained that it’s not about buying but about updated benefits.&quot;,
  &quot;client_sentiment&quot;: 5,
  &quot;follow_up&quot;: 0,
  &quot;follow_up_type&quot;: 0,
  &quot;agent_performance&quot;: 6,
  &quot;agent_persuasiveness_score&quot;: 2,
  &quot;transfer_success_rate&quot;: 0,
  &quot;call_drop_reason&quot;: 3,
  &quot;do_not_call&quot;: 0,
  &quot;misrepresentation_risk&quot;: 0,
}

Unstructured Transcript:
Speaker A: Yeah, this is Sophia. How are you doing today?

Speaker B: All right.

Speaker A: Very good to know that. Well, I&#x27;m calling you regarding your coverage that I recently approved in your state. I believe you&#x27;re living in the beautiful state of Georgia, am I right?

Speaker B: Yes.

Speaker A: That&#x27;s great. And how old are you, by the way?

Speaker B: What is pretty.

Speaker A: It&#x27;s about life insurance, ma&#x27;am. Do you have life insurance at the moment?

Speaker B: Yes, I do.

Speaker A: Can I say something before you go?

Speaker B: Yes, go ahead.

Speaker A: Nobody&#x27;s talking about to buy or purchase anything. We are just providing you the free information. It&#x27;s a review and information call. Nobody&#x27;s talking about to buy anything, to pay anything or to purchase anything. Okay. This is just information. I&#x27;m not going to sell you anything. So, first of all, we need to know, how young are you?

Speaker B: I just turned 64 February 1st.

Speaker A: That&#x27;s great. You turned 64 February 1st. That&#x27;s great. I can see here you&#x27;re living in the state of Georgia for a long time. You born and you raised here or you moved here?

Speaker B: I moved here.

Speaker A: Okay. What&#x27;s your zip code down there in Georgia? Is it 30301126?

Speaker B: Yes.

Speaker A: Okay, that&#x27;s great. Thank you so much for confirmation. I can see here by your sound, you are healthy and fit, lady. So I believe you don&#x27;t have any kind of major health condition and you&#x27;re not living in a nursing home. By the grace of God, you are healthy and fit, lady. Right?

Speaker B: I don&#x27;t live in nursing home, but I do have health problems.

Speaker A: I&#x27;m on this, like heart failure, stroke, cancer, something like this?

Speaker B: Diabetes.

Speaker A: Okay. May you have a long life and God bless you for more health and prosperity. Well, thank you so much for confirmation and congratulations. You are perfectly eligible for getting all the information regarding this. Here is my senior. Stay with me. Do you have any kind of animals at your home? Like any kind of pets, cats, dogs, any kind of birds or fishes? You don&#x27;t like that? No, I got that. Your call is very. Are you taking any kind of exercise for yourself? Like some yoga or something like this? Good morning. This is Billy from Top Insurance Deals on a record line. They have your first and last name, please.



JSON Output:


**output:** 


{&quot;agent_name&quot;: &quot;Sophia&quot;, &quot;permission_confirmation&quot;: 1, &quot;client_age&quot;: 64, &quot;client_gender&quot;: 1, &quot;client_decision_maker&quot;: 1, &quot;client_insurance_status&quot;: 1, &quot;call_transcript&quot;: [{&quot;speaker&quot;: &quot;Agent&quot;, &quot;text&quot;: &quot;Yeah, this is Sophia. How are you doing today?&quot;}, {&quot;speaker&quot;: &quot;Client&quot;, &quot;text&quot;: &quot;All right.&quot;}, {&quot;speaker&quot;: &quot;Agent&quot;, &quot;text&quot;: &quot;Very good to know that. Well, I&#x27;m calling you regarding your coverage that was recently approved in your state. I believe you&#x27;re living in the beautiful state of Georgia, am I right?&quot;}, {&quot;speaker&quot;: &quot;Client&quot;, &quot;text&quot;: &quot;Yes.&quot;}, {&quot;speaker&quot;: &quot;Agent&quot;, &quot;text&quot;: &quot;That&#x27;s great. And how old are you, by the way?&quot;}, {&quot;speaker&quot;: &quot;Client&quot;, &quot;text&quot;: &quot;What is this about?&quot;}, {&quot;speaker&quot;: &quot;Agent&quot;, &quot;text&quot;: &quot;It&#x27;s about life insurance, ma&#x27;am. Do you have life insurance at the moment?&quot;}, {&quot;speaker&quot;: &quot;Client&quot;, &quot;text&quot;: &quot;Yes, I do.&quot;}, {&quot;speaker&quot;: &quot;Agent&quot;, &quot;text&quot;: &quot;Can I say something before you go?&quot;}, {&quot;speaker&quot;: &quot;Client&quot;, &quot;text&quot;: &quot;Yes, go ahead.&quot;}, {&quot;speaker&quot;: &quot;Agent&quot;, &quot;text&quot;: &quot;Nobody&#x27;s asking you to buy or purchase anything. We are just providing free information. It&#x27;s a review and information call. I&#x27;m not going to sell you anything. So, first of all, we need to know, how young are you?&quot;}, {&quot;speaker&quot;: &quot;Client&quot;, &quot;text&quot;: &quot;I just turned 64 on February 1st.&quot;}, {&quot;speaker&quot;: &quot;Agent&quot;, &quot;text&quot;: &quot;That&#x27;s great. You turned 64 on February 1st. I can see here you&#x27;ve been living in Georgia for a long time. Were you born and raised here, or did you move here?&quot;}, {&quot;speaker&quot;: &quot;Client&quot;, &quot;text&quot;: &quot;I moved here.&quot;}, {&quot;speaker&quot;: &quot;Agent&quot;, &quot;text&quot;: &quot;Okay. What&#x27;s your zip code down there in Georgia? Is it 30301126?&quot;}, {&quot;speaker&quot;: &quot;Client&quot;, &quot;text&quot;: &quot;Yes.&quot;}, {&quot;speaker&quot;: &quot;Agent&quot;, &quot;text&quot;: &quot;Okay, that&#x27;s great. Thank you so much for confirmation. By your sound, you are a healthy and fit lady. So I believe you don&#x27;t have any major health conditions and you&#x27;re not living in a nursing home. By the grace of God, you are healthy and fit, right?&quot;}, {&quot;speaker&quot;: &quot;Client&quot;, &quot;text&quot;: &quot;I don&#x27;t live in a nursing home, but I do have health problems.&quot;}, {&quot;speaker&quot;: &quot;Agent&quot;, &quot;text&quot;: &quot;I&#x27;m on this, like heart failure, stroke, cancer, something like this?&quot;}, {&quot;speaker&quot;: &quot;Client&quot;, &quot;text&quot;: &quot;Diabetes.&quot;}, {&quot;speaker&quot;: &quot;Agent&quot;, &quot;text&quot;: &quot;Okay. May you have a long life and God bless you with more health and prosperity. Well, thank you so much for confirmation and congratulations. You are perfectly eligible for getting all the information regarding this. Here is my senior. Stay with me.&quot;}, {&quot;speaker&quot;: &quot;Client&quot;, &quot;text&quot;: &quot;Do you have any kind of animals at your home? Like any kind of pets, cats, dogs, any kind of birds or fishes? You don&#x27;t like that?&quot;}, {&quot;speaker&quot;: &quot;Agent&quot;, &quot;text&quot;: &quot;No, I got that. Your call is very. Are you taking any kind of exercise for yourself? Like some yoga or something like this?&quot;}, {&quot;speaker&quot;: &quot;Agent&quot;, &quot;text&quot;: &quot;Good morning. This is Billy from Top Insurance Deals on a record line. May I have your first and last name, please?&quot;}], &quot;call_completion&quot;: 0, &quot;call_outcome&quot;: 2, &quot;client_objection&quot;: &quot;Has health problems.&quot;, &quot;agent_objection_response&quot;: &quot;Reassured eligibility despite health issues.&quot;, &quot;client_sentiment&quot;: 5, &quot;follow_up&quot;: 1, &quot;follow_up_type&quot;: 1, &quot;agent_performance&quot;: 6, &quot;agent_persuasiveness_score&quot;: 2, &quot;transfer_success_rate&quot;: 1, &quot;call_drop_reason&quot;: 4, &quot;do_not_call&quot;: 0, &quot;misrepresentation_risk&quot;: 0}
{&quot;agent_name&quot;: &quot;Sophia&quot;, &quot;permission_confirmation&quot;: 1, &quot;client_age&quot;: 64, &quot;client_gender&quot;: 1, &quot;client_decision_maker&quot;: 1, &quot;client_insurance_status&quot;: 1, &quot;call_transcript&quot;: [{&quot;speaker&quot;: &quot;Agent&quot;, &quot;text&quot;: &quot;Yeah, this is Sophia. How are you doing today?&quot;}, {&quot;speaker&quot;: &quot;Client&quot;, &quot;text&quot;: &quot;All right.&quot;}, {&quot;speaker&quot;: &quot;Agent&quot;, &quot;text&quot;: &quot;Very good to know that. Well, I&#x27;m calling you regarding your coverage that I recently approved in your state. I believe you&#x27;re living in the beautiful state of Georgia, am I right?&quot;}, {&quot;speaker&quot;: &quot;Client&quot;, &quot;text&quot;: &quot;Yes.&quot;}, {&quot;speaker&quot;: &quot;Agent&quot;, &quot;text&quot;: &quot;That&#x27;s great. And how old are you, by the way?&quot;}, {&quot;speaker&quot;: &quot;Client&quot;, &quot;text&quot;: &quot;What is pretty.&quot;}, {&quot;speaker&quot;: &quot;Agent&quot;, &quot;text&quot;: &quot;It&#x27;s about life insurance, ma&#x27;am. Do you have life insurance at the moment?&quot;}, {&quot;speaker&quot;: &quot;Client&quot;, &quot;text&quot;: &quot;Yes, I do.&quot;}, {&quot;speaker&quot;: &quot;Agent&quot;, &quot;text&quot;: &quot;Can I say something before you go?&quot;}, {&quot;speaker&quot;: &quot;Client&quot;, &quot;text&quot;: &quot;Yes, go ahead.&quot;}, {&quot;speaker&quot;: &quot;Agent&quot;, &quot;text&quot;: &quot;Nobody&#x27;s talking about buying or purchasing anything. We are just providing you free information. It&#x27;s a review and information call. Nobody&#x27;s asking you to buy anything, to pay anything, or to purchase anything. Okay. This is just information. I&#x27;m not going to sell you anything. So, first of all, we need to know, how young are you?&quot;}, {&quot;speaker&quot;: &quot;Client&quot;, &quot;text&quot;: &quot;I just turned 64 on February 1st.&quot;}, {&quot;speaker&quot;: &quot;Agent&quot;, &quot;text&quot;: &quot;That&#x27;s great. You turned 64 on February 1st. That&#x27;s great. I can see here you&#x27;re living in the state of Georgia for a long time. Were you born and raised here, or did you move here?&quot;}, {&quot;speaker&quot;: &quot;Client&quot;, &quot;text&quot;: &quot;I moved here.&quot;}, {&quot;speaker&quot;: &quot;Agent&quot;, &quot;text&quot;: &quot;Okay. What&#x27;s your zip code down there in Georgia? Is it 30301 or 126?&quot;}, {&quot;speaker&quot;: &quot;Client&quot;, &quot;text&quot;: &quot;Yes.&quot;}, {&quot;speaker&quot;: &quot;Agent&quot;, &quot;text&quot;: &quot;Okay, that&#x27;s great. Thank you so much for the confirmation. I can tell by your voice that you are a healthy and fit lady. So, I believe you don&#x27;t have any major health conditions and you&#x27;re not living in a nursing home. By the grace of God, you are healthy and fit, right?&quot;}, {&quot;speaker&quot;: &quot;Client&quot;, &quot;text&quot;: &quot;I don&#x27;t live in a nursing home, but I do have health problems.&quot;}, {&quot;speaker&quot;: &quot;Agent&quot;, &quot;text&quot;: &quot;I see, like heart failure, stroke, cancer, something like that?&quot;}, {&quot;speaker&quot;: &quot;Client&quot;, &quot;text&quot;: &quot;Diabetes.&quot;}, {&quot;speaker&quot;: &quot;Agent&quot;, &quot;text&quot;: &quot;Okay. May you have a long life and God bless you with more health and prosperity. Well, thank you so much for the confirmation and congratulations. You are perfectly eligible for getting all the information regarding this. Here is my senior. Stay with me. Do you have any kind of animals at your home, like pets, cats, dogs, birds, or fish? You don&#x27;t like that? No, I got that. Your call is very important. Are you taking any kind of exercise for yourself, like yoga or something like this?&quot;}, {&quot;speaker&quot;: &quot;Supervisor&quot;, &quot;text&quot;: &quot;Good morning. This is Billy from Top Insurance Deals on a recorded line. They have your first and last name, please.&quot;}], &quot;call_completion&quot;: 0, &quot;call_outcome&quot;: 2, &quot;client_objection&quot;: &quot;Already has insurance.&quot;, &quot;agent_objection_response&quot;: &quot;Clarified it&#x27;s an information call, not a sales call.&quot;, &quot;client_sentiment&quot;: 5, &quot;follow_up&quot;: 1, &quot;follow_up_type&quot;: 1, &quot;agent_performance&quot;: 5, &quot;agent_persuasiveness_score&quot;: 2, &quot;transfer_success_rate&quot;: 1, &quot;call_drop_reason&quot;: 0, &quot;do_not_call&quot;: 0, &quot;misrepresentation_risk&quot;: 0}