Extract tables from PDF to Excel with Nutrient Document Web Services API on Zapier

Table of contents

    This tutorial shows you how to extract structured tables from PDF files and convert them into Excel (XLSX) format using the Nutrient Document Web Services API on Zapier. This is perfect for automating spreadsheet creation from invoices, forms, or reports stored in Google Drive.
    Extract tables from PDF to Excel with Nutrient Document Web Services API on Zapier

    What is Zapier?

    Zapier(opens in a new tab) is a no-code automation platform that connects your favorite apps and services. You can create automated workflows — called “Zaps” — by linking triggers and actions between apps like Google Drive, Slack, Gmail, and more.

    What is Nutrient DWS Processor API?

    Nutrient DWS Processor API is a powerful platform for document automation. With your free account(opens in a new tab), you get 50 credits, which you can use to perform various document operations. Each tool (e.g. conversion, signing, flattening) consumes a different amount of credits depending on complexity.

    Nutrient offers more than 30 tools with the ability to:

    What you’ll need

    Step 1 — Trigger a new file in a Google Drive folder

    1. Select Google Drive as the trigger app.

    Google Drive selected as the trigger app

    1. Choose the New File in Folder trigger event.

    Trigger event New File in Folder

    1. Connect your Google Drive account.
    2. Configure the trigger:
    • In the Drive field, select your Google Drive.
    • In the Folder field, select or create a folder (e.g. pdf-to-excel).

    Folder selected for incoming PDF files

    1. Test with a sample PDF file to confirm it’s detected.

    Zap test detects a PDF in the input folder

    Step 2 — Convert PDF to Excel (Nutrient DWS Processor API)

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

    Nutrient DWS Processor API selected in Zapier

    1. Choose the Extract Tables From PDF to Excel action.

    Extract Tables From PDF to Excel selected as the action

    1. Connect your Nutrient DWS Processor API account by pasting your API key.

    Paste API key to connect Nutrient DWS Processor API

    You can find your API key in the Nutrient dashboard(opens in a new tab).

    Find your API key in the Nutrient dashboard

    1. Configure the fields:
      • PDF File URL — Use the file from the Google Drive trigger.
      • Output File Name — Optional, e.g. extracted_tables.xlsx.

    Form fields for PDF file URL and file name

    Make sure the file is publicly accessible or Zapier can fetch it from Google Drive.

    1. Run a test to ensure the PDF was successfully converted.

    Test result showing successful Excel conversion

    Step 3 — Upload the Excel file to Google Drive

    1. Add another step and choose Google Drive as the app.

    Google Drive selected for upload step

    1. Select the Upload File action event.
    2. Choose your drive and output folder (e.g. converted-excel), and map the Excel file output from step 2.

    Map converted Excel to upload folder

    Zapier may warn you about a potential Zap loop if you use the same folder for the input and the output. You can avoid this by uploading the updated file to a different folder.

    1. Test the upload to confirm the Excel file is saved to Google Drive.

    Final test showing Excel uploaded

    Conclusion

    This Zap extracts PDF tables into an Excel file through Nutrient DWS Processor API(opens in a new tab) and saves it in Google Drive. Open the workbook and compare its rows and values with your source PDF. To set up the workflow, create a Processor API account(opens in a new tab) and connect it in Zapier.

    If your next application needs JSON instead of a workbook, follow the PDF table-to-JSON tutorial.

    Hulya Masharipov

    Hulya Masharipov

    Technical Writer

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

    Explore related topics

    Try for free Ready to get started?