Actions21
Overview
This node interacts with the PandaDoc API to retrieve the status of a specific document. It is useful in workflows where you need to check the current state of a document, such as whether it is draft, sent, viewed, completed, or declined. For example, after sending a contract for signature, you can use this node to monitor its progress and trigger subsequent actions based on the document's status.
Properties
Name | Meaning |
---|---|
Authentication | Method used to authenticate with PandaDoc API. Options: "API Key" or "OAuth2". |
Document | The target document to operate on. Can be selected from a list of documents or specified by ID. |
Output
The node outputs JSON data representing the status information of the specified document. This typically includes fields such as the document's current status (e.g., draft, sent, completed), timestamps, and other metadata returned by the PandaDoc API related to the document's lifecycle.
No binary data output is produced by this operation.
Dependencies
- Requires access to the PandaDoc API.
- Requires an API authentication token, either via an API key or OAuth2 credentials configured in n8n.
- The node uses internal helper functions to make authenticated HTTP requests to PandaDoc endpoints.
Troubleshooting
Common issues:
- Invalid or expired API credentials will cause authentication failures.
- Providing an invalid document ID (not matching the expected pattern) will result in errors.
- Network connectivity problems may prevent successful API calls.
Error messages:
"PandaDoc API error: <message>"
indicates an issue returned by the PandaDoc API, such as unauthorized access or resource not found."The operation "getStatus" is not supported for resource "document"!"
suggests a misconfiguration in the node parameters.- Validation errors like
"Not a valid Document ID"
occur if the document ID format does not meet requirements.
To resolve these:
- Verify that the API credentials are correct and have necessary permissions.
- Ensure the document ID is accurate and exists in your PandaDoc account.
- Check network connectivity and retry.
Links and References
- PandaDoc API Documentation
- PandaDoc Status Field Explanation (general reference for document status values)