Transcribing CRM Calls via Webhooks into HubSpot, Pipedrive & Salesforce with n8n
1. Potok: system-wide voice dictation for Windows/macOS and Telegram/MAX bots for audio and video links.
2. Transcrib.si: web audio and video transcription in 99+ languages, AI transcript chat, REST API and MCP plugins.
Instead of buying pricey native call-intelligence seats for every sales rep, connect your VoIP webhook to one reusable n8n workflow backed by Potok Speech API v1. When a call ends, Potok transcribes, diarizes Agent vs Prospect, extracts objections and next steps, and posts a clean engagement note to HubSpot, Pipedrive, or Salesforce.
Table of contents
Why One Unified Webhook Architecture Beats Native Per-Seat Add-Ons
Sales leaders frequently discover that native CRM call-intelligence add-ons lock advanced summaries and AI coaching behind $60-$120/seat/month enterprise tiers, even for reps who only make a handful of calls weekly. Meanwhile your recordings already live in Twilio, Aircall, RingCentral, Zadarma, or Asterisk.
By decoupling transcription into a lightweight n8n automation workflow or our zero-dependency Python webhook bridge, you pay strictly per actual audio second analyzed (down to 0.19 RUB/min or equivalent in volume packs) rather than multiplying per-seat SaaS taxes across an entire org.
Crucially, building one canonical ingestion step followed by CRM-specific output nodes prevents duplicating prompt engineering, retry logic, or webhook security whenever you migrate or connect multiple CRMs.
- Downloadable 4-node n8n JSON workflow ready for instant import at /downloads/potok-n8n-crm-call-analytics.json.
- Async /app-api/v1/jobs eliminates HTTP timeouts on 60-minute discovery calls.
- Custom prompt tailors summaries directly to MEDDIC, BANT, or custom sales scorecards.
Step-by-Step Webhook Flow in n8n (Trigger -> Potok -> CRM)
Step 1: Add an n8n Webhook node listening on POST /crm-call-completed to receive your phone system's payload (caller phone number, agent email, recording URL, call duration). Normalize the phone string right away so CRM contact lookup never misses due to formatting.
Step 2: Call POST https://api.potok.now/app-api/v1/jobs with Bearer authentication, passing the recording URL, speakers=true, summary=true, custom_prompt with your sales checklist, and webhook_url pointing to a second n8n completion trigger.
Step 3: When Potok finishes transcribing and fires your completion webhook, match the caller to their HubSpot Contact/Deal, Pipedrive Person, or Salesforce Lead ID, and append the formatted summary at the top followed by speaker-labeled transcript segments.
Handling Private PBX Audio Files Behind NAT or Corporate Firewalls
If your telephony server keeps MP3/WAV files behind internal authentication tokens unreachable from public clouds, deploy our single-file stdlib Python bridge (/downloads/potok-crm-webhook-bridge.py) inside your network to fetch local bytes and push them directly into synchronous /app-api/v1/audio/transcriptions.
SSRF Hardening & Reliable Webhook Delivery
Because call automation servers fetch remote media URLs and send outbound JSON payloads to user-configured endpoints, security matters. Potok enforces strict SSRF validation on every url and webhook_url field: localhost, RFC 1918 private IPs, link-local metadata endpoints, internal hostnames, and CGNAT ranges are blocked cleanly at submission time.
You can also poll GET /app-api/v1/jobs/{id} as an explicit safety fallback if your downstream CRM webhook receiver undergoes temporary maintenance.
Monitoring & Cost Alerts Across High-Volume Call Workflows
Every production n8n call-intelligence pipeline should route HTTP 402 (insufficient_credits) or 400 media-fetch errors cleanly to a Slack, Telegram, or MAX operations channel via an error branch, ensuring sales managers never miss call summaries due to an expired balance or broken PBX storage link.
Production Hardening: Idempotency, Retries & Phone Normalization
Before rolling out an n8n call-analytics workflow to a full sales floor, add two protective steps inside your Function or Code node: strip punctuation cleanly from incoming E.164 phone numbers before querying HubSpot or Pipedrive search endpoints, and store the returned Potok job_id against your VoIP call_sid so webhook retries never post duplicate timeline notes.
Mapping Potok API Fields to CRM Engagement Objects
| Potok JSON Field | HubSpot Note / Call | Pipedrive Activity / Note | Salesforce Task |
|---|---|---|---|
| summary | Pinned top call outcome & next steps | Note html body header | Description summary block |
| speakers + segments | Timestamped dialogue body | Collapsible transcript details | Full call log attachment / comment |
| duration | hs_call_duration (x1000 ms) | duration (HH:MM:SS) | CallDurationInSeconds |
| custom_prompt output | Deal qualification custom properties | Custom deal fields via PATCH | Next_Step__c / Objections__c |
Submit Recording URL to Potok Async Jobs Queue
curl -X POST https://api.potok.now/app-api/v1/jobs \
-H "Authorization: Bearer $POTOK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://pbx-records.example.com/call-1942.mp3",
"model": "potok-batch-diarize",
"speakers": true,
"summary": true,
"custom_prompt": "Extract budget, decision timeline, main objection, and committed next step.",
"webhook_url": "https://n8n.example.com/webhook/potok-crm-done"
}'
Frequently Asked Questions
Do I need custom middleware if our VoIP gives a direct public/signed recording link?
No. Import our n8n JSON workflow and configure your VoIP webhook URL directly inside n8n.
What if our PBX stores recordings inside a private VPN unreachable from the internet?
Run our lightweight stdlib Python bridge (/downloads/potok-crm-webhook-bridge.py) inside your network: it downloads the local file and uploads bytes directly to /v1/audio/transcriptions.
Does Potok support both English and Russian sales calls in one CRM pipeline?
Yes. Leave language=auto or unset and Potok routes Russian, English, and mixed-language calls automatically.
How many free test calls can I run while building my n8n workflow?
Creating your first API key credits 120 free sandbox minutes, enough for roughly 40 to 60 typical sales calls.
Does this integration also work with Make.com scenarios?
Yes. Use Make's HTTP Make a Request module against the identical /app-api/v1/audio/transcriptions or /v1/jobs URLs.
Benchmark Potok on Your Own Audio Today
Create a self-serve API key for 120 free sandbox minutes, or request a B2B volume quote / On-Premise Docker GPU evaluation.