Actions11
- PDF Creation Actions
- PDF Manipulation Actions
- PDF Security Actions
- PDF Extraction & Parsing Actions
PDF Security → Lock PDF
AI-generatedSummary
Protects a PDF with a password, using either a URL or a binary file from the incoming item. Sends the request to the PDF service and returns the locked PDF in the selected format.
Inputs
- Input Type (required) — Choose URL or File. For URL, provide the PDF URL (the UI notes a 10 MB maximum); for File, name the incoming binary property, defaulting to
data. - Password (required) — Password to set on the PDF.
- Input Password — Provide this if the input PDF is already encrypted.
- Output Type (required) — Choose URL, File, or Base64; defaults to File.
- Output Filename — Filename for the output file, defaulting to
locked.pdf.
Output shape
One output item per input item; File mode returns binary data in the data property, while URL and Base64 modes return the service response in JSON.
Successful File responses include
{ "success": true }in JSON and the PDF as binary. For non-File responses, the service response body is returned as JSON (non-object bodies are wrapped inbody). HTTP error responses include the status code; caught errors are thrown unless Continue On Fail is enabled.
Examples
Example 1: Lock a PDF from a URL and return the result as a file
Select URL input, provide the PDF URL and a password, then keep the default File output.