Lewati ke konten utama

Tambahkan Tanda Air Teks ke Excel di dalam n8n

Tambahkan Tanda Air Teks adalah sebuah PDF4me Excel operasi di n8n Fitur ini menambahkan label teks khusus seperti RAHASIA atau DRAFT ke seluruh lembar kerja dalam buku kerja .xlsx. Gunakan fitur ini untuk menandai spreadsheet sensitif, menandai draf sebelum ditinjau, atau menerapkan branding perusahaan secara otomatis, tanpa perlu pengeditan manual. Excel.

Fungsi node ini

PDF4me ExcelTambahkan Tanda Air Teks menampilkan tanda air teks bergaya WordArt pada Excel Lembar kerja, dengan kontrol atas jenis huruf, ukuran teks dalam poin, warna teks, gaya tebal dan miring, transparansi, sudut rotasi, dan kisi penempatan sembilan posisi. Pemilihan Lembar Kerja menentukan apakah watermark akan muncul di setiap lembar atau hanya lembar yang Anda tentukan. Ideal untuk label kerahasiaan, penanda draf, pemberitahuan hak cipta, dan branding spreadsheet otomatis.

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 sesuai dengan kebutuhan Anda. PDF4me API kunci agar alur kerja dapat mengautentikasi permintaan watermarking dengan aman.

Fakta Penting yang Tidak Boleh Anda Lewatkan

Ukuran Teks adalah nilai poin, bukan kode yang sudah ditentukan sebelumnya.
Masukkan ukuran yang Anda inginkan secara langsung. Nilai 20 akan menghasilkan watermark 20 poin dan responsnya akan menampilkan textSize 20. Naikkan nilainya menjadi 72 atau lebih untuk tampilan diagonal lebar penuh.
Gerbang pemilihan lembar kerja mengakses seluruh buku kerja.
Semua Lembar Kerja memberi cap pada setiap lembar dan melaporkan worksheetSelection 0 dalam respons. Beralih ke pilihan tertentu menargetkan lembar berdasarkan nama atau indeks berbasis nol dan melaporkan worksheetSelection 1.
Transparansi 0 itu padat, bukan tak terlihat.
Skala ini berkisar dari 0 hingga 100, di mana 0 berarti sepenuhnya buram dan 100 berarti sepenuhnya transparan. Nilai default 0 menghasilkan watermark yang solid, jadi naikkan nilainya menjadi sekitar 50 jika data di bawahnya harus tetap terbaca.
Node PDF4me Excel di n8n diatur ke Operasi Tambah Tanda Air Teks, Metode Input File Excel Dari Node Sebelumnya (Data Biner), Nama Properti Data Biner data, Teks Tanda Air RAHASIA, Jenis Huruf Arial, Ukuran Teks 20, Tebal aktif, Miring nonaktif, Warna Teks #808080, Transparansi 50, Sudut Rotasi -45, Posisi Tengah, Pemilihan Lembar Kerja Semua Lembar Kerja, Nama File Output excel_with_watermark.xlsx, Nama Dokumen Sumber myExcelFile.xlsx, Nama Data Biner Output data

PDF4me Excel Tambahkan panel parameter Tanda Air Teks di n8n

Parameter apa saja yang dibutuhkan untuk menambahkan watermark teks?

Diperlukan: Operasi, Excel Metode Input File, kolom input yang sesuai dengan metode tersebut, Teks Tanda Air, dan Nama File Output. Kolom penataan gaya (Jenis Huruf, Ukuran Teks, Warna Teks, Tebal, Miring, Transparansi, Sudut Rotasi, Posisi) semuanya dilengkapi dengan pengaturan default yang berfungsi, dan Nama Dokumen Sumber serta Nama Data Biner Output adalah label opsional.

