Blueprint files + how to compare with the solution
- โฌ๏ธ S07 - Weekly sales report โ Sheets โ Array aggregator โ KPIs โ Iterator โ Text aggregator (HTML) โ Gmail + Telegram
All the files and import instructions: the Blueprint files page.
For every task you will find four layers here: an animated click simulation, an illustrated step-by-step guide (a marked screenshot for every step + "what to click and what to type" instructions), the final result and a table of common problems.
- Open a new scenario: Scenarios โ Create a new scenario.
- Click โฏ (More) in the bottom bar โ Import Blueprint.
- Choose a JSON file you saved (Export Blueprint) and click Save.
- Modules that need a connection will be marked โ open each one and choose your connection.
- A Blueprint does not include passwords or keys โ you always create the connections again.
Solution to Part A โ multiple-choice questions
- How do you get the 3 agents with the highest amount?
โ slice(sort(array; "desc"; "amount"); 0; 3)
sort + slice. - distinct(map(array; "agent")) returns:
โ A list of agents without duplicates
Unique values. - When is regex better than AI?
โ A fixed, known format
Fast, cheap and precise. - A named group in regex:
โ (?\d+)
The name becomes a field in the output. - About how much does Make Code cost?
โ About 2 Credits a second
By runtime. - What does Group by do in the Array aggregator?
โ Outputs a bundle per group
A bundle per unique value. - How do you build an HTML table from 30 rows?
โ A Text aggregator withper row
And then wrap it in.
- Which function sums an array of numbers?
โ sum()
sum(map(...)).Solution to task 1: Array functions
The solution in four layers: a click simulation (the cursor shows what to click, what to type and in which order), an illustrated guide for every step, the written steps and a simulation of the result.
๐ธ The illustrated guide โ step by step, click by click
For every step: a screenshot of the (simulated) Make editor with the click spot marked, and below it exactly what to click and what to type. You can work from here next to an open Make window.
- 1SearchSearch Rows without a filter (or by date).

๐ธ Step 1.1 โ the red ring marks where to click 
๐ธ Step 1.2 โ the red ring marks where to click - In the left menu click Scenarios โ + Create a new scenario.
- Click the scenario name at the top left (New scenario) and type:
S07 - KPIs. - Click the + (the big circle in the middle, or the half-circle to the right of the last module).
- In the search box type
Google Sheetsand click the Google Sheets app. - In the list of actions choose Search Rows.
- In the Spreadsheet field type:
Sales - Click OK (or Save) to close the module window.
- 2AggregatorArray aggregator, Source: Search Rows, fields: agent, amount, region.

๐ธ Step 2 โ the red ring marks where to click - Click the + (the big circle in the middle, or the half-circle to the right of the last module).
- In the search box type
Flow Controland click the Flow Control app. - In the list of actions choose Array aggregator.
- In the Source Module field type:
Google Sheets - Search Rows [1] - In the Aggregated fields field type:
agent, amount, region - Click OK (or Save) to close the module window.
- 3KPIstotal=
{{sum(map(2.array; "amount"))}}, deals={{length(2.array)}}, avg={{round(total/deals)}}, agents={{join(distinct(map(2.array; "agent")); ", ")}}.
๐ธ Step 3 โ the red ring marks where to click - Click the + (the big circle in the middle, or the half-circle to the right of the last module).
- In the search box type
Toolsand click the Tools app. - In the list of actions choose Set multiple variables.
- In the total field map (drag from the panel or type):
{{sum(map(2.array; "amount"))}} - In the deals field map (drag from the panel or type):
{{length(2.array)}} - In the avg field map (drag from the panel or type):
{{round(total/deals)}} - In the agents field map (drag from the panel or type):
{{join(distinct(map(2.array; "agent")); ", ")}} - Click OK (or Save) to close the module window.
- 4FilteredsumCenter=
{{sum(map(2.array; "amount"; "region"; "Center"))}}.
๐ธ Step 4.1 โ the red ring marks where to click 
๐ธ Step 4.2 โ the red ring marks where to click - Click module number 3 to open its settings.
- In the sumMerkaz field map (drag from the panel or type):
{{sum(map(2.array; "amount"; "region"; "Center"))}} - Click OK.
- Click โถ Run once at the bottom left.
- When the run ends, bubbles with numbers appear above the modules. Click the bubble of the last module and check the Output.
- The output should look roughly like this:
{ "total": 214500, "deals": 38, "avg": 5645, "agents": "Yossi, Dana, Ron", "sumMerkaz": 121000 }
๐ฌ The final result โ run the simulation
๐ ๏ธ Common problems and how to fix them
Symptom Fix sum returns an error Text values with a currency sign or commas โ clean them in the sheet or parseNumber. agents appears as [object] map on a whole collection โ specify a field. Solution to task 2: The Text parser on order emails
The solution in four layers: a click simulation (the cursor shows what to click, what to type and in which order), an illustrated guide for every step, the written steps and a simulation of the result.
๐ธ The illustrated guide โ step by step, click by click
For every step: a screenshot of the (simulated) Make editor with the click spot marked, and below it exactly what to click and what to type. You can work from here next to an open Make window.
- 1InputTools โ Compose a string with the order text.

