Ana içeriğe geç

Kilidi aç PDF içinde n8n

Kilidi aç PDF bir PDF4me düğüm eylemi n8n Bu, parola korumasını kaldıran bir şeydir. PDF Doğru şifreyi girdiğinizde. Bu şifreyi, korumalı dosyaların daha sonraki iş akışı adımları tarafından okunabilir hale getirilmesi, sahip olduğunuz bir arşivin şifrelemesinin kaldırılması veya bir tedarikçinin gönderdiği her bir ekstrenin tek tek açılmasına gerek kalmadan kilidinin açılması için kullanabilirsiniz.

Bu düğüm ne işe yarıyor?

PDF4meKilidi aç PDF koruma altına alır PDF İkili Verilerden, bir Base64 Stringveya bir URLVerdiğiniz şifreyi uygular ve herhangi bir uyarı vermeden açılan bir kopyayı döndürür. Şifre Bu alan zorunludur, bu nedenle kayıp bir şifreyi kurtarmak yerine zaten açmaya yetkili olduğunuz belgelerin kilidini açar. Genellikle bir işlem hattının başında yer alır, çünkü çıkarma ve dönüştürme adımları şifrelenmiş bir dosyayı okuyamaz.

İlgili Blog Yazıları
Bu özellik için henüz bir blog yazısı yok — yakında yayınlanacak.
Bu arada, her platforma yönelik eğitimler ve iş akışları için PDF4me bloguna göz atın.
Blogu ziyaret edin

Kimliğinizi Doğrulama API Rica etmek

Her PDF4me düğümde n8n geçerli bir belge gerektirir Bağlantı kurmak için kimlik bilgisi. İçeriğinizi barındıran birini oluşturun veya seçin. PDF4me API Bu sayede iş akışı, kilit açma isteklerini güvenli bir şekilde doğrulayabilir.

Kaçırmamanız Gereken Önemli Bilgiler

Şifre gereklidir.
Bu bir parola kurtarma aracı değildir. Doğru parola olmadan bu işlemle belgeye erişilemez.
Çıkarmadan önce kilidi açın.
Metin, tablo ve form çıkarma işlemleri şifrelenmiş verileri okuyamaz. PDFDolayısıyla bu düğüm genellikle iş akışının en başında yer almalıdır.
Parolayı iş akışı dosyasına eklemeyin.
Gizli anahtarı elle yazmak yerine, kimlik bilgisine veya ortam değişkenine referans verin; böylece gizli anahtar dışa aktarılan iş akışına dahil edilmez. JSON.
n8n'deki PDF4me düğümü, Eylem olarak PDF Kilidini Aç, Giriş Veri Türü İkili Veri, Giriş İkili Alanı data, Çıkış Dosya Adı unlocked_output.pdf, gizlenmiş bir Parola alanı ve İkili Veri Çıkış Adı data olarak ayarlanmıştır.

PDF4me Kilidi aç PDF parametreler panelinde n8n

Kilidi aç PDF vs Belgeyi Korumak

Bu iki işlem birbirinin zıttıdır ve iş akışlarında genellikle ikisi de kullanılır: gelen dosyayı okumak için kilidini açmak, ardından dosya tekrar gönderilmeden önce sonucu yeniden korumak.

Bakış açısıKilidi aç PDFBelgeyi Koru
What it doesRemoves existing password protectionApplies password protection
Password you supplyThe current password on the documentThe new password you want to set
Typical positionFirst step, so later nodes can read the fileLast step, before the file is sent or stored
PrerequisiteYou must already know the passwordNone beyond the source document

Hangi Parametrelerin Kilidi Açılıyor? PDF İhtiyaç?

Gerekli: İşlem, Giriş Veri Türü, bu giriş türüyle eşleşen alan, Çıkış Dosya Adı ve Parola. İkili Veri Çıkış Adı ve Özel Profiller varsayılan çalışma değerlerini içerir.

ParametreGerekliNe işe yarar?Örnek
ActionRequiredSelects the PDF4me node action to run. Choose Unlock PDF.Unlock PDF
Input Data TypeRequiredFormat of the source PDF input. Choose Binary Data (from a previous node), Base64 String, or URL.Binary Data
Input Binary FieldConditionalName of the binary property on the incoming n8n item that holds the protected PDF. Required when Input Data Type is Binary Data. Defaults to data.data
Base64 Document ContentConditionalBase64-encoded content of the protected PDF. Required when Input Data Type is Base64 String.JVBERi0xLjQK...
File URLConditionalPublicly reachable HTTPS URL to the protected PDF. Required when Input Data Type is URL.https://example.com/statement.pdf
Output File NameRequiredFilename for the unlocked PDF returned by the node. Include the .pdf extension.unlocked_output.pdf
PasswordRequiredThe current password on the document. Shown masked in the panel. Reference a credential or environment variable rather than typing the secret into a saved workflow.{{ $env.PDF_PASSWORD }}
Binary Data Output NameOptionalName of the binary property the output item exposes. Defaults to data.data
Custom ProfilesOptionalAdvanced Options field for extra processing settings, supplied in a JSON-like format. Leave blank unless you have a specific profile to apply.{ "preserveMetadata": true }

Çıkış Alanları

Başarılı bir koşu bir getiri sağlar. n8n kilidi açılmış eşyayı taşıyan PDF.