ParameterDiperlukanApa fungsinya?Contoh
OperationRequiredSelects the PDF4me Excel action to run. Choose Add Text Watermark.Add Text Watermark
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 that holds the .xlsx workbook. Applies when the input method is binary data. Defaults to data.data
Watermark TextRequiredThe text stamped across the worksheet. Accepts any string, including expressions mapped from earlier nodes.CONFIDENTIAL
Font FamilyOptionalFont used to render the watermark, chosen from the dropdown of available families.Arial
Text SizeOptionalWatermark size in points, entered directly. The response echoes the same number back as textSize.20
BoldOptionalToggle that applies bold weight to the watermark text. Off by default.true
ItalicOptionalToggle that applies italic styling to the watermark text. Off by default.false
Text ColorOptionalWatermark colour, set through the colour picker or as a hex code.#808080
TransparencyOptionalTransparency from 0 (fully opaque) to 100 (fully invisible). Default 0.50
Rotation AngleOptionalRotation in degrees. 0 is horizontal, negative values tilt anticlockwise for the classic diagonal watermark.-45
PositionOptionalPlacement on the sheet, picked from a nine-cell grid running Top Left through Bottom Right. Returned as a numeric code in the response.Center
Worksheet SelectionOptionalAll Worksheets watermarks every sheet. Switching to a specific selection lets you target sheets by name or zero-based index.All Worksheets
Output File NameRequiredFilename for the watermarked workbook the node returns. Include the .xlsx extension.excel_with_watermark.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 berwatermark sebagai data biner.

BidangJenisIsi di dalamnya
successBooleanTrue when the watermark was applied successfully. Use it to route error-handling branches.
fileNameStringFilename of the watermarked workbook, matching Output File Name.
fileSizeNumberSize of the returned workbook in bytes.
originalFileNameStringThe value supplied in Source Document Name, echoed back for tracking.
watermarkTextStringThe text that was stamped onto the worksheets.
fontFamilyStringFont family used to render the watermark.
textSizeNumberWatermark size in points, matching the Text Size input.
isBoldBooleanWhether bold weight was applied.
isItalicBooleanWhether italic styling was applied.
textColorStringWatermark colour as a hex value.
transparencyNumberTransparency level applied, from 0 to 100.
rotationAngleNumberRotation in degrees applied to the watermark.
positionNumberNumeric code for the placement cell used on the nine-position grid.
worksheetSelectionNumber0 when every worksheet was watermarked, 1 when a specific selection was targeted.
selectedWorksheetNamesArrayWorksheet names targeted, empty when all worksheets were processed.
selectedWorksheetIndexesArrayZero-based worksheet indexes targeted, empty when all worksheets were processed.
messageStringHuman-readable result message for the operation.
Binary (data)BinaryThe watermarked .xlsx under Output Binary Data Name (default data). Pass into Write Binary File, Email, or a cloud-storage upload.

N8N Tindakan dan Respons

Yang PDF4me Tambahkan Tanda Air Teks Operasi ini mengembalikan respons yang dapat Anda periksa dalam beberapa format di dalamnya. n8n:

JSON Format Respons

[
{
"fileName": "excel_with_watermark.xlsx",
"fileSize": 219605,
"success": true,
"originalFileName": "myExcelFile.xlsx",
"watermarkText": "CONFIDENTIAL",
"fontFamily": "Arial",
"textSize": 20,
"isBold": true,
"isItalic": false,
"textColor": "#808080",
"transparency": 50,
"rotationAngle": -45,
"position": 1,
"worksheetSelection": 1,
"selectedWorksheetNames": [],
"selectedWorksheetIndexes": [],
"message": "Text watermark added to Excel file successfully"
}
]

Bagaimana Cara Mengatur Penambahan Teks Tanda Air di n8n?

  1. Tambahkan PDF4me Excel simpul ke Anda n8n alur kerja dan pengaturan Operasi ke Tambahkan Tanda Air Teks.
  2. Di dalam Kredensial untuk terhubung dengan, pilih milikmu PDF4me API atau buat yang baru dan tempelkan 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 Teks Tanda Air, Misalnya CONFIDENTIAL.
  5. Berikan sentuhan gaya pada watermark dengan Keluarga Font, Ukuran Teks (dalam poin), Warna Teks, Berani, Dan Miring.
  6. Sesuaikan visibilitas dan penempatan dengan Transparansi, Sudut Rotasi, Dan Posisi.
  7. Mengatur Pemilihan Lembar Kerja ke Semua Lembar Kerja atau menargetkan lembar data tertentu.
  8. Mengatur Nama File Output berakhir di .xlsxKemudian, jalankan node tersebut dan teruskan workbook yang telah diberi watermark.

Pengaturan Umum

Contoh Alur KerjaCommon n8n workflow patterns using Add Text Watermark for Excel.
Label RAHASIA sebelum dibagikan ke luar
  1. Pemicu Google Drive akan aktif ketika sebuah buku kerja masuk ke folder keluar.
  2. PDF4me Excel menjalankan Tambahkan Teks Tanda Air dengan Teks Tanda Air RAHASIA, Warna Teks merah, Transparansi 50.
  3. Buku kerja yang diberi tanda air dikirim melalui email kepada penerima dan diarsipkan kembali ke Drive.
