Skip to main content

Call analyzer with AssemblyAI transcription and OpenAI assistant integration

Workflow preview

Workflow preview
100%
Call analyzer with AssemblyAI transcription and OpenAI assistant integration preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Video Guide I prepared a detailed guide that showed the whole process of building a call analyzer. [![OPENAI 8.png](https://cflobdhpqwnoisuctsoc.supabase.co/storage/v1/object/public/my storage/OPEN...

Best for

  • CRM automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.set, n8n-nodes-base.stickynote, n8n-nodes-base.httprequest, n8n-nodes-base.if, n8n-nodes-base.supabase, n8n-nodes-base.webhook

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Mark Shcherbakov.

Original n8n.io source

1.1 Workflow description

Title
Call analyzer with AssemblyAI transcription and OpenAI assistant integration
Workflow name
Call analyzer with AssemblyAI transcription and OpenAI assistant integration

Video Guide

I prepared a detailed guide that showed the whole process of building a call analyzer.

Who is this for?

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.

What problem does this workflow solve?

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.

What this workflow does

This workflow transcribes and analyzes sales calls using AssemblyAI, OpenAI, and Supabase to store structured data. The workflow processes recorded calls as follows:

  1. Transcribe Call with AssemblyAI: Converts audio into text with speaker labels for clarity.
  2. Analyze Transcription with OpenAI: Using a predefined JSON schema, OpenAI analyzes the transcription to extract metrics like client intent, interest score, upsell opportunities, and more.
  3. Store and Access Results in Supabase: Stores both transcription and analysis data in a Supabase database for further use and display in interfaces.

Setup

Preparation
  1. Create Accounts: Set up accounts for N8N, Supabase, AssemblyAI, and OpenAI.
  2. Get Call Link: Upload audio files to public Supabase storage or Dropbox to generate a direct link for transcription.
  3. Prepare Artifacts for OpenAI:
    • Define Metrics: Identify business metrics you want to track from call analysis, such as client needs, interest score, and upsell potential.
    • Generate JSON Schema: Use GPT to design a JSON schema for structuring OpenAI’s responses, enabling efficient storage, analysis, and display.
    • Create Analysis Prompt: Write a detailed prompt for GPT to analyze calls based on your metrics and JSON schema.
Scenario 1: Transcribe Call with AssemblyAI
  1. Set Up Request:
    • Header Authentication: Set Authorization with AssemblyAI API key.
    • URL: POST to https://api.assemblyai.com/v2/transcript/.
    • Parameters:
      • audio_url: Direct URL of the audio file.
      • webhook_url: URL for an N8N webhook to receive the transcription result.
      • Additional Settings:
        • speaker_labels (true/false): Enables speaker diarization.
        • speakers_expected: Specify expected number of speakers.
        • language_code: Set language (default: en_us).
Scenario 2: Process Transcription with OpenAI
  1. Webhook Configuration: Set up a POST webhook to receive AssemblyAI’s transcription data.

  2. Get Transcription:

    • Header Authentication: Set Authorization with AssemblyAI API key.
    • URL: GET https://api.assemblyai.com/v2/transcript/<transcript_id>.
  3. Send to OpenAI:

    • URL: POST to https://api.openai.com/v1/chat/completions.
    • Header Authentication: Set Authorization with OpenAI API key.
    • Body Parameters:
      • Model: Use gpt-4o-2024-08-06 for JSON Schema support, or gpt-4o-mini for a less costly option.
      • Messages:
        • system: Contains the main analysis prompt.
        • user: Combined speakers’ utterances to analyze in text format.
      • Response Format:
        • type: json_schema.
        • json_schema: JSON schema for structured responses.
  4. Save Results in Supabase:

    • Operation: Create a new record.
    • Table Name: demo_calls.
    • Fields:
      • Input: Transcription text, audio URL, and transcription ID.
      • Output: Parsed JSON response from OpenAI’s analysis.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - When clicking ‘Test workflow’

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 2 - Set link to audio

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 3 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - AssemblyAI - Transcribe

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 6 - If

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 7 - AssemblyAI - Get transcription

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 8 - OpenAI - Analyze call

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 9 - Set vars

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 10 - Create record

Type / Role
n8n-nodes-base.supabase - supabase
Config choices
Version 1

Block 11 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Webhook

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2

Block 17 - Sticky Note8

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 18 - Sticky Note9

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 19 - Sticky Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 20 - Sticky Note10

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 21 - Sticky Note11

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Call analyzer with AssemblyAI transcription and OpenAI assistant integration
Complexity advanced
Nodes 21
Categories CRM, AI Summarization
Author Mark Shcherbakov
Published 14 Nov 2024

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/2547/2547.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Call analyzer with AssemblyAI transcription and OpenAI assistant integration do?

Video Guide I prepared a detailed guide that showed the whole process of building a call analyzer. [![OPENAI 8.png](https://cflobdhpqwnoisuctsoc.supabase.co/storage/v1/object/public/my storage/OPEN...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your CRM, AI Summarization use case.