Context

A pastry shop keeps recordings of client calls. Links to the calls are stored in Google Sheets.

Problem

It is impossible to quickly tell how many calls were negative and why (cake quality, delivery or other). Listening to everything manually takes too long.

Solution

Two linked solutions: automatic analysis of every call, and an AI agent in a chat that answers questions about statistics for any period.

Process

  1. Prompt design — the AI scores each call: sentiment (positive / negative / neutral) and category (cake quality / delivery quality / other). A separate agent knows the current date via the System Message.
  2. API integration — Google Sheets (2 columns: link and status, after processing Done), AssemblyAI (transcription), n8n Data Table (results).
  3. n8n workflow — runs every 2 minutes, picks an unprocessed call → transcription → AI scoring → write to Data Table → status Done. A separate workflow Get call stats (parameters startDate, endDate) returns totalCalls, negativeCalls, negativeCallPercent, and the agent phrases a readable answer.

Results

Tech Stack

n8n, AssemblyAI, LLM (AI Agent with a tool), Google Sheets, n8n Data Tables

Screenshots / Workflow / Video

https://www.loom.com/share/7cf08a6de89846a391525fe795e9d67c

Call Handling workflow: