1. PDF Tools
  2. Remove Password from PDF

PDF Tools

Remove Password from PDF

Removes password protection from PDFs so they can be opened without a password. Useful for processing protected documents in downstream workflows.

Uses

Use this task to remove the password from a password-protected PDF, producing a new unprotected PDF file that can be opened, read, and processed without a password.

Basic Usage

loading...

Parameters Explained

files
required
array

An array of password-protected PDF files from which to remove the password.

remove_password_settings
required
object

The settings used when removing the password.

Show child attributes
password
required
string

The current password used to open the protected PDF file.

delete_after_minutes
optional
number

The number of minutes after which the newly created unprotected file is deleted. If not provided, the file defaults to being deleted after 10 minutes.

function
required
string

The pdf_tools function to call, in this case it would be remove_password

Result

The unprotected file is deleted after delete_after_minutes, so use it in the same action or soon after.

The newly created files are returned in files. The same files are returned in attachments, which adds them to the stub's attachments.

editor
        {
  "remove_pdf_password": {
    "success": true,
    "payload": {
      "files": [
        {
          "fileuuid": "8142ce6c-f3cd-526c-a5d3-747799ed2b01",
          "filename": "report_password_removed.pdf",
          "originalname": "report_password_removed.pdf",
          "contentType": "application/pdf",
          "visibility": "private"
        }
      ],
      "attachments": [...]
    }
  }
}