PDF Generator API icon

PDF Generator API

Generate PDFs, manage templates, convert HTML/URLs to PDF, and perform PDF operations like watermarking, encryption, and optimization

PDF Service → Extract Form Fields

AI-generated

Overview

This node operation extracts form fields and their metadata from an existing PDF document. It supports PDFs provided either via a public URL or as base64 encoded content. The extracted form fields can be used for further processing, such as automated form filling or data extraction workflows.

Use Case Examples

  1. Extract form fields from a PDF hosted at a public URL to automate data collection from forms.
  2. Extract form fields from a base64 encoded PDF received from an external system for integration purposes.

Properties

Name Meaning
PDF Source Specifies the source of the PDF document to process, either from a public URL or base64 encoded content.
PDF URL The public URL to the PDF document to extract form fields from. Required if PDF Source is 'From URL'.
PDF Base64 Base64 encoded PDF content to extract form fields from. Required if PDF Source is 'From Base64'.
Output Format The format of the output response: JSON with base64 string, binary file data, or JSON with a download URL.

Output

JSON

  • success - Indicates if the extraction operation was successful.
  • operation - The operation performed, here it will be 'extractFormFields'.
  • fields - The extracted form fields and their metadata from the PDF document.

Dependencies

  • Requires an API key credential for the PDF Generator API service to authenticate requests.

Troubleshooting

  • Ensure the PDF document URL is publicly accessible if using 'From URL' as the source.
  • Verify that the base64 encoded PDF content is correctly formatted and complete if using 'From Base64'.
  • Check that the API key credential is valid and has permissions to access the PDF Generator API service.
  • Common error messages include invalid JSON input for form fields or unsupported PDF formats; verify inputs accordingly.

Links

Discussion