Actions13
Overview
This node integrates with a PDF Generator API to manage PDF templates. Specifically, the Template - List operation retrieves a list of PDF templates available in the connected account. It supports filtering and pagination options to narrow down the results.
Use cases include:
- Fetching all or filtered PDF templates for document generation workflows.
- Displaying available templates to users before selecting one for generating PDFs.
- Automating template management by listing templates programmatically.
Example: You want to retrieve all templates tagged with "invoice" that are accessible within your organization, showing 20 templates per page.
Properties
| Name | Meaning |
|---|---|
| Access Type | Filter templates by access type. Options: All, Organization, Private |
| Name Filter | Filter templates by name (partial match) |
| Page | Page number to return (for pagination) |
| Per Page | Number of records to return per page (maximum 100) |
| Tags Filter | Filter templates by tags (comma-separated or string matching) |
These properties allow you to control which templates are returned and how many per request.
Output
The output is a JSON array of template objects as returned by the PDF Generator API's /templates endpoint. Each item typically includes details such as template ID, name, tags, access level, and other metadata describing the template.
The node returns this data under the json field of each output item. There is no binary output for this operation.
Example output snippet:
[
{
"id": 12345,
"name": "Invoice Template",
"tags": ["invoice", "finance"],
"access": "organization",
...
},
{
"id": 67890,
"name": "Report Template",
"tags": ["report"],
"access": "private",
...
}
]
Dependencies
- Requires an API key credential for the PDF Generator API service.
- The node uses the base URL from the configured credentials or defaults to
https://us1.pdfgeneratorapi.com/api/v4. - No additional environment variables are needed beyond the API authentication.
Troubleshooting
- Empty result set: Check filter parameters; overly restrictive filters may return no templates.
- API authentication errors: Ensure the API key credential is valid and has permissions to list templates.
- Pagination issues: If requesting pages beyond available data, the response may be empty.
- Invalid property values: For example, setting
per_pageabove 100 may cause API errors; keep within allowed limits.
Common error messages:
"The operation "list" is not supported for resource "template": This indicates a misconfiguration or unsupported operation/resource combination.- Network or authentication errors usually indicate invalid credentials or connectivity issues.