In one sentence
Students understand what data looks like in Make (bundles, collections, arrays), map with functions, create secure connections, and run a scheduled Telegram bot.
Preparation before the session
Time plan
- 00:00โ00:15 Review of session 1 and the ROI slides
- 00:15โ00:50 Bundles, collections and arrays โ what data looks like inside
- 00:50โ01:20 The mapping panel, data types and functions
- 01:20โ01:35 โ Break
- 01:35โ01:55 Connections: creating, securing and managing them
- 01:55โ02:15 Scheduling, triggers and Credits
- 02:15โ02:50 Building together: a morning-report bot on Telegram
- 02:50โ03:00 Summary and on to practice
Lecture parts and activity type
| Part | Activity type |
|---|---|
| What's inside a bundle? | Explanation + drawing on the board |
| Data types in Make | Explanation + playground |
| The mapping panel and functions | Live demo |
| Parse JSON and data structures | Demo |
| Connections โ secure links | Explanation + demo |
| Scheduling and triggers โ and how not to burn Credits | Explanation + calculation |
| Scenario settings | Explanation |
| Building together: a morning-report bot on Telegram | Building together |
The 3 messages that must get across
- An array inside a bundle โ several bundles.
- Keys only in connections.
- Every polling check costs a Credit โ choose the schedule wisely.
Questions for class discussion
- What information would you like to get on your phone every morning?
- Why would an organization prefer a service account for connections?
- When is a 15-minute delay fine and when not?
Live demo script
Exploring bundles
- HTTP โ URL: https://api.frankfurter.app/latest?from=USD&to=ILS,EUR, Parse response: Yes โ Run once.
- Read the bubble โ Output โ Data โ rates โ ILS. Note the type icon (Number).
- Variables โ Tools โ Set multiple variables: usd = {{round(1.data.rates.ILS; 2)}}, eur = {{round(1.data.rates.ILS / 1.data.rates.EUR; 2)}}, date = {{formatDate(1.data.date;
- Parse JSON โ Add JSON โ Parse JSON, JSON string: {"name":"Dana","seats":5} โ Run once.
Create a Telegram bot and connect it to Make
- BotFather โ In Telegram: @BotFather โ /newbot โ a name โ a username ending with bot. Copy the token.
- A message to the bot โ Open your bot โ Start โ send "hello".
- Watch Updates โ A temporary scenario: Telegram Bot โ Watch Updates โ Create a webhook โ Add connection โ paste the token.
- Run once and send โ Click Run once, and send the bot another message. In the bubble: Message โ Chat โ ID.
- A test message โ A new scenario: Telegram Bot โ Send a Text Message or a Reply, Chat ID, Text: Hello from Make ๐ โ Run once.
A full morning report
- Rates โ HTTP โ Frankfurter (Parse response).
- Forecast โ HTTP โ Open-Meteo with daily=temperature_2m_max,temperature_2m_min&timezone=Asia/Jerusalem&forecast_days=1.
- Message โ Telegram Bot โ Send a Text Message. Parse mode: HTML. Text:๐ <b>Morning report {{formatDate(now; "DD/MM/YYYY")}}</b>๐ต Dollar: {{round(1.data.rates.I
- Note โ Right-click the canvas โ Add a note: "Daily morning report โ 3 modules, about 90 Credits a month".
Problems students will run into
| Problem | Quick fix |
|---|---|
| rates doesn't appear in mapping | Parse response is off. Turn it on and run again. |
| eur comes out 0.23 | You flipped the division. ILS รท EUR. |
| Parse JSON: Source is not valid JSON | Curly quotes (โ instead of ") or an extra comma. Check at jsonformatter.org. |
| Unauthorized | The token is wrong or missing. Copy it again from BotFather (including the number and the colon). |
| Bad Request: chat not found | You didn't press Start in the bot, or the Chat ID is wrong. |
| Watch Updates receives nothing | Send a message after Run once started, and check that no other scenario is connected to the same bot. |
| Can't parse entities | An unclosed HTML tag or a < character in the text. |
| The temperature appears as [24.1] | You mapped the array itself โ wrap it in first(). |
| Saturday's rate equals Friday's | Frankfurter updates on business days only โ that's fine. |
| The report arrived on Friday | You chose Every day instead of Days of the week. |
Tips from the classroom
- The Chat ID is the big hurdle โ go through it together step by step.
- Show the History of an empty polling scenario โ it's more convincing than any explanation.
- Encourage using Notes from day one.
Adapting to different levels
For students who struggle: Focus on a bot with a static message and then add one field.
For fast students: Give the multi-subscriber report challenge with an Iterator.
Answer key โ multiple-choice questions
Students see the answers in shuffled order, so the key gives the wording of the right answer.
| # | Right answer |
|---|---|
| 1 | 4 bundles |
| 2 | items[1] or first(items) |
| 3 | Make stores a reference to the module, so the mapping doesn't break when you rename things |
| 4 | Turns JSON text into fields |
| 5 | 2,880 |
| 6 | Doesn't save the bubbles' content in History |
| 7 | The Chat ID |
| 8 | parseNumber(text; ".") |
Homework
- Complete the practice tasks โ the bot should send a report tomorrow morning.
- Preparing for session 3: open a free account on Tally (tally.so) โ we will build a lead form.