Key concepts
Tools
Aggregator
3 min
an aggregator is a docid\ pdopibceckcbomppkplmy designed to merge several bundles of data into a single bundle when you run an aggregator, it accumulates all the bundles it receives (during a single source module's operation) outputs a single bundle with an array containing one item per each accumulated bundle the content of the array's items depends on particular aggregator module and its setup a typical example of an aggregator module is the docid\ ncszyp3n o5a3r4cuqcel module aggregators usually feature the following fields 319,320left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type bundles outputted from the source module and any other modules between the source module and the aggregator module are not outputted by the aggregator and thus items in these bundles are not accessible by the modules in the flow after the aggregator if you need to access items from bundles outputted from the source module and any other modules between the source module and the aggregator module, make sure to include them in the aggregator's setup, e g in the aggregated fields field in the setup of the array aggregator module example use case zipping all email attachments and uploading the zip file to dropbox the {{scenario singular lowercase}} below shows how to watch a mailbox for incoming emails docid\ h5qycydcfm29tfymovn0n trigger will output a bundle with item attachments\[] , which is an array containing all the email's attachments iterate the email's attachments docid\ h5qycydcfm29tfymovn0n iterator takes the items from the attachments\[] array one by one and sends them further as separate bundles aggregate the bundles outputted by the docid\ h5qycydcfm29tfymovn0n module docid\ c133rb5j6ddfp4 4qka4w aggregator accumulates all the bundles it receives and outputs a single bundle containing the zip file upload the resulting zip file to dropbox dropbox > upload a file obtains the zip file from the docid\ c133rb5j6ddfp4 4qka4w module and uploads it to dropbox below is a sample setup of the archive > create an archive aggregator