How to work with the challenges
The challenges here are harder than the practice tasks, and are meant for those who finished and want to go deeper. Try on your own for at least 20 minutes before opening the hints, and the solution only after that. There is no single right solution: if your scenario meets the requirements, it is right.
Broken scenario โ find the bug
This is what real work looks like: something broke, and all you have is the History. Read the error, and pick the right fix.
Advanced: Group by: debt per client
๐ฌ The scenario
Each client has several open invoices. Send one email per client with all their invoices.
๐ฏ The requirements
- Group by email.
- One email per client with a table.
- A total per client.
๐ฏ 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
{
"emails": 4,
"invoices": 11
}๐ฌ Stuck? To the guided solution with a click simulation โ
๐ก Hints (try without them first)
- Array aggregator โ Group by: email.
- After Group by โ a bundle per group with an array.
Search Rows โ Array aggregator (Group by: {{email}}) โ Text aggregator? Not needed: in the email body {{join(map(array; "invoice"); ", ")}} and a total {{sum(map(array; "amount"))}}. A bundle per client = an email per client.
๐ฌ The guided solution โ a click simulation
๐ธ 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.
- 1The open invoicesSearch Rows: status = open.

๐ธ 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:
C06 - Debt per customer. - 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:
status = open - Click OK (or Save) to close the module window.
- 2Group by customerArray aggregator with Group by = email โ a bundle per customer.

๐ธ 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 Group by field map (drag from the panel or type):
{{1.email}} - Click OK (or Save) to close the module window.
- 3One email per customerIn the body: the invoice list and the total.

๐ธ 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
Gmailand click the Gmail app. - In the list of actions choose Send an email.
- In the To field map (drag from the panel or type):
{{2.__IMTKEY__}} - In the Subject field type:
Open invoices summary - In the Content field map (drag from the panel or type):
Invoices: {{join(map(2.array; "invoice"); ", ")}} ยท Total ILS {{sum(map(2.array; "amount"))}} - Click OK (or Save) to close the module window.
- 4RunThe number of emails = the number of customers, not invoices.

๐ธ Step 4 โ the red ring marks where to click - 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:
{ "emails": 4, "invoices": 11 }
Experts: A smart retry with backoff
๐ฌ The scenario
An API that returns 429 with a Retry-After header. Respect it.
๐ฏ The requirements
- Read Retry-After.
- Wait by the value (up to 300 seconds).
- Up to 3 attempts.
๐ฏ 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
{
"attempts": 2,
"statusCode": 200
}๐ฌ Stuck? To the guided solution with a click simulation โ
๐ก Hints (try without them first)
- Repeater 3 + a dynamic Sleep + a filter that stops after success.
- Evaluate all states as errors: No so you can read the status yourself.
Repeater (3) โ HTTP (Evaluate all states: No) โ Router: 200 โ continue (and Commit/finish); 429 โ Sleep {{min(300; parseNumber(get(map(2.headers; โฆ); 1)))}}. This is full control, compared with Break, which waits a fixed time.
๐ฌ The guided solution โ a click simulation
๐ธ 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.
- 1A Repeater for three attemptsA Repeater with Repeats = 3.

๐ธ 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:
C06 - Smart retry. - 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 Repeater.
- In the Repeats field choose:
3 - Click OK (or Save) to close the module window.
- 2HTTP without stopping on an errorEvaluate all states as errors: No โ so a 429 does not crash the scenario.

๐ธ 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
HTTPand click the HTTP app. - In the list of actions choose Make a request.
- In the URL field type:
https://api.example.com/orders - In the Evaluate all states as errors field choose:
No - Click OK (or Save) to close the module window.
- 3Router by status200 โ continue; 429 โ Sleep by Retry-After (up to 300).

๐ธ 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
Flow Controland click the Flow Control app. - In the list of actions choose Router.
- Keep the defaults.
- Click OK (or Save) to close the module window.
- Click the small + coming out of the Router (to its right) to open a new route.
- In the search box type
Toolsand click the Tools app. - In the list of actions choose Set variable.
- In the Variable name field choose:
ok - In the Variable value field type:
true - Click OK (or Save) to close the module window.
- Click the ๐ง icon on the line between the last two modules โ Set up a filter.
- In the Label field type:
200. - In Condition set:
2.statusCode = 200(pick the field from the panel, the operator from the list, and type a value). - Click OK โ a funnel icon appears on the line.
- Click the small + coming out of the Router (to its right) to open a new route.
- In the search box type
Toolsand click the Tools app. - In the list of actions choose Sleep.
- In the Delay field map (drag from the panel or type):
{{min(300; parseNumber(get(map(2.headers; "value"; "name"; "retry-after"); 1)))}} - Click OK (or Save) to close the module window.
- Click the ๐ง icon on the line between the last two modules โ Set up a filter.
- In the Label field type:
429. - In Condition set:
2.statusCode = 429(pick the field from the panel, the operator from the list, and type a value). - Click OK โ a funnel icon appears on the line.
- 4RunIn the bubbles: attempt 1 got 429, attempt 2 succeeded.

๐ธ Step 4 โ the red ring marks where to click - 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:
{ "attempts": 2, "statusCode": 200 }
Boss challenge: A transaction with Rollback
๐ฌ The scenario
Moving stock between warehouses in a data store: take from warehouse A and add to B โ or nothing.
๐ฏ The requirements
- Two data store updates.
- An artificial failure in the second module.
- A Rollback that restores the first.
๐ฏ 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
{
"A": 50,
"B": 20,
"note": "rolled back"
}๐ฌ Stuck? To the guided solution with a click simulation โ
๐ก Hints (try without them first)
- A data store supports transactions.
- Scenario settings: Auto commit off.
Scenario settings โ Auto commit: No. Data store Update (A โ10) โ Data store Update (B +10, with a field that will cause an error) โ Error handler: Rollback. Check that A's stock didn't change. With Auto commit on โ it would have changed.
๐ฌ The guided solution โ a click simulation
๐ธ 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.
- 1Auto commit offScenario settings โ Auto commit: No โ so Rollback works.

๐ธ 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:
C06 - Transaction. - Click โ๏ธ Scenario settings in the bottom bar.
- In the Auto commit field choose:
No - In the Allow storing of incomplete executions field choose:
Yes - Click OK.
- 2Take from warehouse AData store Update: stock A โ 10.

๐ธ 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
Data storeand click the Data store app. - In the list of actions choose Update a record.
- In the Key field choose:
A - In the qty field map (drag from the panel or type):
{{2.qty - 10}} - Click OK (or Save) to close the module window.
- 3Add to warehouse B (with a deliberate failure)Update B + 10, with a wrong field that causes an error.

๐ธ 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
Data storeand click the Data store app. - In the list of actions choose Update a record.
- In the Key field choose:
B - In the qty field type:
abc - Click OK (or Save) to close the module window.
- 4Error handler: RollbackRight-click the second module โ Add error handler โ Rollback.

๐ธ Step 4 โ the red ring marks where to click - Right-click module 2 โ Add error handler.
- Choose the Rollback directive.
- 5TestRun and check in the data store that stock A did not change.

๐ธ Step 5 โ the red ring marks where to click - 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:
{ "A": 50, "B": 20, "note": "rolled back" }