Lewati ke konten utama

Buka kunci Excel File dan Hapus Perlindungan di n8n

Buka Kunci File adalah sebuah PDF4me Excel operasi di n8n yang menghapus perlindungan kata sandi dari buku kerja .xlsx pada tiga tingkat independen: enkripsi file, struktur buku kerja, dan perlindungan lembar kerja. Gunakan untuk membuka templat yang dilindungi, mempersiapkan file untuk penulisan data otomatis, atau menghapus kata sandi sebelum pengarsipan, tanpa perlu membukanya. Excel.

Fungsi node ini

PDF4me ExcelBuka Kunci File menghapus Excel Perlindungan dalam satu kali proses. Ini menghapus kata sandi pembuka (enkripsi file), kunci struktur buku kerja yang mencegah penambahan, penghapusan, atau penggantian nama lembar kerja, dan secara opsional perlindungan lembar kerja yang mencegah pengeditan sel dan rumus. Kata sandi yang Anda berikan digunakan kembali sebagai cadangan di berbagai lapisan, sehingga buku kerja yang diamankan dengan satu kata sandi biasanya hanya perlu mengisi satu kolom saja.

Postingan Blog Terkait
Belum ada postingan blog untuk fitur ini — akan segera hadir.
Sementara itu, jelajahi blog PDF4me untuk menemukan tutorial dan alur kerja di berbagai platform.
Kunjungi blog ini

Memverifikasi Identitas Anda API Meminta

Setiap PDF4me simpul di n8n memerlukan validitas Kredensial untuk terhubung denganBuat atau pilih salah satu yang memuat milik Anda. PDF4me API kunci agar alur kerja dapat mengautentikasi permintaan pembukaan kunci dengan aman.

Fakta Penting yang Tidak Boleh Anda Lewatkan

Tiga tingkat perlindungan, satu pengoperasian.
Enkripsi berkas, struktur buku kerja, dan perlindungan lembar kerja adalah kunci independen di ExcelSebuah buku kerja dapat memuat kombinasi apa pun, dan operasi ini menangani ketiganya sekaligus.
Kata sandi berfungsi sebagai cadangan di berbagai lapisan.
Setiap lapisan pertama kali dicoba tanpa kata sandi. Jika kata sandi diberikan, kata sandi tersebut juga digunakan kembali terhadap lapisan lain, sehingga satu kata sandi di File Encryption Password sering kali dapat membuka kunci buku kerja yang diamankan dengan cara yang sama di seluruh bagiannya.
Pembukaan kunci lembar kerja bersifat opsional.
Tombol Buka Kunci Lembar Kerja dinonaktifkan secara default. Biarkan nonaktif untuk hanya menghapus kata sandi yang terbuka dan kunci struktur; aktifkan tombol tersebut ketika sel dan rumus juga harus dapat diedit.
Node PDF4me Excel di n8n diatur ke Operasi Buka Kunci File, Metode Input File Excel Dari Node Sebelumnya (Data Biner), Nama Properti Data Biner data, kolom Kata Sandi Enkripsi File dan Kata Sandi Perlindungan Buku Kerja kosong, sakelar Buka Kunci Lembar Kerja dimatikan, Nama Budaya en-US, Nama File Output excel_unlocked.xlsx, Nama Dokumen Sumber myExcelFile.xlsx, Nama Data Biner Output data

PDF4me Excel Buka kunci panel parameter File di n8n

Yang Excel Perlindungan Apa yang Dihilangkan oleh Setiap Bidang?

Excel memberikan perlindungan pada tiga tingkatan terpisah, dan ketiganya mudah membingungkan. Tabel ini memetakan masing-masing tingkatan ke apa yang diblokirnya dan bidang mana yang menghapusnya.

Tingkat perlindunganApa yang diblokirnyaLapangan yang membersihkannya
File encryptionThe workbook cannot be opened at all without a password. Excel prompts before any content is visible.File Encryption Password
Workbook structureSheets cannot be added, deleted, renamed, moved, hidden, or unhidden, though existing cells stay editable.Workbook Protection Password
Worksheet protectionCells, formulas, and objects on a sheet cannot be edited, though the file opens and the structure is intact.Unlock Worksheets toggle

Parameter apa saja yang dibutuhkan untuk membuka kunci file?

