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
- 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.
- API integration — Google Sheets (2 columns: link and status, after processing
Done), AssemblyAI (transcription), n8n Data Table (results).
- 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
- Automatic processing interval: every 2 minutes
- Analysis categories: 3, sentiments: 3
- Statistics for any period: with a single question in the chat (e.g. “From 2025-12-01 to 2025-12-31, 2565 calls were processed, 155 of them negative (6%)” — an example of the answer format)
- Actual time saved vs. manual listening: 10 test calls (about 32 minutes of audio) are processed automatically in 23 minutes, with 0 minutes of manual listening.
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: