Hello community,
I’m quite new on make and after some unsuccessful searches, I’m asking for help:
My automation starts with an Airtable Watch Record
→ Inside the record I have attachments that are images or pdf
---->Those documents then passe through OCR (google vision) for further needs
What is working : from airtable watch record, I do see listed the documents attached (and the URL I need to get)
What I failed to get : from google cloud vision (our other module like http get a file to dowload the document), I can only retrieve the first document data listed by Airtable watch record
I’ve seen aggregation option regarding bundles, but nothing within the bundle
Last info: the number of attachments vary from a record to another
You just need to use Iterator and Aggregator to fix this.
→ Need to add an Iterator before Google Cloud Vision. But an Iterator only takes an Array as input.
→ Use that Document URL array as input of Iterator and then use Array value as input of Google Cloud Vision.
Other Possibilities Explanation
Summary
→ Airtable Watch Records always returns single or multiple bundles. It depends on how many records are added/modified. Right now in your example, it’s just a single record is there.
→ But If you think there will be multiple records, then you need to understand the nature of bundles, Iterators and how to use Array Aggregator with it.
→ For that possibility you need to first aggregate all Watch Records and then Iterate it.
→ If this is not a case right now then just forget it.
P.S.: Always search first, Check Make Academy. If this is helpful, Mark Best Answers as Solutions and give If you need expert help or have questions? Contact or comment below!