Diperlukan: Operasi, Excel Metode Input File, kolom input yang sesuai dengan metode tersebut, dan Nama File Output. Kolom kata sandi bersifat kondisional, hanya diperlukan untuk tingkat perlindungan yang benar-benar ada pada buku kerja. Lembar Kerja yang Dapat Dibuka Kuncinya, Nama Budaya, Nama Dokumen Sumber, dan Nama Data Biner Output bersifat opsional.

ParameterDiperlukanApa fungsinya?Contoh
OperationRequiredSelects the PDF4me Excel action to run. Choose Unlock File.Unlock File
Excel File Input MethodRequiredHow the workbook reaches the node. From Previous Node (Binary Data) reads it from an upstream item; the dropdown also offers base64 and file URL alternatives.From Previous Node (Binary Data)
Binary Data Property NameConditionalName of the binary property on the incoming n8n item holding the .xlsx workbook. Applies when the input method is binary data. Defaults to data.data
File Encryption PasswordConditionalThe password required to open the workbook. Supply it when the file is encrypted; it is also reused as a fallback against the other protection levels.FilePass123
Workbook Protection PasswordConditionalThe password guarding workbook structure, which prevents sheets being added, deleted, renamed, or moved. Supply it when structure protection is set.StructurePass
Unlock WorksheetsOptionalToggle that extends the run to worksheet-level protection so cells, formulas, and objects become editable. Off by default.true
Culture NameOptionalLocale used while processing the workbook, relevant for locale-sensitive number and date formatting.en-US
Output File NameRequiredFilename for the unlocked workbook the node returns. Include the .xlsx extension.excel_unlocked.xlsx
Source Document NameOptionalReference label for the incoming workbook. Echoed back as originalFileName for tracking; it does not change the output.myExcelFile.xlsx
Output Binary Data NameOptionalName of the binary property the output item exposes. Defaults to data.data

Bidang Keluaran

Satu kali lari yang sukses akan menghasilkan satu n8n barang yang dibawa JSON metadata ditambah buku kerja yang tidak terkunci sebagai data biner.

BidangJenisIsi di dalamnya
successBooleanTrue when protection was removed successfully. Use it to route error-handling branches.
fileNameStringFilename of the unlocked workbook, matching Output File Name.
fileSizeNumberSize of the returned workbook in bytes.
originalFileNameStringThe value supplied in Source Document Name, echoed back for tracking.
messageStringHuman-readable result message for the unlock operation.
Binary (data)BinaryThe unlocked .xlsx under Output Binary Data Name (default data). Pass into Write Binary File, Email, or a cloud-storage upload.

N8N Tindakan dan Respons

JSON Format Respons

[
{
"fileName": "excel_unlocked.xlsx",
"fileSize": 14234,
"success": true,
"originalFileName": "myExcelFile.xlsx",
"message": "Excel document unlocked successfully"
}
]

Bagaimana Cara Mengatur File Buka Kunci di n8n?

  1. Tambahkan PDF4me Excel Tambahkan node ini ke alur kerja Anda dan atur. Operasi ke Buka Kunci File.
  2. Di dalam Kredensial untuk terhubung dengan, pilih milikmu PDF4me API atau buat yang baru dengan kredensial Anda. API kunci.
  3. Mengatur Excel Metode Input File ke Dari Node Sebelumnya (Data Biner) dan mengatur Nama Properti Data Biner ke properti yang menyimpan buku kerja tersebut, biasanya data.
  4. Memasuki Kata Sandi Enkripsi File jika buku kerja tersebut memerlukan kata sandi untuk dibuka.
  5. Memasuki Kata Sandi Perlindungan Buku Kerja jika struktur lembaran terkunci.
  6. Nyalakan Buka Lembar Kerja jika sel dan rumus juga perlu diedit.
  7. Pengaturan opsional Nama Budaya untuk buku kerja yang peka terhadap lokal.
  8. Mengatur Nama File Output berakhir di .xlsx, jalankan node tersebut, dan teruskan workbook yang sudah tidak terkunci.

Pengaturan Umum

