Published 1 month ago
I prepared a detailed guide that showed the whole process of building a call analyzer.
This workflow is ideal for sales teams, customer support managers, and online education services that conduct follow-up calls with clients. It’s designed for those who want to leverage AI to gain deeper insights into client needs and upsell opportunities from recorded calls.
Many follow-up sales calls lack structured analysis, making it challenging to identify client needs, gauge interest levels, or uncover upsell opportunities. This workflow enables automated call transcription and AI-driven analysis to generate actionable insights, helping teams improve sales performance, refine client communication, and streamline upselling strategies.
This workflow transcribes and analyzes sales calls using AssemblyAI, OpenAI, and Supabase to store structured data. The workflow processes recorded calls as follows:
Authorization
with AssemblyAI API key.https://api.assemblyai.com/v2/transcript/
.audio_url
: Direct URL of the audio file.webhook_url
: URL for an N8N webhook to receive the transcription result.speaker_labels
(true/false): Enables speaker diarization.speakers_expected
: Specify expected number of speakers.language_code
: Set language (default: en_us
).Webhook Configuration: Set up a POST webhook to receive AssemblyAI’s transcription data.
Get Transcription:
Authorization
with AssemblyAI API key.https://api.assemblyai.com/v2/transcript/<transcript_id>
.Send to OpenAI:
https://api.openai.com/v1/chat/completions
.Authorization
with OpenAI API key.gpt-4o-2024-08-06
for JSON Schema support, or gpt-4o-mini
for a less costly option.system
: Contains the main analysis prompt.user
: Combined speakers’ utterances to analyze in text format.type
: json_schema
.json_schema
: JSON schema for structured responses.Save Results in Supabase:
demo_calls
.Implement complex processes faster with n8n