Session 2 / 15๐Ÿ”Žืขื‘

What we learn today โ€” a short video

โšก By the end of the session you will know

  • A bundle is a collection of fields; an array inside a bundle is not several bundles.
  • Drag fields in the mapping panel and combine functions; arrays start at 1.
  • Connections store keys securely โ€” never in a text field.
  • Polling uses Credits even with no data; instant only when there is an event.
  • We built a Telegram bot that sends a morning report.

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 2: A morning report on Telegram

Etz va'Or buys oak from Europe, so the euro rate directly affects the price. Maya wants one Telegram message every morning: the forecast, the euro and dollar rates โ€” and to stop opening five tabs before her coffee.

๐Ÿงต One story across the whole course: every session solves a real problem for the business. At the end โ€” a complete system.

Session goals

  1. Understand the structure of a bundle in depth: fields, collections and arrays.
  2. Know Make's data types (Text, Number, Date, Boolean, Array, Collection) and why they matter.
  3. Work properly with the mapping panel and combine basic functions.
  4. Create and manage connections securely โ€” including a Telegram bot.
  5. Use Parse JSON and data structures.
  6. Choose the right scheduling option and calculate the Credits that triggers use.
  7. Build a Telegram bot that sends a morning report with exchange rates and a forecast.

Session agenda (3 hours)

  1. 00:00โ€“00:15 Review of session 1 and the ROI slides
  2. 00:15โ€“00:50 Bundles, collections and arrays โ€” what data looks like inside
  3. 00:50โ€“01:20 The mapping panel, data types and functions
  4. 01:20โ€“01:35 โ˜• Break
  5. 01:35โ€“01:55 Connections: creating, securing and managing them
  6. 01:55โ€“02:15 Scheduling, triggers and Credits
  7. 02:15โ€“02:50 Building together: a morning-report bot on Telegram
  8. 02:50โ€“03:00 Summary and on to practice

What to prepare for this session

Telegram

https://telegram.org/apps (opens in a new window)
The app on your phone or computer. We will create a bot through @BotFather.

Frankfurter API

https://www.frankfurter.app (opens in a new window)
Free exchange rates (ECB data), no key.

Open-Meteo

https://open-meteo.com (opens in a new window)
The forecast from the previous session.

JSON Formatter

https://jsonformatter.org (opens in a new window)
For comfortably viewing the JSON that APIs return.

What's inside a bundle?

In the previous session we saw that a bundle is a "package of data". Now let's open it. A bundle is a collection โ€” a set of fields with names and values. A field can hold a simple value, another (nested) collection, or an array (a list).

