Session 12 / 15🔎עב

What we learn today — a short video

⚡ By the end of the session you will know

  • A Telegram bot = one entry scenario with a Router (commands, text, voice, buttons).
  • Voice: Download → transcription → agent → TTS → Send.
  • WhatsApp only through the Cloud API: a 24-hour window and templates.
  • Slack for an internal channel: alerts, escalation, a knowledge bot in a thread.
  • One brain, many channels — we built a voice AI assistant.

A silent video of about half a minute: the session topic, the learning goals (also listed in the next section) and the scenario we build today.

The story of Etz va'Or (Wood & Light) — Chapter 12: A voice note from the workshop

The head carpenter doesn't type — he sends voice messages. The new Telegram assistant will transcribe them, understand what was asked, check orders and stock, and reply in text or voice.

🧵 One story across the whole course: every session solves a real problem for the business. At the end — a complete system.

Session goals

  1. Build a full Telegram bot: commands, text, voice, buttons.
  2. Download a voice file and transcribe it (speech-to-text).
  3. Produce a spoken answer (text-to-speech) and send it as a voice message.
  4. Know the WhatsApp Business Cloud API in Make: messages, templates and the 24-hour window.
  5. Build a bot / alerts in Slack.
  6. Design an architecture of a central brain (agent/scenario) with multiple channels.
  7. Build a voice AI assistant on Telegram that uses Noa's tools and RAG.

Session agenda (3 hours)

  1. 00:00–00:15 Review: the knowledge bot
  2. 00:15–00:45 Telegram in depth: commands, buttons, files
  3. 00:45–01:15 Voice: transcription and a spoken answer
  4. 01:15–01:30 ☕ Break
  5. 01:30–01:55 WhatsApp Business
  6. 01:55–02:15 Slack + a multi-channel architecture
  7. 02:15–02:50 Building together: a voice assistant
  8. 02:50–03:00 Summary and practice

What to prepare for this session

The Telegram bot

The bot you built in session 2 — we will extend it.

A transcription provider

https://platform.openai.com (opens in a new window)
OpenAI (Whisper / Transcribe) or the Make AI Toolkit / another provider.

WhatsApp Business (Meta)

https://business.facebook.com (opens in a new window)
Optional — requires an app in Meta for Developers and a number.

Slack (a free workspace)

https://slack.com (opens in a new window)
For an internal bot and alerts.

Telegram in depth

CapabilityHow in Make
Receiving messagesTelegram Bot → Watch Updates (instant — a webhook)
Commands (/start, /help)A Router with a filter: text Starts with /start
ButtonsSend a Text Message → Reply markup: Inline keyboard (callback_data)
Clicking a buttonWatch Updates receives a callback_query → a Router by data
"Typing…"Send a Chat Action: typing — before a slow action
Files, images, voiceDownload a File (file_id) → binary
Replying to a messageReply to message ID
⚠️ One bot = one webhookA Telegram bot can have only one webhook. If two scenarios "listen" to the same bot — only the last one gets messages. That's why you build one entry scenario with a Router, and call other scenarios from there.

Voice: transcribe and answer

StepAn example moduleTip
DownloadTelegram Bot → Download a File (File ID = voice.file_id)The binary goes to the next module
TranscriptionOpenAI → Create a Transcription (or an equivalent)Setting the language improves accuracy; numbers sometimes come out in words
AnswerThe agent from session 10Ask for a short answer (long audio is boring)
Reading aloudOpenAI → Generate audio / TTSCheck a voice that supports your language
SendingTelegram → Send a Voice / AudioVoice requires OGG/Opus; otherwise send Audio (MP3)
💡 "Answer the way they asked"A voice message → a spoken answer + text; a text message → text. A replyMode variable at the start of the scenario, and a Router at the end.

WhatsApp Business

Make has a WhatsApp Business Cloud app that connects to Meta's official API. This isn't personal WhatsApp — it's a business number connected through Meta for Developers.

RuleMeaning
A 24-hour windowAfter a customer wrote to you — you can reply freely for 24 hours
TemplatesOutside the window (or a first message) — only templates approved in advance by Meta
PricingMeta charges by conversations/messages by category (marketing, service, authentication) — check the current price list
Consent (opt-in)You send only to people who agreed to receive messages
WebhookWatch Events → incoming messages and statuses (delivered/read)
🛑 Not through WhatsApp WebServices that connect personal WhatsApp through a QR code break the terms of use and may get the number blocked. For a business — only the official Cloud API (directly or through a BSP provider).

Slack — the internal channel

  • Slack → Create a Message: alerts to channels (#sales, #alerts) with blocks for formatting.
  • Watch Public Channel Messages / Watch Private… or events — a bot that answers employees.
  • Thread: reply in a thread (thread_ts) so you don't flood.
  • Uses: escalation from Noa, approvals ("approve/reject" buttons), a daily summary, questions to the knowledge bot.
Slack → Create a Message
Channel: #sales
Text: 🔥 Hot lead: {{name}} · {{company}} · score {{score}}
Thread TS: (empty = a new message, or the ts of a previous message to reply)

Architecture: one brain, many channels

  1. Each channel — a small entry scenario that normalizes into a uniform message: {{channel, userId, conversationId, text, audioUrl}}.
  2. One "brain" scenario (an agent + tools) — on demand / scenario inputs.
  3. The answer goes back to the entry scenario, which replies on its channel.
  4. The advantage: you change the agent in one place; all the channels update.

Lab: simulations and examples

Three ways to see today's material in action: the scenario canvas runs the session's scenario like Make does (with a Credits count), the race compares manual work with automation, and the function playground shows real mapping examples.

💡 Why in this order?

A voice message must be transcribed before the agent can understand it.

A real-world case study

"Brothers' Garage" — 2 branches. Customers sent voice messages on WhatsApp ("when is the car ready?") and the clerk listened to all of them. Make: WhatsApp Cloud → transcription → an agent with a repair-status tool (from Airtable) → a text answer. When the repair is done — an approved WhatsApp template "your car is ready 🚗". Employees ask the knowledge bot on Slack about part prices. Result: about 15 hours a week of listening and searching were freed up.

Frequently asked questions

How much does transcription cost?

Cheap — a few cents a minute with most providers, plus Make Credits.

Voice or Audio on Telegram?

Voice is shown as a voice bubble and requires OGG/Opus. Audio is a music file (MP3). If the TTS returns MP3 — send Audio, or convert.

Can I use WhatsApp without Meta?

There are providers (BSPs) that wrap the official API — still official. Not through a personal WhatsApp QR code.

Why a separate brain scenario?

One change affects every channel, it's easy to test, and it can also be called from MCP (session 15).

Quick understanding check

What now?

You finished the lecture! Go to the practice page — multiple-choice questions and tasks that build An AI assistant on Telegram: text + voice → transcription → agent (orders + RAG) → an answer in text or voice. Stuck? The help guide breaks every task into steps. Only after you have tried, peek at the full solution.