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

Template → Get Data Fields

AI-generated

Overview

This node operation retrieves the data fields of a specified PDF template from the PDF Generator API. It is useful for users who want to understand or manipulate the data structure required by a template before generating documents. For example, a user can fetch the data fields to dynamically build a form or validate input data against the template's requirements.

Use Case Examples

  1. Fetch data fields of a template to dynamically generate a data entry form.
  2. Retrieve template data fields to validate input data before PDF generation.

Properties

Name Meaning
Template Select the template to work with, either from a list or by entering the template ID directly.

Output

JSON

  • success - Indicates if the operation was successful.
  • dataFields - The data fields of the specified template returned by the API.

Dependencies

  • PDF Generator API with an API key credential

Troubleshooting

  • Ensure the template ID is valid and exists in the PDF Generator API account.
  • Check API credentials and network connectivity if the request fails.
  • The node throws an error if the template ID is missing or not a number as required.

Links

Discussion