Introduction

A short article to introduce Voicemail, a tool that exploits the ability of Cloudflare Workers to receive email combined with AI to manage voicemail messages.

Important note

In order for the system to work correctly, the telephone operator must provide the possibility to forward voicemail audio messages via email as an attachment.

How it works

At a high level, Voicemail operates through the integration of two main platforms: Cloudflare and Telegram.

Firstly, a Cloudflare Worker is configured to receive emails, specifically ones sent to specific alias (e.g. voicemail@example.com).

Secondly, the Cloudflare Worker will analyze the email text and the audio attachments:

  • Whisper will automatically recognize the speech in the audio attachment(s)

  • GPT-4o-mini or Llama3.1 will analyze the mail and extract useful information

At the end, all retrieved information will be sent to a specific chat through the telegram bot.

Screenshot

alt text

Voicemail - Documentation GitHub README
Voicemail - Source Code GitHub Repository
Cloudflare Workers Workers
Cloudflare Email Workers Email Workers
Telegram API Bot API Bot Documentation