Actions21
Overview
The node integrates with the PandaDoc API to download documents in PDF format. It allows users to retrieve a specific document by its ID and save it as a binary file within the workflow. This is useful for automating document management tasks such as archiving signed contracts, generating reports, or processing documents further in an automated pipeline.
Practical examples:
- Automatically downloading finalized contracts from PandaDoc after they are signed.
- Fetching generated proposals or quotes as PDFs to attach to emails or store in cloud storage.
- Integrating document downloads into larger workflows that require offline processing or backup.
Properties
Name | Meaning |
---|---|
Authentication | Method of authentication to use when connecting to PandaDoc API. Options: API Key, OAuth2. |
Document | The document to operate on. Can be selected from a searchable list or specified by ID. |
Format | The format to download the document in. Currently only "PDF" is supported. |
Binary Property | The name of the binary property where the downloaded file will be stored in the output data. |
Output
The node outputs the downloaded document as binary data under the specified binary property name (default is data
). The binary data represents the PDF file content of the requested document.
The JSON output contains metadata about the operation but primarily serves as a container for the binary file data, enabling subsequent nodes to access or manipulate the downloaded PDF.
Dependencies
- Requires a valid PandaDoc API key or OAuth2 credentials configured in n8n.
- Needs network access to the PandaDoc API endpoints.
- Uses internal helper functions to make authenticated HTTP requests to PandaDoc.
Troubleshooting
- Invalid Document ID: If the provided document ID does not match the expected pattern or does not exist, the node will throw an error. Ensure the document ID is correct and accessible.
- Authentication Errors: Incorrect or expired API keys or OAuth tokens will cause authentication failures. Verify credentials in n8n settings.
- API Rate Limits: Frequent requests may hit PandaDoc API rate limits, resulting in errors. Implement retry logic or reduce request frequency.
- Binary Data Handling: If the binary property name conflicts with existing data or is invalid, the output may not be saved correctly. Use unique and valid property names.