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

Practice instructions

  • Answer the multiple-choice questions first โ€” they make sure the concepts are clear.
  • Do the tasks in order. Each task builds on the previous one.
  • Tick โœ… the criteria when you achieve them โ€” progress is saved in your browser.
  • Stuck? Open the help guide (AI prompts + detailed steps). Open the solution only at the end.

Part A โ€” Multiple-choice questions

Build the scenario โ€” an ordering exercise

Put the session project's steps in the right order. Get instant feedback.

Array functions

Task 1: Array functions

โ˜…โ˜…โ˜†โ˜†โ˜†โฑ๏ธ 25 min

Compute KPIs without an Iterator โ€” functions only.

๐Ÿ“Œ Requirements

  1. Search Rows on the sales sheet โ†’ Array aggregator.
  2. Set multiple variables: total, deals, avg, agents (unique), topDeal (the highest amount).
  3. sumCenter: the sum only for the Center region with a filtered map.
  4. Check against a manual calculation in the sheet.

๐ŸŽฏ The desired result โ€” how the scenario should look and work

Click Run once and then each module: you will see its settings, and on the last module โ€” the output you should get.

๐Ÿ“ค Example of the final output
{
  "total": 214500,
  "deals": 38,
  "avg": 5645,
  "agents": "Yossi, Dana, Ron",
  "sumMerkaz": 121000
}

๐ŸŽฌ Stuck? To the guided solution with a click simulation โ†’

โœ… Success criteria (tick when achieved)

๐Ÿ’ก Hints (open only if you are stuck)
  • Does amount arrive as text? map and then sum works if Sheets returns numbers; otherwise parseNumber.
  • topDeal: max(map(array; "amount")).

The Text parser on order emails

Task 2: The Text parser on order emails

โ˜…โ˜…โ˜†โ˜†โ˜†โฑ๏ธ 25 min

Extract an order number, an amount and a date from text in a fixed format.

๐Ÿ“Œ Requirements

  1. Compose a string with 3 example emails (or Gmail Watch emails).
  2. Text parser โ†’ Match pattern with named groups.
  3. Convert amount to a number and date to a date.
  4. Filter: only if an order was found.

๐ŸŽฏ The desired result โ€” how the scenario should look and work

Click Run once and then each module: you will see its settings, and on the last module โ€” the output you should get.

๐Ÿ“ค Example of the final output
{
  "order": "48213",
  "amount": "1,299.90",
  "date": "10/11/2026"
}

๐ŸŽฌ Stuck? To the guided solution with a click simulation โ†’

โœ… Success criteria (tick when achieved)

๐Ÿ’ก Hints (open only if you are stuck)
  • Global match: No (the first match).
  • Case sensitive: No.

An HTML table and a CSV

Task 3: An HTML table and a CSV

โ˜…โ˜…โ˜…โ˜†โ˜†โฑ๏ธ 35 min

Produce an HTML table for the email and an attached CSV file.

๐Ÿ“Œ Requirements

  1. A Text aggregator with a row per sale (<tr>).
  2. A CSV with headers and a BOM.
  3. Gmail with the table in the body and the CSV attached.
  4. Open the CSV in Excel and check the characters.

๐ŸŽฏ The desired result โ€” how the scenario should look and work

Click Run once and then each module: you will see its settings, and on the last module โ€” the output you should get.

๐Ÿ“ค Example of the final output
{
  "id": "18eโ€ฆ",
  "attachments": [
    "sales-week-45.csv"
  ]
}

๐ŸŽฌ Stuck? To the guided solution with a click simulation โ†’

โœ… Success criteria (tick when achieved)

๐Ÿ’ก Hints (open only if you are stuck)
  • CSV โ†’ Create CSV (advanced) โ†’ a data structure with the fields.
  • Week number: formatDate(now; "W").

A full weekly sales report

Task 4: A full weekly sales report

โ˜…โ˜…โ˜…โ˜…โ˜†โฑ๏ธ 45 min

Complete the project including a comparison with last week.

๐Ÿ“Œ Requirements

  1. Schedule Sunday 08:00.
  2. Search for the current week and the previous week (two searches + aggregators).
  3. KPIs + percent change + top agent.
  4. An HTML email + CSV; a summary on Telegram.
  5. (Optional) a Make Code version of the KPI calculation.

๐ŸŽฏ The desired result โ€” how the scenario should look and work

Click Run once and then each module: you will see its settings, and on the last module โ€” the output you should get.

๐Ÿ“ค Example of the final output
{
  "total": 214500,
  "prev": 198000,
  "change": 8,
  "top": "Yossi"
}

๐ŸŽฌ Stuck? To the guided solution with a click simulation โ†’

โœ… Success criteria (tick when achieved)

๐Ÿ’ก Hints (open only if you are stuck)
  • A date filter in the search: date โ‰ฅ addDays(now; -7).
  • Top agent without code: Array aggregator with Group by agent โ†’ Numeric?? Simpler: Make Code, or sort by sum on a separate route.

Automatic check of your scenario

Finished building? Export the scenario from Make and get instant feedback: missing modules, Router, filters, error handling, empty fields and even API keys left in the file. A score of 80+ = the scenario is verified and goes into your portfolio.

Part C โ€” Challenge ladder (pick a level)

Every student has their own pace. Pick the level that suits you now โ€” and when you finish, go up a level.

๐ŸŸข Beginner: KPIs with functions only โ†’ Telegram.
๐ŸŸ  Intermediate: An HTML report + CSV by email.
๐Ÿ”ด Advanced: A full report with a weekly comparison, the top agent, and a Make Code version โ€” and compare Credits between the versions.

Bonus challenge

A chart inside the email: use QuickChart (https://quickchart.io/chart?c=โ€ฆ) to produce a bar-chart image of sales per agent, and embed it in the email as an <img>. Build the chart's JSON with Create JSON and encodeURL.

Done? There is more!

For students who want more: the challenges page has 3 exercises at advanced, expert and boss level โ€” each with a simulation and a guided solution.