Tanda DRAFT diagonal pada laporan terjadwal
  1. Schedule Trigger membuat buku kerja angka mingguan dari ekspor basis data.
  2. Tambahkan Teks Tanda Air dengan Teks Tanda Air DRAFT, Sudut Rotasi -45, Transparansi 50, Posisi Tengah.
  3. Draf tersebut diunggah ke saluran peninjauan Slack sebelum disetujui.
Nama klien dicap per catatan.
  1. Node Loop Over Items mengiterasi baris klien dari sebuah CRM Ekspor.
  2. Teks tanda air dipetakan dari sebuah ekspresi sehingga setiap buku kerja memuat nama klien tersebut.
  3. Setiap output ditulis ke penyimpanan cloud menggunakan ID klien sebagai nama file.
Hanya lembar ringkasan, data mentah dibiarkan bersih.
  1. Webhook menerima buku kerja pelaporan yang sudah selesai dari alat internal.
  2. Pemilihan Lembar Kerja menargetkan lembar ringkasan sehingga tab data mentah tetap tidak ditandai.
  3. Hasilnya diunggah ke SharePoint untuk didistribusikan.

Tips Praktis

Text Size is points, not a preset
Type the point size you actually want. There is no 1 to 4 preset scale, so 20 means 20 points and 100 means a full-width banner.
Raise Transparency before raising size
A large opaque watermark hides cell values. Set Transparency near 50 first, then increase Text Size for coverage.
Rotation -45 gives the classic look
Negative angles tilt anticlockwise. Pair Rotation Angle -45 with Position Center for the traditional diagonal watermark.
Worksheet indexes are zero-based
When targeting sheets by index, the first worksheet is 0, not 1. Mixing this up silently watermarks the wrong tab.
Output File Name needs the .xlsx extension
Omitting the extension can leave downstream nodes unable to detect the format when writing or emailing the file.
Source Document Name is reference-only
It is echoed back as originalFileName for tracking and does not affect the watermark or the output filename.

Lembar Panduan Singkat

BidangNilai
OperationAdd Text Watermark
Excel File Input MethodFrom Previous Node (Binary Data)
Binary Data Property Namedata
Watermark TextCONFIDENTIAL
Font FamilyArial
Text Size20 (points)
Text Color#808080
Transparency50
Rotation Angle-45
PositionCenter
Worksheet SelectionAll Worksheets
Output File Nameexcel_with_watermark.xlsx
Output Binary Data Namedata
CredentialsPDF4me API credential

Pertanyaan Umum

Is Text Size a point value or a preset number?+
Text Size is a direct point value, not a preset code. Entering 20 renders the watermark at 20 points and the response echoes textSize 20. Larger values such as 72 or 100 produce the full-page watermark look used on confidential copies.
Can I watermark only some worksheets instead of the whole workbook?+
Yes. Worksheet Selection controls this. All Worksheets applies the watermark everywhere and the response reports worksheetSelection 0. Choosing a specific selection lets you target worksheets by name or by zero-based index, and the response reports worksheetSelection 1.
How do I get the classic diagonal watermark look?+
Set Rotation Angle to a value such as -45 for a tilted watermark, raise Transparency to around 50 so cell contents stay readable underneath, and set Position to Center so the text sits across the middle of the sheet.
What does Transparency 0 mean?+
Transparency runs from 0 to 100 where 0 is fully opaque and 100 is fully invisible. The default is 0, which renders a solid watermark. Values around 40 to 60 are the usual choice when the watermark must not obscure the data.
What is the difference between Output File Name and Source Document Name?+
Output File Name is the filename of the watermarked workbook the node produces. Source Document Name is a reference label for the incoming file and is echoed back as originalFileName in the response, so it is useful for tracking rather than for controlling output.
Does the watermark support dynamic text from earlier nodes?+
Yes. Watermark Text accepts any string, so you can map an n8n expression into it, for example a client name or a generated timestamp from an upstream node, using the syntax described in the n8n expressions documentation.
Why not just use the built-in Excel watermark feature?+
Excel has no dedicated watermark button. The manual route is inserting WordArt or a header image on every sheet by hand, which does not scale past a handful of files. Running the operation through n8n applies the same visual result to every workbook in a workflow without opening Excel, and it can be chained with other n8n workflow steps.

Tindakan Terkait

Tugas yang Sama di Platform Lain

Dapatkan Bantuan