Problem when combining several pdf documents from airtable

hi,

in the following scenario i have the problem that i get several pdf documents from airtable. i want to combine them into one document and then convert it to text. but it does a separate run for each document. so combine document 1, then ocr, then gpt etc … but it should first combine document 1+2+3+4, then ocr and then gpt … where is the error?

Thank you very much

Hey Dennis,

the screenshots shows you are sending the pdfs one by one. Have an array aggregator combine the pdfs in an array first, then send that array to the Merge a PDF module.

1 Like

so i’m still at the beginning. the problem is, i get a bundle from airtable with an array of several single documents. i don’t know how to get them further. actually, each one should be read out individually via ocr and the whole text should then be processed in a gpt module. for this purpose, i first merge them into a pdf. the question is whether i have to download this or whether it is enough to work with the links. but then i have an array with two or more links, which i can’t send to pdf.co … where is the mistake?

You either have them in an array first, send the array to PDF.co to merge them in a single PDF, do OCR on it and send the text to chatGPT for checking OR you iterate the array and send the files one by one for OCR, then merge the result on one text string and send that to chatGPT for checking.