๐ธ Step 1.1 โ the red ring marks where to click 
๐ธ Step 1.2 โ the red ring marks where to click - In the left menu click Scenarios โ + Create a new scenario.
- Click the scenario name at the top left (New scenario) and type:
S07 - Text parser. - Click the + (the big circle in the middle, or the half-circle to the right of the last module).
- In the search box type
Toolsand click the Tools app. - In the list of actions choose Compose a string.
- In the Text field type:
Order no. 48213 ยท Amount: 1,299.90 โช ยท Date: 10/11/2026 - Click OK (or Save) to close the module window.
- 2RegexText parser โ Match pattern โ the pattern from the lecture โ Run once.

๐ธ Step 2.1 โ the red ring marks where to click 
๐ธ Step 2.2 โ the red ring marks where to click - Click the + (the big circle in the middle, or the half-circle to the right of the last module).
- In the search box type
Text parserand click the Text parser app. - In the list of actions choose Match pattern.
- In the Pattern field type:
Order no.? (?<order>\d+).*?Amount: (?<amount>[\d,.]+).*?Date: (?<date>[\d/]+) - In the Text field map (drag from the panel or type):
{{1.text}} - Click OK (or Save) to close the module window.
- Click โถ Run once at the bottom left.
- When the run ends, bubbles with numbers appear above the modules. Click the bubble of the last module and check the Output.
- The output should look roughly like this:
{ "order": "48213", "amount": "1,299.90", "date": "10/11/2026" }
- 3Conversionsamount=
{{parseNumber(replace(2.amount; ","; emptystring))}}, date={{parseDate(2.date; "DD/MM/YYYY")}}.
๐ธ Step 3 โ the red ring marks where to click - Click the + (the big circle in the middle, or the half-circle to the right of the last module).
- In the search box type
Toolsand click the Tools app. - In the list of actions choose Set multiple variables.
- In the amount field map (drag from the panel or type):
{{parseNumber(replace(2.amount; ","; emptystring))}} - In the date field map (drag from the panel or type):
{{parseDate(2.date; "DD/MM/YYYY")}} - Click OK (or Save) to close the module window.
- 4Filterorder Exists.

