Skip to main content

Goal
When a PDF lands in To Split (Drive), auto-split it into ~11 parts and save to Split PDF. I’m fine with either:

  • A) one folder with 11 PDFs, or

  • B) one ZIP containing the 11 PDFs.

Zap (summary)

  1. Trigger: GDrive – New File in Folder (To Split)

  2. Formatter (extract clean name)

  3. GDrive – Create Folder (outside loop; parent = “Split PDF”)

  4. PDF.co – Get PDF Info

  5. PDF.co – Split PDF into Multiple Files (11 ranges) → returns Urls (line items)

  6. Looping – Create Loop From Line Items (Urls)

  7. GDrive – Upload File (File = current loop URL; Folder = Step 3 ID)

Problem

  • Drive ends up with 11 ZIP archives (one per loop) instead of 11 PDFs or a single ZIP.

  • Tried naming output “*.zip” in PDF.co Split—still only get 11 URLs (no single zip).

  • Webhooks to POST https://api.pdf.co/v1/file/zip returns “endpoint not found.”

  • Sometimes “Request has expired.” (S3 URL TTL?).

Ask

  • How do you:

    1. force PDF output (not ZIP) per loop URL, or

    2. create one ZIP from the 11 URLs with a supported PDF.co/Zapier method?

  • Any tips to avoid the “Request has expired” on Upload?

Thank you in advance for any help!

Hi ​@El Profe Gancz 

For us to have more true context, post screenshot showing:

  • how your Zap steps are outlined
  • how your Zap steps are configured in EDIT mode with the field mappings visible in the CONFIGURE tab

Hello Troy, 

 

Thank you for your response, here are the screenshots.

 


@El Profe Gancz 

For Zap step 5, it looks like you might have an extra line break after the input values in the screenshot below.

 

Help links for using Looping: https://zapier.com/apps/looping/integrations#help

Indicates NOT to use the “Preview” variables, but you have one mapped as shown in the screenshot below.

 


Thank you Troy, I am going to make the corrections and see if that helps.  


Hey there ​@El Profe Gancz 👋

How did you get on with making those corrections Troy suggested, did they do the trick?

Let us know if that solved things or you still need any help at all 🙂


Reply