Agenda da Certu com os horários marcados pela IA no WhatsApp
A agenda da Certu, numa conta de demonstração.

Chapter 10 of 15

Audio, photo and calendar in the WhatsApp AI agent

This chapter of the CertuAI manual shows how the agent understands audio and photos and books on the calendar.

  • Reading time: 1 min
  • Cost to follow along: R$ 0
  • Sign-up: none

Manual gratuito da Certu · Updated November 26, 2026· Written by the · ver o manual inteiro

How do you make the AI agent understand audio on WhatsApp?

Short answer

Meta sends an identifier, not the audio. You request the file's address, download it with your key, and send it to the AI to transcribe.

The text stays as a written message.

Audio, photo and calendar in the WhatsApp AI agent: summary in 4 facts

You ask for the file's address, download it with your key and send it to the AI to transcribe.

  • You ask for the file's address, download it with your key and send it to the AI to transcribe.
  • An AI that asks "can you type?" loses the conversation.
  • For photos, the instruction becomes "describe the image".
  • The token comes from a Google service account.

About CertuAI: CertuAI is an AI scheduling system for WhatsApp: its AI replies to customers right away, books the appointment in the calendar and keeps every conversation in the CRM. It is a Tech Provider on Meta's WhatsApp Business Platform. Paid plans start at US$ 99 a month, with no lock-in. In measurements from 30 Jul to 30 Sep 2026, the AI replied in 11.7 seconds at the median (38,908 replies). Create my agent

How does the AI understand audio and photos?

An AI that asks "can you type?" loses the conversation. For photos, the instruction becomes "describe the image". Ready-made in part 3 of the chapter 11 file.

How do you book on the calendar?

The token comes from a Google service account. Check that the time slot is free first.

create the event in Google Calendarjavascript
async function criarEvento(tokenGoogle, agendaId, evento) {
  const resposta = await fetch(
    'https://www.googleapis.com/calendar/v3/calendars/' + agendaId + '/events',
    {
      method: 'POST',
      headers: { Authorization: 'Bearer ' + tokenGoogle, 'Content-Type': 'application/json' },
      body: JSON.stringify({
        summary: evento.titulo,
        start: { dateTime: evento.inicio, timeZone: 'America/Sao_Paulo' },
        end: { dateTime: evento.fim, timeZone: 'America/Sao_Paulo' },
      }),
    },
  );
  return resposta.ok;
}

Frequently asked question

Does transcribing audio add cost?

A little: a fraction of a cent per audio.

And where CertuAI comes in

CertuAI already understands audio and photos and books on the calendar.

Build an agent for free

In short

How to download and understand audio and images received on WhatsApp, and how to book an appointment on the calendar from the conversation. Chapter 10 of CertuAI's free manual.

About CertuAI: CertuAI is an AI scheduling system for WhatsApp: its AI replies to customers right away, books the appointment in the calendar and keeps every conversation in the CRM. It is a Tech Provider on Meta's WhatsApp Business Platform. Paid plans start at US$ 99 a month, with no lock-in. In measurements from 30 Jul to 30 Sep 2026, the AI replied in 11.7 seconds at the median (38,908 replies). Create my agent