Bundle 1
โ”œโ”€ base: "USD"                 โ† Text
โ”œโ”€ date: "2026-11-09"          โ† Text (looks like a date, but it's text!)
โ”œโ”€ amount: 1                   โ† Number
โ””โ”€ rates                       โ† Collection
   โ”œโ”€ ILS: 3.72                โ† Number
   โ””โ”€ EUR: 0.86

In the output bubble Make shows this as a tree you can open. Small icons next to each field mark its type. When you map a nested field, Make writes the full path: {{1.rates.ILS}}.

๐Ÿ“ฆ

Collection

An object with named fields. You reach a field with a dot: rates.ILS.
๐Ÿ“š

Array

A list of values or collections. You reach an item with [n] โ€” starting at 1!
๐Ÿงฑ

Bundle

A collection that "travels" between modules. A module that returns 10 results outputs 10 bundles.
โš ๏ธ An array inside a bundle โ‰  several bundlesThis is the session's key difference: Search rows that finds 5 rows outputs 5 bundles (and every module after it runs 5 times). By contrast, HTTP that returns JSON with an array of 5 items outputs one bundle that contains an array. To break an array into bundles you use an Iterator (session 6).

Data types in Make

TypeExampleWatch out
Text"Dana"The most common. A number that came from a form is usually Text!
Number3.72You can calculate: +, -, *, /, round()
Date2026-11-10T07:00:00.000ZStored in UTC. Display with formatDate and a time zone
Booleantrue / falseThe result of comparisons; useful in filters
Array[1, 2, 3]length(), first(), join(), map()
Collection{{ name, email }}A structure with fields; reached with a dot
Buffer (Binary)A fileImages, PDF, CSV โ€” passed between modules as Data

Why does it matter? Because Make checks type compatibility. If a module field expects a Number and you map Text like "3,72" โ€” you get an error. The fix: conversion functions.

The mapping panel and functions

When you click a field in a module, the mapping panel opens. It has tabs:

TabWhat's in itExample
โญ (modules)The output of all the previous modules1. rates: ILS
โš™๏ธ Generalif, ifempty, switch, get, operatorsif(a > b; x; y)
๐Ÿ”ข MathArithmetic, rounding, sumsround(3.718; 2)
๐Ÿ”ค TextText: case, slicing, replacingupper(name)
๐Ÿ“… DateDates and timesaddDays(now; 1)
[ ] ArrayOperations on arraysjoin(array; ", ")
๐ŸŽ›๏ธ Custom / VariablesSystem variables and custom variablesnow, timestamp, executionId

The most important rule: don't type field names โ€” drag them. Make stores the reference by module number (1.rates.ILS), so if you rename a module, the mapping won't break.

๐Ÿ’ก A trick: mapping from a previous runMake remembers the output structure from the last Run once. If the panel is empty โ€” run the previous module once (right-click โ†’ Run this module only).

Parse JSON and data structures

Sometimes you get JSON as text: in an email field, from a webhook, or from AI. To turn it into fields you use JSON โ†’ Parse JSON.

A data structure is a "template" that describes which fields the JSON has and of which type. When you create one (or click Generate and paste an example), Make knows the structure in advance โ€” and you can map before any run. We will use them a lot with webhooks (session 4) and AI (session 9).

โ„น๏ธ The other directionJSON โ†’ Create JSON builds valid JSON out of fields โ€” essential when you send a request body to an API and don't want to fight quotes and special characters.

Connections โ€” secure links

A connection is a saved link to an app: OAuth (Google, Slack), an API key, or a token (Telegram). You create it once โ€” and use it in every scenario.

TypeHow it's createdExample
OAuth 2.0Click Sign in โ†’ approve permissions on the service's websiteGoogle, Microsoft, Slack, HubSpot
API Key / TokenPaste a key you created in the serviceTelegram Bot, OpenAI, Airtable
Basic authUsername + passwordOlder systems
Keychain (HTTP)Keys stored for the HTTP moduleAny API without an app
๐Ÿ›‘ Never paste a key into a text fieldAn API key typed into the URL or a header of an HTTP module is stored inside the scenario, shows up in History and in the Blueprint, and anyone with access sees it. Use a connection or Make's Keychain.

Managing connections

  • Connections in the side menu: you see all connections, who created them and in which scenarios they are used.
  • Verify checks that the connection still works; Reauthorize renews an expired connection.
  • Give clear names: Telegram - morning report bot.
  • In an organization: prefer a service account over the personal account of an employee who may leave.

Scheduling and triggers โ€” and how not to burn Credits

Scheduling optionWhen to use it
Immediately (As data arrives)Instant triggers โ€” webhooks, real-time events
At regular intervalsA check every X minutes (minimum 15 on Free, 1 on paid plans)
OnceA one-time run on a certain date
Every day / Days of the week / Days of the monthReports, reminders, syncs
Specified datesSpecific dates in the year
On demandOnly when triggered manually, via API, MCP or an AI agent

Two kinds of triggers

โŒ Polling โ€” "Anything new?"
  • Make asks the app every X minutes
  • Every check uses a Credit โ€” even if there is nothing
  • Example: Watch rows in Google Sheets
  • A delay of up to X minutes
โœ… Instant โ€” "Let me know"
  • The app sends to Make as soon as something happens
  • No usage when there are no events
  • Example: a webhook, Telegram Watch updates
  • A response within seconds
๐Ÿ’ฐ The calculation everyone missesPolling every 15 minutes = 4 ร— 24 ร— 30 = 2,880 Credits a month โ€” just on checks, even if there isn't a single new row. Every 5 minutes (on a paid plan) = 8,640. Almost a whole Core plan! Prefer an instant trigger when there is one, and a daily schedule when that is enough.

Another important setting of a polling trigger: Limit โ€” the maximum number of records to process in one run. And when you set up a trigger for the first time, Make asks where to start (From now on / Since specific date / All) โ€” so you won't accidentally process 5,000 old rows.

Scenario settings

In the bottom bar โ†’ โš™๏ธ Scenario settings. The settings worth knowing already now:

SettingWhat it doesRecommended default
Sequential processingRuns don't execute in parallel โ€” one after anotherOn when order matters (for example, stock updates)
Allow storing of incomplete executionsA run that failed is saved for completionOn (we go deeper in session 6)
Data is confidentialDoesn't save the bubbles' content in HistoryOn for sensitive data (ID numbers, health)
Max number of cyclesHow many times the trigger runs in one execution1
Number of consecutive errorsAfter how many failures in a row the scenario is turned off3 (default)
๐Ÿ’ก Notes and Explain flowIn the bottom bar there are Notes โ€” sticky notes on the canvas that explain what the scenario does. Document! In a month you won't remember. Explain flow plays an animation that shows how data passes through the scenario โ€” great for presenting to a client.

Building together: a morning-report bot on Telegram

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?

The two HTTP calls don't depend on each other, so their order doesn't matter. In Make they run one after the other on the same Bundle, then one message is composed from both.

A real-world case study

"Shibolet Bakery" โ€” 3 branches. The manager wanted to know every morning yesterday's sales in each branch, but got three different emails in different formats. A daily Make scenario at 06:00 reads the branches' sheets, calculates totals, and sends her one short Telegram message with a comparison to last week. Setup time: 3 hours. Usage: about 400 Credits a month. Result: decisions about bread production are made before 07:00 instead of at noon โ€” and waste dropped by about 12%.

Frequently asked questions

Why a bot and not a regular message from my account?

Make (and any automation) can't send in your name on Telegram. A bot is a "user" made exactly for this, and it's free.

How do I send to a group?

Add the bot to the group, send a message in it, and read the Chat ID with Watch Updates. A group's ID is a negative number (it starts with -).

The message comes out with strange symbols

Use Parse mode: HTML and make sure to close tags. If there is & or < in the text โ€” replace them with &amp; and &lt;.

How many Credits does the bot use?

3 modules ร— once a day ร— 30 = about 90 Credits a month.

Quick understanding check

What now?

You finished the lecture! Go to the practice page โ€” multiple-choice questions and tasks that build A "morning report" Telegram bot: exchange rates + a forecast. Stuck? The help guide breaks every task into steps. Only after you have tried, peek at the full solution.