๐ธ Step 4 โ the red ring marks where to click - Click the ๐ง icon on the line between the last two modules โ Set up a filter.
- In the Label field type:
Order found. - In Condition set:
order ยท Basic: Exists(pick the field from the panel, the operator from the list, and type a value). - Click OK โ a funnel icon appears on the line.
๐ ๏ธ Common problems and how to fix them
Symptom Fix The pattern doesn't match Typographic quotes/dots vs. plain ones โ use .?instead.amount with a comma replace before parseNumber. Solution to task 3: An HTML table and a CSV
The solution in four layers: a click simulation (the cursor shows what to click, what to type and in which order), an illustrated guide for every step, the written steps and a simulation of the result.
๐ธ The illustrated guide โ step by step, click by click
For every step: a screenshot of the (simulated) Make editor with the click spot marked, and below it exactly what to click and what to type. You can work from here next to an open Make window.
- 1TableText aggregator (Source: Search Rows), Text:
<tr><td>{{agent}}</td>โฆ</tr>.
๐ธ Step 1 โ the red ring marks where to click - Click the + (the big circle in the middle, or the half-circle to the right of the last module).
- In the search box type
Toolsand click the Tools app. - In the list of actions choose Text aggregator.
- In the Source Module field type:
Google Sheets - Search Rows - In the Text field map (drag from the panel or type):
<tr><td>{{agent}}</td><td>{{amount}}</td></tr> - Click OK (or Save) to close the module window.
- 2CSVCSV โ Create CSV (advanced) โ Source: Search Rows? (or Array aggregator) โ fields.

๐ธ Step 2 โ the red ring marks where to click - Click the + (the big circle in the middle, or the half-circle to the right of the last module).
- In the search box type
CSVand click the CSV app. - In the list of actions choose Create CSV (advanced).
- In the Source Module field type:
Google Sheets - Search Rows - In the Data structure field type:
agent, amount, region - Click OK (or Save) to close the module window.
- 3BOMFile data:
{{"\uFEFF" + 6.text}}(or the Include BOM option if it exists).
๐ธ Step 3 โ the red ring marks where to click - Click the last module to open its settings.
- In the File data field map (drag from the panel or type):
{{"\uFEFF" + 6.text}} - Click OK.
- 4GmailHTML content with <table>, Attachments: file name
sales-week-{{formatDate(now; "W")}}.csv, Data: the CSV.
๐ธ Step 4.1 โ the red ring marks where to click 
๐ธ Step 4.2 โ the red ring marks where to click - Click the + (the big circle in the middle, or the half-circle to the right of the last module).
- In the search box type
Gmailand click the Gmail app. - In the list of actions choose Send an email.
- In the Content field map (drag from the panel or type):
<table>{{5.text}}</table> - In the File name field map (drag from the panel or type):
sales-week-{{formatDate(now; "W")}}.csv - In the Data field map (drag from the panel or type):
{{7.data}} - Click OK (or Save) to close the module window.
- Click โถ Run once at the bottom left.
- When the run ends, bubbles with numbers appear above the modules. Click the bubble of the last module and check the Output.
- The output should look roughly like this:
{ "id": "18eโฆ", "attachments": [ "sales-week-45.csv" ] }
๐ ๏ธ Common problems and how to fix them
Symptom Fix Gmail was sent 30 times The Text aggregator/CSV isn't set with the right source. The CSV is gibberish in Excel The BOM is missing. Solution to task 4: A full weekly sales report
The solution in four layers: a click simulation (the cursor shows what to click, what to type and in which order), an illustrated guide for every step, the written steps and a simulation of the result.
๐ธ The illustrated guide โ step by step, click by click
For every step: a screenshot of the (simulated) Make editor with the click spot marked, and below it exactly what to click and what to type. You can work from here next to an open Make window.
- 1TriggerDays of the week: Sunday 08:00.

๐ธ Step 1.1 โ the red ring marks where to click 
๐ธ Step 1.2 โ the red ring marks where to click - In the left menu click Scenarios โ + Create a new scenario.
- Click the scenario name at the top left (New scenario) and type:
S07 - Weekly report. - Click the clock ๐ in the bottom bar (next to the ON/OFF switch).
- In the schedule settings choose:
Days of the week ยท Sunday ยท 08:00and click OK.
- 2This weekSearch (date after addDays(now;-7)) โ Array aggregator.

