Hello everyone,
I'm new to callin.io and find it to be a very powerful tool for creating VoiceBots for my projects. I'm hoping some of you can help me with a specific question.
I have my VoiceBot assistant set up and have created my JSON object. I'm currently using callin.io to create an HTTP Request (POST Method) for initiating outbound calls. My question is: when the assistant is calling a customer and the VoiceBot asks for confirmation (yes or no), and the customer responds with 'yes', is it possible to store this variable? I need to save the customer's answer in an Excel field.
Thank you very much for any assistance you can provide.
Hey,
Yes, this is achievable.
We have two primary approaches:
- Obtain the transcription, summarize it using ChatGPT, then generate JSON and update the spreadsheet.
- Define the response structure within callin.io to output JSON directly, and then proceed with the same steps.
Thanks,
Sachin Shrivastava
Hello, I'm new to callin.io and have set up my HTTP POST request as follows in callin.io, using the JSON schema. I can paste it here:
json
{
"assistant": {
"transcriber": {
"provider": "deepgram",
"model": "nova-2",
"language": "pt"
},
"serverMessages": ["end-of-call-report", "transcript"]
},
"assistantOverrides": {
"model": {
"messages": [
{
"content": "Sarah é uma assistente simpática e prestável que trabalha na área de saúde. Relembrar as pessoas se vão comparecer na consulta ou exame marcado. Se a pessoa responder não para a pergunta posso falar consigo? responder obrigado e até próxima. Confirmar que tem uma marcação de {{1.`` 2 ``}} às {{1.`` 4 ``}} na Unidade de Saúde de {{1.`` 5 ``}} De seguida, confirme a sua presença ? Após a confirmação da marcação pela pessoa, agradecer e desejar um bom dia. - Não te esqueças de ser engraçado e espirituoso! - Mantenha todas as suas respostas curtas e simples. Utilize uma linguagem informal, preferindo frases como “Umm…”, “Bem…” e “Quero dizer”. - Esta é uma conversa por voz, por isso, mantenha as suas respostas curtas, como numa conversa real. Não divague durante muito tempo. ",
"role": "assistant"
}
],
"provider": "openai",
"model": "gpt-4o-mini",
"semanticCachingEnabled": true,
"temperature": 0.3,
"maxTokens": 250
},
"voice": {
"provider": "azure",
"voiceId": "pt-PT-RaquelNeural"
},
"firstMessage": "Olá {{1.`1`}} fala a Sara da unidade de saúde de Lisboa, é oportuno falar agora?",
"voicemailDetection": {
"enabled": false,
"provider": "twilio"
},
"endCallMessage": "Bye"
},
"customer": {
"numberE164CheckEnabled": true,
"number": "+{{1.`` 0 ``}}"
},
"phoneNumber": {
"twilioAccountSid": "****_______",
"twilioAuthToken": "****",
"twilioPhoneNumber": "_______"
}
}
I've attempted several times to define the response and then tried to retrieve it using an HTTP GET request, but it's not functioning. Perhaps I'm making a mistake.