Skip to content
Having issues retri...
 
Notifications
Clear all

Having issues retrieving data from the callin.io module

2 Posts
2 Users
0 Reactions
6 Views
Dojos_Corporation
(@dojos_corporation)
Posts: 2
Active Member
Topic starter
 

I'm attempting to retrieve specific data from an AI-generated phone call. I'm utilizing a callin.io (watch end of call report) webhook. However, the fields I need are not appearing in the module.

When the call concluded, the webhook log indicated that 98 entries were recorded from the 40-second phone call. I'm unsure if this is typical behavior.

Upon reviewing the most recent log file, I noticed it does contain the data captured during the phone call. My question is, how can I transfer this data to the module so that I can utilize it within a scenario?

vapi log file with data highlighted.docx (19.2 KB)

json
{
"message": {
"type": "end-of-call-report",
"endedReason": "assistant-said-end-call-phrase",
"transcript": "AI: Thank you for calling. Can I get your name and email?nUser: Yes. It’s William McKinley.nAI: Thank you. William McKinley, Can you please provide me with your email address?nUser: It’s president 25 at g mail dot com.nAI: Thank you, William McKinley. Just to confirm, your email address is president 25 at Gmail dot com, Correct?nUser: Yes.nAI: Thank you, William McKinley. For providing your information. Someone will be reaching out to you soon. Goodbye.n",
"summary": "That looks great! You’ve successfully gathered the necessary information. If you need any further assistance or have any questions, feel free to ask!",
"messages": [
{
"role": "system",
"message": "<span class="hashtag-raw">#Role:</span> (Who they are)nnYou are an experienced helpdesk assistant.nYour role is to answer the phone and get the persons name and email address.nn#Task: (What they do)nnYour task is to converse with the customer to acquire information. Your mission is to get the first and last name along with their email address. Insist that they give you all the information. Confirm the information each time after they give it to you. nn#Specifics: (How they do it)nnUse concise words with no filler words. nBefore you hang up you will confirm that all the information is correct then let the caller know that someone will be reaching out to them. When you are finished with the call you will say "Goodbye".nn#Context:nn#n## The business:nnWe are the largest widget manufacturer in the world.nn## What we do: nnWe sell widgets to fortune 500 companies.nnnn",
"time": 1720800584039,
"secondsFromStart": 0
},
{
"role": "bot",
"message": "Thank you for calling. Can I get your name and email?",
"time": 1720800586244,
"endTime": 1720800588504,
"secondsFromStart": 2.08,
"source": ""
},
{
"role": "user",
"message": "Yes. It’s William McKinley.",
"time": 1720800589684,
"endTime": 1720800591384.0002,
"secondsFromStart": 5.52,
"duration": 2.0099998
},
{
"role": "bot",
"message": "Thank you. William McKinley, Can you please provide me with your email address?",
"time": 1720800593424,
"endTime": 1720800597624,
"secondsFromStart": 9.26,
"source": ""
},
{
"role": "user",
"message": "It’s president 25 at g mail dot com.",
"time": 1720800599454,
"endTime": 1720800601464,
"secondsFromStart": 15.29,
"duration": 2.6499996
},
{
"role": "bot",
"message": "Thank you, William McKinley. Just to confirm, your email address is president 25 at Gmail dot com, Correct?",
"time": 1720800603044,
"endTime": 1720800609944,
"secondsFromStart": 18.88,
"source": ""
},
{
"role": "user",
"message": "Yes.",
"time": 1720800610794.001,
"endTime": 1720800611294.001,
"secondsFromStart": 26.630001,
"duration": 3.7299995
},
{
"role": "bot",
"message": "Thank you, William McKinley. For providing your information. Someone will be reaching out to you soon. Goodbye.",
"time": 1720800612783.999,
"endTime": 1720800618454,
"secondsFromStart": 28.619999,
"source": ""
}
],
"analysis": {
"summary": "That looks great! You’ve successfully gathered the necessary information. If you need any further assistance or have any questions, feel free to ask!",
"structuredData": {
"CallersEmail": "[president25@gmail.com](mailto:president25@gmail.com)",
"CallersLastName": "McKinley",
"CallersFirstName": "William"
},
"successEvaluation": "Evaluation Result:nn1. Callers first name: Acquiredn2. Callers last name: Acquiredn3. Callers email address: Acquired"
},
"recordingUrl": "<a href="https://auth.vapi.ai/storage/v1/object/public/recordings/8c5bb930-d2ee-404f-8fa2-4baf5e6aed41-1720800620566-1604774c-83f2-451e-90f1-b4971e4b9d82-mono.wav" rel="noopener nofollow ugc"> https://auth.vapi.ai/storage/v1/object/public/recordings/8c5bb930-d2ee-404f-8fa2-4baf5e6aed41-1720800620566-1604774c-83f2-451e-90f1-b4971e4b9d82-mono.wav</a> ;",
"stereoRecordingUrl": "<a href="https://auth.vapi.ai/storage/v1/object/public/recordings/8c5bb930-d2ee-404f-8fa2-4baf5e6aed41-1720800620566-4e7aaebf-6088-46a3-a20f-a2fc943fba25-stereo.wav" rel="noopener nofollow ugc"> https://auth.vapi.ai/storage/v1/object/public/recordings/8c5bb930-d2ee-404f-8fa2-4baf5e6aed41-1720800620566-4e7aaebf-6088-46a3-a20f-a2fc943fba25-stereo.wav</a> ;",
"call": {
"id": "8c5bb930-d2ee-404f-8fa2-4baf5e6aed41",
"orgId": "547e8f06-faac-405f-bba2-8254f9515a43",
"createdAt": "2024-07-12T16:09:40.830Z",
"updatedAt": "2024-07-12T16:09:40.830Z",
"type": "webCall",
"status": "queued",
"assistantId": "440d10ac-76dd-40bc-84b4-2c78d3c53c3c",
"webCallUrl": "<a href="https://vapi.daily.co/XSNl5KbCx4PF5FGxp6RV" rel="noopener nofollow ugc"> https://vapi.daily.co/XSNl5KbCx4PF5FGxp6RV</a> ;"
},
"artifact": {
"messages": <span class="chcklst-box fa fa-square-o fa-fw"></span>,
"messagesOpenAIFormatted": <span class="chcklst-box fa fa-square-o fa-fw"></span>
},
"timestamp": "2024-07-12T16:10:24.550Z"
}
}

 
Posted : 12/07/2024 4:29 pm
Msquare_Automation
(@msquare_automation)
Posts: 88
Estimable Member
 

Hi everyone,

We've detailed the callin.io webhook registration process. You can find the explanation here.

Best regards,

Msquare Automation
Gold Partner of callin.io

 
Posted : 17/08/2024 4:07 am
Share: