CloudConvert icon

CloudConvert

Use CloudConvert to convert files, create thumbnails, merge files, add watermarks and more!

Overview

This node uses the CloudConvert service to decrypt password-protected PDF files. It is useful in scenarios where you have encrypted PDFs and need to remove the password protection to access or process the content further. For example, it can be used to automate the decryption of secured PDF documents before merging, converting, or extracting pages.

Use Case Examples

  1. Decrypt a password-protected PDF received via email to enable further processing.
  2. Automate the removal of PDF encryption in a document workflow to allow text extraction or modification.

Properties

Name Meaning
Authentication Method of authenticating with CloudConvert API, either OAuth2 or API Key.
Binary Input Data Whether the input PDF file to decrypt is provided as binary data.
Input File Contents The text content of the PDF file to decrypt, used if binary input data is false.
Binary Property Name of the binary property containing the PDF file data, used if binary input data is true.
Password Password of the encrypted PDF file to be decrypted.

Output

JSON

  • data - Decrypted PDF file data in binary form.
  • fileName - Name of the decrypted PDF file.

Dependencies

  • CloudConvert API

Troubleshooting

  • Ensure the correct password is provided for the encrypted PDF; incorrect passwords will cause decryption to fail.
  • Verify that the input file is correctly provided either as binary data or text content depending on the 'Binary Input Data' setting.
  • Authentication errors may occur if the API key or OAuth2 token is invalid or expired; re-authenticate as needed.

Links

Discussion