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 → Copy

AI-generated

Overview

This node operation copies an existing PDF template within the PDF Generator API service. It allows users to duplicate a template by specifying the template ID to copy and optionally providing a new name for the copied template. This is useful for creating variations of existing templates without starting from scratch, such as when you want to reuse a base design but customize it for different purposes or clients.

Use Case Examples

  1. Copy a template by selecting it from a list and providing a new name for the duplicate.
  2. Duplicate a template by entering its ID directly and optionally renaming the copy.

Properties

Name Meaning
Template Select the template to copy, either from a list or by entering its ID directly.
New Template Name Optional new name for the copied template. If not provided, the original template's name is used.

Output

JSON

  • success - Indicates if the copy operation was successful.
  • name - Name of the copied template.
  • id - ID of the newly created copied template.

Dependencies

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

Troubleshooting

  • Ensure the template ID is valid and exists; otherwise, the copy operation will fail.
  • If providing a new template name, ensure it is a valid string.
  • Common error messages include invalid template ID format or API authentication errors; verify credentials and input formats.

Links

Discussion