Convert Multiple Page PDF to JPEG

Hello everyone!

I built a scenario that extracts information from supplier invoices.

Before that, it converts the files from PDF to JPEG.

The scenario currently looks like this:

Now I think that if I have a PDF with multiple pages, it will only take the first page.

How can I make it so it iterates the PDF conversion for all pages and passes them as an array to GPT Vision at once?

Thanks a lot in advance!

What is the Output of the PDF.co module?

Please provide the output bundles of the modules by running the scenario (or get from the scenario History tab), then click the white speech bubble on the top-right of each module and select “Download input/output bundles”.

A. Upload as Text File

Save each bundle contents in your text editor as a bundle.txt file, and upload it here into this discussion thread.

B. Insert as Formatted Code Block

If you are unable to upload files on this forum, alternatively you can paste the formatted bundles.
These are the two ways to format text so that it won’t be modified by the forum:

  • Method 1: Type code block manually

    Add three backticks ``` before and after the content/bundle, like this:

    ```
    content goes here
    ```

  • Method 2. Highlight and click the format button in the editor

Providing the input/output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.

This will allow others to better assist you. Thanks!

Hope this helps! Let me know if there are any further questions or issues.

@samliew


P.S.: Did you know, the concepts of about 70% of questions asked on this forum are already covered in the Make Academy. Investing some effort into it will save you lots of time and frustration using Make later!

Hello stom,

To create an array of URLs from the converted images, please set the export type to the JSON output format. This will return all the converted image URLs in an array. You can refer to our sample screenshots at the following links:Screenshot1 and Screenshot2.

If you have any questions or need further assistance, please feel free to reach out to us.