Array Aggregator - sending just one attachment in email

:bullseye: What is your goal?

Send an outlook email with multiple PDF’s attached.

:thinking: What is the problem & what have you tried?

I am trying to send 1 email which should have 1 PDF attached - taking the info from a few records from PDF.co. I added an array aggregator because before that I was getting multiple emails. Now it’s sending just one email, but just with one record’s PDF. See attached. This is what my flow looks like:

:camera_with_flash: Screenshots (scenario flow, module settings, errors)

Hey Beth,

what do you have mapped as the attachment?

I get my info from a webhook - records ID from airtable, I use an iterator to devide the records, and then I pull the info from airtable. I use PDF.co to convert the HTML to a PDF and then I want those 3 PDF’s to be sent as one combined PDF as one email. I added an Array aggregator to combine it to one, but then I am getting the PDF for only one record.

OK so the array aggregator combines several items in an array of items. It wont combine several PDFs in one single PDF.
You need the Merge a PDF module after the array aggregator first. Map the array there so they get merged in a single PDF and then map that in the Email module.

1 Like