OBJECTIVE OF THE FLOW
Build a scenario in Make that detects customer interests (Desired Cars), searches for matches in available cars (Cars for Sale), consolidates all found matches (1 or multiple), and sends a single email with the full list of matches formatted as a table inside the email.
COMPLETE FLOW MAP (with problem summary)
- Watch Records [1]:
- Table: Autos Deseados
- Trigger field: Última Modificación DESEO
- Max Records: 10 (or 1 for testing)
- WORKS WELL
- Search Records [2]:
- Table: Autos en Venta
- Matching formula: Marca + Modelo (LOWER(TRIM())…)
- WORKS WELL
- Array Aggregator [3]:
- Source: Search Records [2]
- Aggregates all relevant fields
- WORKS WELL: If Search Records returns 3 cars, Array Aggregator correctly contains the 3 cars inside its array.
- Text Aggregator [4] (Where the problem appears):
- Feeder: Array Aggregator [3]
- Row Separator: New row (\n)
- Mapping: Attempted using {{3.array.Field}}
- PROBLEM: Even though the array contains the 3 cars, Text Aggregator only takes the first element (the first bundle). It does not iterate over the rest, leaving out the remaining matches.
- Gmail / SMTP Send Email [5]:
- Receives the HTML block generated by Text Aggregator
- Sends the email correctly
- BUT: The email contains a table, but only with the first found car. The other matches do not appear.
EXAMPLE OF THE ERROR:
Suppose Search Records returns 3 cars:
- Toyota Corolla 2009
- Toyota Corolla 2010
- Toyota Corolla 2021
The email includes only:
ID Auto: V0021
Marca: TOYOTA
Modelo: COROLLA
Año: 2009
The other two cars are missing.