Back to feed
Dev.to
Dev.to
7/30/2026
Route Voicemails with Python and

Route Voicemails with Python and

Original: Route Voicemails with Python and Telnyx AI

Short summary

A Flask sample app uses Telnyx AI to transcribe voicemails, classify them into categories (urgent, billing, support, sales, spam, routine), and route each to the appropriate workflow — Slack, email, ticket queue, CRM, or blocklist. The pattern demonstrated is classification plus action: turning unstructured voicemail into structured intent that triggers downstream routing. Production considerations like auth, durable storage, and PII handling are noted but not implemented.

  • Flask app transcribes and classifies voicemails into six categories with routing to Slack, email, tickets, CRM, or blocklist
  • Uses Telnyx AI for transcription (distil-whisper) and classification (GLM-5.2 / Llama-3.3-70B)
  • Core pattern is classification-plus-action: unstructured input becomes structured intent that drives workflow routing

Generated with AI, which can make mistakes.

Is this a good recommendation for you?

Comments

Failed to load comments. Please try again.

Explore more