Contoh Alur KerjaCommon n8n workflow patterns using Unlock File for Excel.
Buka kunci templat yang dilindungi sebelum menulis data.
  1. Alur kerja mengambil templat pelaporan yang terkunci dari SharePoint.
  2. Buka Kunci File menghapus kunci struktur sehingga lembar kerja baru dapat ditambahkan.
  3. PDF4me Excel Fungsi Tambah Baris menuliskan angka periode ke dalam buku kerja.
Hapus kata sandi sebelum mengarsipkan
  1. Pemicu Jadwal mengumpulkan buku kerja yang harus disimpan dalam jangka panjang.
  2. Unlock File menghapus kata sandi pembuka sehingga arsip tetap dapat dibaca di kemudian hari.
  3. File yang telah dihapus akan ditulis ke dalam bucket arsip.
Make buku kerja pemasok yang dapat dibaca mesin
  1. Sebuah pemicu email menerima daftar harga yang dilindungi dari pemasok.
  2. Unlock File berjalan bersamaan dengan Unlock Worksheets sehingga nilai sel dapat diuraikan.
  3. Baris-baris tersebut diekstrak dan disinkronkan ke dalam basis data internal.
Buka kunci, edit, lalu kunci kembali.
  1. Unlock File menghapus perlindungan dari buku kerja yang telah disetujui.
  2. Node hilir memperbarui angka dan menyegarkan lembar ringkasan.
  3. PDF4me Excel Aman Excel Menerapkan kembali kata sandi sebelum didistribusikan ulang.

Tips Praktis

Try it with no password first
Structure and worksheet protection are often set without any password. Run the node with the password fields empty before assuming you need one.
One password usually covers all layers
Because supplied passwords are reused as fallbacks, filling in File Encryption Password alone often clears a workbook secured the same way throughout.
Passwords are case-sensitive
A mismatch in capitalisation fails the layer silently rather than erroring loudly, so check case before debugging further.
Leave Unlock Worksheets off unless needed
Removing cell-level protection can expose formulas that were deliberately locked. Enable it only when downstream nodes must edit cells.
Re-secure after editing
Unlocking is usually a middle step. Chain Secure Excel at the end so the redistributed workbook is protected again.
Output File Name needs the .xlsx extension
Omitting it can leave downstream nodes unable to detect the format when writing or emailing the file.

Lembar Panduan Singkat

BidangNilai
OperationUnlock File
Excel File Input MethodFrom Previous Node (Binary Data)
Binary Data Property Namedata
File Encryption Password(only if the file needs a password to open)
Workbook Protection Password(only if the sheet structure is locked)
Unlock Worksheetsoff (on to make cells editable)
Culture Nameen-US
Output File Nameexcel_unlocked.xlsx
Source Document NamemyExcelFile.xlsx
Output Binary Data Namedata
CredentialsPDF4me API credential

Pertanyaan Umum

What are the three levels of Excel protection this removes?+
File encryption is the password required to open the file at all. Workbook structure protection stops sheets being added, deleted, renamed, or moved. Worksheet protection stops cells, formulas, and objects being edited. Each level is independent, as described in Microsoft protection and security in Excel.
Do I need to supply a password for every protection level?+
No. Only supply the passwords that apply. The operation first attempts to remove each layer with no password, and where a password is supplied it is also reused as a fallback for the other layers, so a workbook that uses one password throughout usually needs only File Encryption Password filled in.
What does the Unlock Worksheets toggle do?+
It controls whether worksheet-level protection is cleared as part of the run. Leave it off to remove only file encryption and workbook structure protection. Switch it on when cells, formulas, or objects also need to become editable.
Is this the same as cracking an unknown Excel password?+
No. The operation removes protection you are authorised to remove, using passwords you supply or protection that carries no password. It is intended for automating access to your own files, such as unlocking a protected template before a workflow writes data into it.
What is Culture Name for?+
Culture Name sets the locale used while the workbook is processed, for example en-US or de-DE. It matters when a workbook contains locale-sensitive formatting such as decimal separators or date formats. Leaving it at the default uses the standard culture.
What is the difference between Output File Name and Source Document Name?+
Output File Name is the filename of the unlocked workbook the node returns. Source Document Name is a reference label echoed back as originalFileName in the response, useful for tracking. Both can be driven by expressions, following the n8n expressions documentation.

Tindakan Terkait

Tugas yang Sama di Platform Lain

Dapatkan Bantuan