๐ธ Step 2.1 โ the red ring marks where to click 
๐ธ Step 2.2 โ the red ring marks where to click - Click the + (the big circle in the middle, or the half-circle to the right of the last module).
- In the search box type
Google Sheetsand click the Google Sheets app. - In the list of actions choose Search Rows.
- In the Filter field map (drag from the panel or type):
date ยท Later than ยท {{addDays(now; -7)}} - Click OK (or Save) to close the module window.
- Click the + (the big circle in the middle, or the half-circle to the right of the last module).
- In the search box type
Flow Controland click the Flow Control app. - In the list of actions choose Array aggregator.
- Keep the defaults.
- Click OK (or Save) to close the module window.
- 3Last weekSearch (between -14 and -7) โ Array aggregator.

๐ธ Step 3.1 โ the red ring marks where to click 
๐ธ Step 3.2 โ the red ring marks where to click - Click the + (the big circle in the middle, or the half-circle to the right of the last module).
- In the search box type
Google Sheetsand click the Google Sheets app. - In the list of actions choose Search Rows.
- In the Filter field type:
date between -14 and -7 days - Click OK (or Save) to close the module window.
- Click the + (the big circle in the middle, or the half-circle to the right of the last module).
- In the search box type
Flow Controland click the Flow Control app. - In the list of actions choose Array aggregator.
- Keep the defaults.
- Click OK (or Save) to close the module window.
- 4KPIstotal, prev, change=
{{round((total-prev)/prev*100)}}.
๐ธ Step 4 โ the red ring marks where to click - Click the + (the big circle in the middle, or the half-circle to the right of the last module).
- In the search box type
Toolsand click the Tools app. - In the list of actions choose Set multiple variables.
- In the total field map (drag from the panel or type):
{{sum(map(2.array; "amount"))}} - In the prev field map (drag from the panel or type):
{{sum(map(4.array; "amount"))}} - In the change field map (drag from the panel or type):
{{round((total-prev)/prev*100)}} - Click OK (or Save) to close the module window.
- 5LeaderMake Code (the JS from the lecture) or Group by.

๐ธ Step 5 โ the red ring marks where to click - Click the + (the big circle in the middle, or the half-circle to the right of the last module).
- In the search box type
Make Codeand click the Make Code app. - In the list of actions choose Run code.
- In the Language field type:
JavaScript - In the Input field map (drag from the panel or type):
rows = {{2.array}} - Click OK (or Save) to close the module window.
- 6OutputGmail + Telegram.

๐ธ Step 6.1 โ the red ring marks where to click 
๐ธ Step 6.2 โ the red ring marks where to click - Click the + (the big circle in the middle, or the half-circle to the right of the last module).
- In the search box type
Gmailand click the Gmail app. - In the list of actions choose Send an email.
- Keep the defaults.
- Click OK (or Save) to close the module window.
- Click the + (the big circle in the middle, or the half-circle to the right of the last module).
- In the search box type
Telegram Botand click the Telegram Bot app. - In the list of actions choose Send a Text Message or a Reply.
- Keep the defaults.
- Click OK (or Save) to close the module window.
- Click โถ Run once at the bottom left.
- When the run ends, bubbles with numbers appear above the modules. Click the bubble of the last module and check the Output.
- The output should look roughly like this:
{ "total": 214500, "prev": 198000, "change": 8, "top": "Yossi" }
๐ฌ The final result โ run the simulation
๐ ๏ธ Common problems and how to fix them
Symptom Fix prev = 0 โ division by zero if(prev = 0; "โ"; โฆ). Make Code: input undefined Map the array to an input field named rows. Solution to the bonus challenge
Set variable chart =
{"type":"bar","data":{"labels":{{toString(distinct(map(array;"agent")))}},"datasets":[{"label":"ILS","data":[โฆ]}]}}(better with Create JSON). In the HTML:<img src="https://quickchart.io/chart?w=500&h=300&c={{encodeURL(chart)}}">. Gmail shows external images โ some clients require approval. - Which function sums an array of numbers?