Blog post

Convert PDF to images with Nutrient Document Web Services API on Zapier

In this tutorial, you’ll learn how to convert PDF files to images using the Nutrient Document Web Services API on Zapier. This is perfect for generating thumbnails, previews, or publishing-ready assets from PDFs uploaded to a Google Drive folder.

Illustration: Convert PDF to images with Nutrient Document Web Services API on Zapier

What is Zapier?

Zapier is an automation platform that connects your favorite apps and services with no code required. You can build “Zaps” to automate repetitive tasks by setting up triggers and actions between apps like Google Drive, Slack, Gmail, and more.

In this tutorial, you’ll learn how to use Zapier to convert PDF files to images using the Nutrient API.

What is the Nutrient API?

Nutrient Document Web Services API offers a powerful suite of more than 30 PDF and document tools. With a free account, you’ll receive 100 credits to start using tools like:

  • PDF to image (JPG, PNG, TIFF, WebP)

  • Convert DOCX, HTML, and other files to PDF

  • Annotate, watermark, and redact documents

  • Extract tables and run OCR

You only need your API key from Nutrient to get started.

What you’ll need

  • A Zapier account (a pro plan is necessary for multi-step Zaps)

  • A Google Drive account

  • A PDF file stored in a folder in Google Drive

  • A Nutrient Document Web Services API key — sign up here

Step 1 — Trigger a new file in Google Drive

  1. Select Google Drive as your trigger app.

Select Google Drive as the Zap trigger

  1. Choose the New File in Folder trigger.

Choose ‘New File in Folder’ as trigger

  1. Connect your Google Drive account.

  2. Configure:

  • Drive — Select your Google Drive.

  • Folder — Choose or create a folder like pdf-to-image.

Configure Drive and Folder in Zap trigger

  1. Test the trigger by uploading a PDF and letting Zapier detect it.

Test step showing PDF file detected

Step 2 — Convert PDF to image (Nutrient API)

  1. Add Nutrient Document Web Services API as the action app.

Select Nutrient API as action app

  1. Choose the Convert PDF to Image action.

Choose ‘Convert PDF to Image’ action event

  1. Connect your Nutrient API account using your API key.

Paste API key to authenticate Nutrient

You can find your key in the Nutrient dashboard.

Find your API key in the dashboard

  1. Fill out the fields:

  • PDF File URL — Use the file from step 1 (Google Drive).

  • Output File Name — Optional (e.g. output.png).

  • Output format — Choose from jpg, png, tiff, or webp.

Map PDF file and select image format

Your PDF must be publicly accessible or Zapier will use a direct download link from Google Drive.

  1. Test the step to confirm the PDF is successfully converted.

Test the PDF to Image conversion step

Step 3 — Upload the image to Google Drive

  1. Add Google Drive again and choose Upload File.

Choose Upload File to save the image

  1. Configure:

  • Drive — Select your Google Drive.

  • Folder — Choose where to save the output image.

  • File — Use the output file from the Nutrient step.

Map output from Nutrient step to upload destination

To avoid Zap loops, don’t upload the output image to the same folder as your input PDF.

  1. Run a test to verify that the image uploads correctly.

Test upload of converted image

Conclusion

You’ve now automated the process of converting PDF files to image formats using Zapier and the Nutrient API. This is especially useful for generating thumbnails, sharing visual previews, or extracting content from PDFs in image format.

You can continue enhancing this workflow with steps like OCR, watermarking, or extracting tables.

Author
Hulya Masharipov
Hulya Masharipov Technical Writer

Hulya is a frontend web developer and technical writer at Nutrient who enjoys creating responsive, scalable, and maintainable web experiences. She’s passionate about open source, web accessibility, cybersecurity privacy, and blockchain.

Free trial Ready to get started?
Free trial