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
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.