The bottom line (TL;DR)
- An Iterator breaks an array into bundles; aggregators combine them back.
- A Repeater for loops and pagination; Sleep up to 300 seconds.
- Five error handlers: Ignore, Resume, Break, Rollback, Commit.
- Break + incomplete executions = runs that don't get lost.
- We built a resilient payment-reminder system.
The key points โ in depth
1. Iterator
Array โ a bundle per item; multiplies Credits.
2. Aggregators
Array, Text, Numeric, Table; source module; Group by.
3. Repeater and Sleep
Loops, pagination, short pauses; a run time limit.
4. Error handlers
Ignore, Resume, Break, Rollback, Commit โ by the error type.
5. Incomplete executions
Turned on in Settings; a manual or automatic retry.
6. Error alerts
error.message and error.type; a central guard scenario.
Concept cards (click or press Enter to flip)
Iterator
Breaks an array into a bundle per item.
Array aggregator
Combines bundles into an array.
Text aggregator
Joins bundles into one text.
Repeater
Outputs N bundles with a counter i.
Break
Saves an incomplete run with retries.
Resume
Continues with a substitute value.
Rollback
Undoes actions in modules that support transactions.
Incomplete executions
A list of runs that failed and can be completed.
Spaced repetition โ the session concepts
Mark "I knew it" or "Not yet" โ the cards you did not know come back more often. Cards from all the sessions are in the arcade.
Quick cheat sheet
| What | Details |
|---|---|
| Flow Control โ Iterator | Array โ bundles |
| Flow Control โ Array aggregator | Bundles โ array |
| Tools โ Text / Numeric / Table aggregator | Combine into text/number/table |
| Flow Control โ Repeater | A loop |
| Tools โ Sleep | A pause โค 300 s |
| Right-click โ Add error handler | Error handling |
{{error.message}} | The error message |
| Scenario settings โ Allow storing of incomplete executions | Enabling Break |
Common mistakes to avoid
- An Iterator after Search Rows (unnecessary and multiplies Credits).
- A wrong source module in an aggregator.
- Break without turning on incomplete executions.
- Ignore on important errors without an alert.
- A long Sleep that exceeds the run time.
Self-review questions
- When do you need an Iterator and when not?
- What's the difference between Break and Commit?
- How do you calculate an Iterator's Credits?
- How do you do pagination?
- What happens if Gmail goes down in the middle of the reminders?
Homework and preparing for the next session
- The reminder system is active with Break.
- Preparing for session 7: create a
Salessheet with 30 rows: date, agent, product, amount, region.