AlanTipİçeriğinde neler var?
Binary (data)BinaryThe unlocked PDF, under Binary Data Output Name (default data).
fileNameStringGenerated filename, matching Output File Name.
docNameStringName of the processed document, for reference and tracking.
mimeTypeStringMIME type of the output, always application/pdf.
fileSizeNumberSize of the returned PDF in bytes.
isUnlockedBooleanConfirms the document was unlocked. A useful assertion before handing the file to an extraction step.
securityRemovedBooleanConfirms password protection and access restrictions were removed.
successBooleanTrue when the unlock completed, false on failure such as a wrong password. Use it to branch error handling.
messageStringHuman-readable status message, carrying success confirmation or error detail.

Kilidi nasıl açarım? PDF içinde n8n?

  1. Eklemek PDF4me senin n8n iş akışını seçin ve Kilidi aç PDF aksiyon.
  2. İçinde Bağlantı kurmak için kimlik bilgisi, sizinkini seçin PDF4me kimlik bilgileri veya tıklayın Yeni Kimlik Bilgisi Oluştur ve yapıştırın API anahtar.
  3. Ayarlamak Giriş Veri Türü ile İkili Veri (varsayılan), Base64 String, veya URL ve eşleşen kaynağı sağlayın. PDF alan.
  4. Ayarlamak Çıktı Dosya Adı kilidi açılmış dosya için, şu şekilde sona eriyor: .pdf.
  5. Belgeyi girin Şifreİdeal olarak, bir kimlik bilgisini veya ortam değişkenini okuyan bir ifade olarak.
  6. Ayrılmak İkili Veri Çıkış Adı gibi data Daha sonraki bir düğüm farklı bir özellik beklemediği sürece.
  7. Düğümü çalıştırın ve kilidi açılmış olanı yönlendirin. PDF Bir sonraki aşamaya, örneğin çıkarma, dönüştürme veya depolamaya.

Tipik Kurulumlar

İş Akışı ÖrnekleriCommon n8n workflow patterns using Unlock PDF.
Korumalı banka hesap özetlerini okuyun.
  1. Bilinen bir şifreyle korunan bir e-posta yoluyla bir açıklama geliyor.
  2. Kilidi aç PDF Saklı tutulan bir gizli bilgi kullanarak korumayı kaldırır.
  3. Tablo çıkarma adımı, işlemleri bir tabloya okur.
Sahip olunan arşivden net şifreleme.
  1. Paylaşılan sürücüdeki eski belgelerin tümü aynı eski parolayı kullanır.
  2. Kilidi aç PDF Taşıma işlemi sırasında her dosya üzerinde çalışır.
  3. Korunmasız kopyalar, aranabilir şekilde yeni belge sistemine kaydedilir.
Kilidi açın, işleyin, sonra tekrar koruyun.
  1. Kilidi aç PDF Gelen korumalı bir belgeyi açar.
  2. İş akışı, okunabilir dosyayı damgalar, birleştirir veya düzenler.
  3. "Dosyayı Koru" özelliği, belge tekrar gönderilmeden önce yeni bir parola uygular.
Boru hattını bir şeyle koruyun. success kontrol etmek
  1. Kilidi aç PDF Gelen her dosya için kayıtlı şifreyi denemeye çalışır.
  2. Bir IF düğümü, döndürülen değeri test eder. success ve isUnlocked alanları.
  3. Hatalar bir uyarıya yönlendirilir, böylece değiştirilen parola hemen fark edilir.

Pratik İpuçları

Never hardcode the password
Use an expression that reads an n8n credential or environment variable, so the secret does not travel inside exported workflow JSON.
Put the unlock first
Extraction and conversion nodes cannot read an encrypted PDF, so unlocking early avoids confusing downstream failures.
Alert on a failed unlock
A rotated password will fail every run. Branch on success so it surfaces as an alert rather than a pile of stuck items.
Assert on isUnlocked before extracting
Checking the flag is cheaper than debugging an extraction node that received a file it could not open.
Only unlock what you are authorised to
The action needs the real password by design. Confirm you have the right to remove protection before automating it across an archive.
re-protect before sending outward
If the document leaves your systems again, add Protect Document at the end so the unlocked copy is not what gets distributed.

Kopya Kağıdı

AlanDeğer
ActionUnlock PDF
Input Data TypeBinary Data
Input Binary Fielddata
Output File Nameunlocked_output.pdf
Password{{ $env.PDF_PASSWORD }}
Binary Data Output Namedata
CredentialsPDF4me API credential

Sıkça Sorulan Sorular

Can Unlock PDF open a PDF when I do not know the password?+
No. The Password field is required and must match the password set on the document. The node removes protection from files you are already authorised to open; it is not a password recovery or cracking tool. If nobody in your organisation holds the password, the document cannot be unlocked through this action.
Where should I store the PDF password in n8n?+
Avoid typing it directly into the Password field on a saved workflow. Reference an n8n credential or an environment variable through an expression instead, so the secret is not stored in the workflow JSON that gets exported, shared, or committed to version control.
Does unlocking remove permission restrictions as well as the open password?+
The action removes the password protection so the returned file opens without a prompt, and the response includes a securityRemoved flag confirming restrictions were lifted. Encryption and permission handling are defined in the ISO 32000 PDF specification, so check that flag on a representative document before assuming a specific restriction such as printing or copying is gone.
Why unlock PDFs in a workflow instead of one at a time?+
Downstream steps such as text extraction, table parsing, and conversion cannot read an encrypted PDF. Putting Unlock PDF at the front of the workflow means every protected file that arrives is made readable automatically, rather than stalling the pipeline until someone opens each one by hand.
What happens if the password is wrong?+
The run fails rather than returning a partially unlocked file. Branch on the returned success boolean so a wrong or rotated password raises an alert instead of silently passing the still-encrypted original to the next step, where it would fail again less obviously.

İlgili Eylemler

Diğer Platformlarda Aynı Görev

Yardım Alın