Actions21
Overview
This node integrates with the PandaDoc API to manage contacts, documents, folders, and templates. Specifically, for the Contact - Delete operation, it allows users to delete a contact from their PandaDoc account by specifying the contact's unique ID. This is useful in scenarios where you want to automate cleanup of outdated or irrelevant contacts, maintain an up-to-date contact list, or integrate PandaDoc contact management into broader workflows.
For example, after a customer unsubscribes or a lead is disqualified, this node can be used to remove their contact record automatically.
Properties
| Name | Meaning |
|---|---|
| Authentication | Method to authenticate with PandaDoc API. Options: "API Key" or "OAuth2". |
| Contact ID | The unique identifier of the contact to delete. Required for the delete operation. |
Output
The output is an array of JSON objects representing the result of the delete operation. Typically, the response will confirm whether the contact was successfully deleted or provide error information if the deletion failed.
- The
jsonfield contains the API response data. - If an error occurs and "Continue On Fail" is enabled, the output includes an
errormessage inside thejsonfield for that item. - This node does not output binary data.
Dependencies
- Requires access to the PandaDoc API.
- Requires either an API key credential or OAuth2 authentication configured in n8n.
- The node uses internal helper functions to make authenticated HTTP requests to PandaDoc endpoints.
Troubleshooting
Common issues:
- Invalid or missing Contact ID will cause the API to reject the request.
- Authentication failures due to incorrect or expired API keys or OAuth tokens.
- Network connectivity issues preventing communication with PandaDoc API.
Error messages:
"PandaDoc API error: <message>"indicates an issue returned by the PandaDoc API, such as invalid parameters or permission errors."The operation "delete" is not supported for resource "contact"!"would occur if the operation name is misspelled or unsupported.
Resolutions:
- Verify the Contact ID is correct and exists in your PandaDoc account.
- Ensure your API credentials are valid and have sufficient permissions.
- Check network connectivity and proxy/firewall settings.
- Enable "Continue On Fail" to handle errors gracefully within workflows.