# 2700 pdf's via Google Doc via Analyze image

**URL:** <https://forum.gumloop.com/t/2700-pdfs-via-google-doc-via-analyze-image/2381>\
**Category:** General Question\
**Tags:** Drive-File-Reader\
**Created:** [April 7, 2025, 1:24pm UTC](https://forum.gumloop.com/t/2700-pdfs-via-google-doc-via-analyze-image/2381 "2025-04-07T13:24:38Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Donna](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.gumloop.com/donna/32/83_2.png) [@Donna](https://forum.gumloop.com/u/Donna)\
**Post date:** [April 7, 2025, 1:24pm UTC](https://forum.gumloop.com/t/2700-pdfs-via-google-doc-via-analyze-image/2381/1 "2025-04-07T13:24:38Z")

</div>

Hey,

Need some brain juice

I have a folder with 2700 pdf’s. In each of them are several photos’ from an item. An AI needs to write 5 lines of text which will be used on a Shopify website.

How do I set this up?

 ![image](https://canada1.discourse-cdn.com/flex027/uploads/gumloop/original/1X/7679d4b7eb4646392051f7effb742f3bfd2aa850.png)

If I try the run based on 3 pdf’s … it does not work …

@Wasay-Gumloop what do you think?

D

---

<div class="post-metadata">

**Author:** ![Gumloop\_Bot](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.gumloop.com/gumloop_bot/32/504_2.png) [@Gumloop\_Bot](https://forum.gumloop.com/u/Gumloop_Bot)\
**Post date:** [April 7, 2025, 1:24pm UTC](https://forum.gumloop.com/t/2700-pdfs-via-google-doc-via-analyze-image/2381/2 "2025-04-07T13:24:38Z")

</div>

Hey @Donna! If you’re reporting an issue with a flow or an error in a run, please include the **run link** and make sure it’s **shareable** so we can take a look.

1. **Find your run link** on the history page. Format: `https://www.gumloop.com/pipeline?run_id={{your_run_id}}&workbook_id={{workbook_id}}`

2. **Make it shareable** by clicking **“Share”** → ‘Anyone with the link can view’ in the top-left corner of the flow screen.  
 ![GIF guide](https://canada1.discourse-cdn.com/flex027/uploads/gumloop/original/1X/92c00c612fd65b861e706dd1b5eec5ec61677835.gif)

3. **Provide details** about the issue—more context helps us troubleshoot faster.

You can find your run history here: [https://www.gumloop.com/history](https://www.gumloop.com/history)

---

<div class="post-metadata">

**Author:** ![Wasay-Gumloop](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.gumloop.com/wasay-gumloop/32/69_2.png) [@Wasay-Gumloop](https://forum.gumloop.com/u/Wasay-Gumloop)\
**Post date:** [April 7, 2025, 9:48pm UTC](https://forum.gumloop.com/t/2700-pdfs-via-google-doc-via-analyze-image/2381/3 "2025-04-07T21:48:36Z")

</div>

Hey @Donna – Can you share the run link where it’s not working please so I can view the inputs/outputs. From your screenshot I can see that the `Analyze Image` node has an empty input field.

In general you can set it up like this: [https://www.gumloop.com/pipeline?workbook\_id=4LCjtFG7qbsBE1PxRSGs39](https://www.gumloop.com/pipeline?workbook_id=4LCjtFG7qbsBE1PxRSGs39)

Reason why I setup a subflow: [https://docs.gumloop.com/core-concepts/subflows#pro-tip%3A-build-flows-backwards-using-subflows](https://docs.gumloop.com/core-concepts/subflows#pro-tip%3A-build-flows-backwards-using-subflows)

Let me know if this makes sense and works for you 🙂

---

<div class="post-metadata">

**Author:** ![Donna](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.gumloop.com/donna/32/83_2.png) [@Donna](https://forum.gumloop.com/u/Donna)\
**Post date:** [April 8, 2025, 3:18pm UTC](https://forum.gumloop.com/t/2700-pdfs-via-google-doc-via-analyze-image/2381/4 "2025-04-08T15:18:57Z")

</div>

Hey @Wasay-Gumloop, thanks for the tip, it works.

So I now have this folder with 2600 files.

I think I can not process them in one hit, so I included a list trimmer.

Initiatly I have put it at 50 files per run.

But when I click on RUN, it takes for ages to “read the GDrive folder”

I think it is first gong to read 2600 files, before selecting the first 50 (to process)

Is this the case?

And if so, how should I attack this problem then.

be well,

Bart

---

<div class="post-metadata">

**Author:** ![Wasay-Gumloop](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.gumloop.com/wasay-gumloop/32/69_2.png) [@Wasay-Gumloop](https://forum.gumloop.com/u/Wasay-Gumloop)\
**Post date:** [April 8, 2025, 6:19pm UTC](https://forum.gumloop.com/t/2700-pdfs-via-google-doc-via-analyze-image/2381/5 "2025-04-08T18:19:37Z")

</div>

No problem! Would it be possible to separate these files in smaller folders? I think that’d be the best solution. With the `List Trimmer` the `Google Drive Folder Reader` node would always run first and read all 2.7k files.

Another option is to export all the drive links to a spreadsheet and read 50 rows at a time from that and use the `Use Link` option on the `Drive File Reader` node.

---

<div class="post-metadata">

**Author:** ![Donna](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.gumloop.com/donna/32/83_2.png) [@Donna](https://forum.gumloop.com/u/Donna)\
**Post date:** [April 8, 2025, 9:42pm UTC](https://forum.gumloop.com/t/2700-pdfs-via-google-doc-via-analyze-image/2381/6 "2025-04-08T21:42:52Z")

</div>

The second option … can you clarify?  
How would I “export all the drive links” (of the 2700 files?) to a spreasheet?  
Thanks Bart

---

<div class="post-metadata">

**Author:** ![Wasay-Gumloop](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.gumloop.com/wasay-gumloop/32/69_2.png) [@Wasay-Gumloop](https://forum.gumloop.com/u/Wasay-Gumloop)\
**Post date:** [April 8, 2025, 11:59pm UTC](https://forum.gumloop.com/t/2700-pdfs-via-google-doc-via-analyze-image/2381/7 "2025-04-08T23:59:36Z")

</div>

Ah sorry, should’ve clarified — this would be outside of Gumloop, done via an app script. I’m assuming it’s a one-time large batch run, which is why I made the suggestion. If that’s not feasible, then using separate folders is probably your best bet if you’re looking for efficiency in the flow without having to read all files each time.

---

<div class="post-metadata">

**Author:** ![Donna](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.gumloop.com/donna/32/83_2.png) [@Donna](https://forum.gumloop.com/u/Donna)\
**Post date:** [April 9, 2025, 5:56am UTC](https://forum.gumloop.com/t/2700-pdfs-via-google-doc-via-analyze-image/2381/8 "2025-04-09T05:56:25Z")

</div>

Got it. Will try the script and come back to you.

---

<div class="post-metadata">

**Author:** ![Donna](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.gumloop.com/donna/32/83_2.png) [@Donna](https://forum.gumloop.com/u/Donna)\
**Post date:** [April 9, 2025, 6:03am UTC](https://forum.gumloop.com/t/2700-pdfs-via-google-doc-via-analyze-image/2381/9 "2025-04-09T06:03:41Z")

</div>

Hey, tried this :

 ![image](https://canada1.discourse-cdn.com/flex027/uploads/gumloop/original/1X/7ae7b50a4c2c44937c625bfe02eb6d364b8d25da.png)

But does noet work …

Can you have a look @Wasay-Gumloop

---

<div class="post-metadata">

**Author:** ![Wasay-Gumloop](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.gumloop.com/wasay-gumloop/32/69_2.png) [@Wasay-Gumloop](https://forum.gumloop.com/u/Wasay-Gumloop)\
**Post date:** [April 9, 2025, 11:27pm UTC](https://forum.gumloop.com/t/2700-pdfs-via-google-doc-via-analyze-image/2381/10 "2025-04-09T23:27:19Z")

</div>

You’re passing the spreadsheet link here instead of the drive link. You should just enable `Use Link` manually in the node (instead of populating it dynamically) and then feed the `Drive Link` from your spreadsheet in the `Link` input not the `Use Link` input. The `Use Link` option is a parameter on the node, the toggle that you see here:

 ![image](https://canada1.discourse-cdn.com/flex027/uploads/gumloop/original/1X/df29dcfec53a24176f0d75c1de572a588d308b11.png)

 ![image](https://canada1.discourse-cdn.com/flex027/uploads/gumloop/original/1X/fdcd7395e7fc362804c13c411390b8b4b6c6bcf7.png)

---

<div class="post-metadata">

**Author:** ![Donna](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.gumloop.com/donna/32/83_2.png) [@Donna](https://forum.gumloop.com/u/Donna)\
**Post date:** [April 10, 2025, 7:26am UTC](https://forum.gumloop.com/t/2700-pdfs-via-google-doc-via-analyze-image/2381/11 "2025-04-10T07:26:56Z")

</div>

@Wasay-Gumloop thanks

Looking at the forum I think it will be a good idea to write one dedicated blogpost about all possibilities and potetial issues about Google Drive Folder reader, File reader, sheets, links, file creation etc etc With use cases  
Instead of you having to reply to all different flavours of questions (because it is still a bit confusing)

What do you think?

---

<div class="post-metadata">

**Author:** ![Wasay-Gumloop](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.gumloop.com/wasay-gumloop/32/69_2.png) [@Wasay-Gumloop](https://forum.gumloop.com/u/Wasay-Gumloop)\
**Post date:** [April 10, 2025, 10:56pm UTC](https://forum.gumloop.com/t/2700-pdfs-via-google-doc-via-analyze-image/2381/12 "2025-04-10T22:56:29Z")

</div>

That makes sense, I could probably create a doc page for that. Thanks for the suggestion! 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex027/uploads/gumloop/original/1X/d02ff8efcde6ac5d3ac8aa0376137d5f804da549.png) [@system](https://forum.gumloop.com/u/system)\
**Post date:** [April 14, 2025, 10:57am UTC](https://forum.gumloop.com/t/2700-pdfs-via-google-doc-via-analyze-image/2381/13 "2025-04-14T10:57:17Z")

</div>

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
