惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

C
Check Point Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
博客园 - 聂微东
月光博客
月光博客
博客园 - 司徒正美
爱范儿
爱范儿
aimingoo的专栏
aimingoo的专栏
量子位
Recent Announcements
Recent Announcements
V
V2EX
P
Proofpoint News Feed
小众软件
小众软件
云风的 BLOG
云风的 BLOG
腾讯CDC
宝玉的分享
宝玉的分享
Microsoft Azure Blog
Microsoft Azure Blog
大猫的无限游戏
大猫的无限游戏
Vercel News
Vercel News
The GitHub Blog
The GitHub Blog
A
About on SuperTechFans
B
Blog
博客园_首页
GbyAI
GbyAI
博客园 - Franky

Inside Nutrient

A guide to the invisible work behind documents Introducing Nutrient Documents for Salesforce: Native document generation and signing Document AI vs. traditional OCR: Choosing between OCR, AI, and hybrid pipelines PDF SDK compliance and security evaluation checklist for enterprise teams (2026) Invariant Corp replaces paper processes with Nutrient Workflow and scales without limits What is process mapping? A complete guide Nutrient vs. Conga Composer for Salesforce document generation (2026) Document routing: How to automate document distribution The CTO’s AI playbook: Why accountability architecture beats orchestration Compliance workflow automation: Why built-in compliance is table stakes Workflow diagrams: Examples, symbols, and how to build one that actually runs Digital forms: Replace paper forms with automated workflows Approval workflow software: How to automate approvals Why document-centric automation is different The CEO’s AI playbook: Why decision architecture beats model selection Nutrient SDK product updates for Q1 2026 PDF redaction verification: How to prove sensitive data is permanently removed What is a VPAT? The complete guide to accessibility conformance reports What is PDF/UA? The accessible PDF standard explained Salesforce eSignatures: Generate, sign, and track documents in one flow Online document viewer: Options, tradeoffs, and how to embed one Document viewer for web apps: React, Vue, Angular (2026) Best document viewers in 2026: A buyer’s guide How to edit a PDF in Python: Add text, images, and annotations Nutrient advances Workflow platform with agentic AI for enterprise-grade speed and consistency in document-heavy operations How to create a Salesforce quote template from opportunity data The business case for accessibility: Five ways it drives enterprise value Python PDF library comparison (2026): 7 libraries for developers Why your AI agent hallucinates PDF table data PDF.js limitations: When to upgrade to a commercial PDF SDK
Add annotations to PDFs with Nutrient Document Web Servic...
Hulya Masharipov · 2025-03-27 · via Inside Nutrient

Table of contents

    This tutorial shows you how to automatically annotate PDF files using the Nutrient Document Web Services API on Zapier. You’ll trigger the workflow when a new PDF is uploaded to a Google Drive folder, find a matching JSON file containing annotation data, and apply the annotations using Nutrient.

    Add annotations to PDFs with Nutrient Document Web Services API on Zapier

    What is Zapier?

    Zapier(opens in a new tab) 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 automatically annotate PDF files using Nutrient DWS Processor API.

    What is the Nutrient DWS Processor API?

    Nutrient Document Web Services 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:

    All you need is an API key from a free account to get started(opens in a new tab). You can chain these tools together in Zapier to build powerful, automated PDF workflows.

    What you’ll need

    • A Zapier(opens in a new tab) account (a pro plan is necessary for multistep Zaps)
    • A Google Drive account
    • A PDF file uploaded to a Google Drive folder
    • A JSON file with annotation instructions uploaded to a Google Drive folder (publicly shareable or findable)
    • A Nutrient Document Web Services API key — sign up here(opens in a new tab)

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

    1. Select Google Drive as the trigger app.

      Select Google Drive as the trigger app in Zapier

    2. Choose the New File in Folder trigger event.

      Choose 'New File in Folder' as the trigger event

    3. Connect your Google Drive account.

    4. Configure the trigger:

      • In the Drive field, select your Google Drive.

      Select which Drive to monitor for new PDF files

      • In the Folder field, select or create a folder (e.g. nutrient).

      Choose or create the folder to watch for new PDFs

      • Ensure that the option for Include Deleted Files? is set to Only return non-deleted files.
    5. Once configured, test the trigger by selecting a sample PDF file from the folder to confirm it’s being pulled into the Zap correctly.

      Test the trigger by pulling in a sample PDF file

    Step 2 — Find a matching JSON annotation file

    1. Add a new step by going to Google Drive > Find a File.

      Add a new 'Find File' action step in Google Drive

    2. In the configuration, select the following:

      • Filename — Type the expected name of your annotation JSON file (e.g. annotations.json).
      • Search Type — Set to Filename contains.
      • Drive — Select My Drive.

      Enter the expected filename and search configuration for the JSON file

      Make sure your JSON file sharing access is set to Anyone with the link in Google Drive so that Zapier can access it.

    3. The output should include a web content link or direct file URL — you’ll use this in the next step to apply annotations.

    Test the step to verify that the correct JSON file was found

    Step 3 — Add annotations to PDF action (Nutrient DWS Processor API)

    1. Next, select Nutrient Document Web Services API as the app.

      Select Nutrient DWS Processor API as the action app in Zapier

    2. Choose the Add Annotations to PDF action.

      Choose 'Add Annotations to PDF' as the action event

    3. Connect your Nutrient DWS Processor API account with your API key.

      Paste your Nutrient DWS Processor API key to connect your account

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

      Locate and copy your API key from the Nutrient dashboard

    4. Fill out the action fields:

      • PDF File URL — From step 1 (the PDF trigger).

      Map the PDF file URL to the action configuration

      • Annotations JSON URL — From step 2 (the find file step).

      Map the Annotations JSON file URL to the action configuration

      • Output File Name — Optional (e.g. annotated_file.pdf).

      The file must be accessible via a public URL or direct download link (Zapier will handle this if sourced from Google Drive).

    5. Test the step to verify that the annotations are successfully applied. You can use our sample document (annotations.pdf)(opens in a new tab) and sample Instant JSON file (annotations.json)(opens in a new tab) for testing this step.

      Run a test to verify that annotations are successfully applied to the PDF

    Step 4 — Upload the annotated PDF to Google Drive

    1. Now, add another step by selecting Google Drive as the app and Upload File as the action event. Connect your Google Drive account if needed.

      Choose 'Upload File' as the final action to save the annotated PDF

    2. Select your drive and the folder where the updated PDF should be saved. In the File field, use the output from the Nutrient DWS Processor API step. Optionally, set a custom file name or extension to keep things consistent and organized.

      Map the output of the annotation step to upload it to Google Drive

      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.

    3. Test the entire Zap to ensure the PDF is annotated correctly and the final file appears in the target folder. Once everything is working, click Publish to automate the workflow.

      Final test step to confirm the annotated PDF was uploaded

    Conclusion

    With this Zap, you’ve automated the process of applying annotations to PDFs using a structured JSON file and Nutrient DWS Processor API(opens in a new tab). This is ideal for review workflows, programmatic markup, or scaling document collaboration without manual work. You can build on this flow by chaining it with other tools like redaction, signing, or form filling.

    Explore related topics

    Try for free Ready to get started?

    Related SDK articles

    Explore more