+are joining forces |Read moreabout the journey ahead!
This simple example shows the basic principle of iteration. The Gmail module runs separately for each file found on Dropbox.
As you can see in the diagram, if a scenario finds 3 files on Dropbox, it will send 3 email messages. In most cases, however, you may want to send these files in one single email as attachments. The Integromat aggregators are designed for this purpose.
In this example we use the Array aggregator, which aggregates the files from Dropbox into an array and subsequently passes this array on to Gmail. Gmail will receive a single email that has the 3 attachments in it.
Please note, that aggregation is counted as one operation, regardless of the number of bundles processed during aggregation.
The picture shows how Integromat creates a zip archive file of the 3 Dropbox files and sends the zip file as an email attachment.
Aggregators are able to process any kind of data, not just files. With Integromat, you have at your disposal several aggregators for working with texts, numbers, arrays or tables.
The example shows a numerical aggregator, which performs the SUM function on the values received from the CSV parser. The sum of the values is then sent via a push notification to Google Chrome.
The following scenario will fetch all your email messages received yesterday and search them for attachments. All found attachments will be compressed into a single zip archive and uploaded to OneDrive. In addition, Integromat will create a list of all uploaded files and store it in your database.