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

推荐订阅源

博客园 - 三生石上(FineUI控件)
Blog — PlanetScale
Blog — PlanetScale
B
Blog
GbyAI
GbyAI
爱范儿
爱范儿
月光博客
月光博客
N
Netflix TechBlog - Medium
T
Tailwind CSS Blog
G
Google Developers Blog
大猫的无限游戏
大猫的无限游戏
Vercel News
Vercel News
H
Hackread – Cybersecurity News, Data Breaches, AI and More
WordPress大学
WordPress大学
The GitHub Blog
The GitHub Blog
Recent Announcements
Recent Announcements
腾讯CDC
MyScale Blog
MyScale Blog
V
Visual Studio Blog
The Cloudflare Blog
Microsoft Security Blog
Microsoft Security Blog
A
About on SuperTechFans
Google DeepMind News
Google DeepMind News
Last Week in AI
Last Week in AI
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻

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
Import XFDF annotations into PDFs with Nutrient Document ...
Hulya Masharipov · 2025-01-29 · via Inside Nutrient

Table of contents

    This tutorial shows you how to automatically apply XFDF annotations to PDF files using the Nutrient Document Web Services API on Zapier. This is ideal for importing existing annotations, form fields, or values from an XFDF file into PDFs.

    Import XFDF annotations into PDFs 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 build “Zaps” to automate tasks by setting up triggers and actions between apps like Google Drive, Gmail, and Nutrient.

    In this tutorial, you’ll learn how to import XFDF annotation files into PDFs automatically using the Nutrient API.

    What is the Nutrient 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:

    What you’ll need

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

    1. Select Google Drive as the trigger app.

    Select Google Drive as the Zap trigger

    1. Choose the New File in Folder trigger event.

    Choose 'New File in Folder' trigger event

    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. xfdf-import/input).

    Google Drive folder selected as the input folder

    1. Test this step with a sample .pdf file.

    Zapier test showing detected PDF file

    Step 2 — Find the XFDF file in Google Drive

    1. Add a new step: Google Drive > Find a File.

    Google Drive 'Find File' action

    1. Configure the search:
      • Filename — Use a static or dynamic name (e.g. annotations.xfdf)
      • Search TypeFilename contains
      • Drive — Select your personal drive
      • Folder — Point to where you store XFDF files

    Configure the Find File step for XFDF file

    Ensure the XFDF file sharing is set to Anyone with the link can view so it’s accessible to the API.

    1. Test the step to confirm the XFDF file is retrieved.

    Test result showing XFDF file located

    Step 3 — Import XFDF into PDF (Nutrient API)

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

    Select Nutrient API for the XFDF import step

    1. Choose Import XFDF to PDF as the action.

    Choose XFDF Import API action

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

    Paste API key for authentication

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

    Where to find your Nutrient API key

    1. Configure the action:
      • PDF File URL — Use the output from step 1.

    Map the PDF and XFDF URLs in action config

    • XFDF File — Use the output from step 2,

    Map the PDF and XFDF URLs in action config

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

    You can use our sample PDF document(opens in a new tab) and sample XFDF file(opens in a new tab) for testing.

    1. Test the action to ensure the annotations are correctly applied.

    Run test to verify XFDF annotations were imported

    Step 4 — Upload the annotated PDF to Google Drive

    1. Add Google Drive as the final step and choose Upload File.

    Final action step: Upload File to Drive

    1. Select the drive and folder where the annotated file should be saved.
    2. In the File field, use the result from the previous Nutrient step.

    Map the output from XFDF import to the upload step

    Upload to a different folder to avoid Zap loop warnings.

    1. Test this step to confirm the final file uploads successfully.

    Test showing successful PDF upload after XFDF import

    Conclusion

    You’ve just built a Zap that automatically imports XFDF annotations into PDFs using the Nutrient API(opens in a new tab). This is perfect for workflows where annotations are stored in separate XML-based XFDF files and need to be merged into PDFs.

    Extend this workflow with tools like flattening, signing, or OCR to create even more powerful automations.

    Explore related topics

    Try for free Ready to get started?

    Related SDK articles

    Explore more