Actions21
- Document Actions
- PDF Service Actions
- Template Actions
- Workspace Actions
Template → Get Data Fields
AI-generatedOverview
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
- Fetch data fields of a template to dynamically generate a data entry form.
- 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
- PDF Generator API - Get Template Data Fields - Official API documentation for retrieving template data fields.