メインコンテンツへスキップ

テキスト透かしを追加する Excel で n8n

テキスト透かしを追加 は PDF4me Excel オペレーション n8n .xlsx ワークブックのワークシート全体に「機密」や「下書き」などのカスタムテキストラベルをスタンプします。これを使用して、機密性の高いスプレッドシートをマークしたり、レビュー前に下書きにフラグを付けたり、手動で編集することなく自動的に会社のブランディングを適用したりできます。 Excel。

このノードの機能

PDF4me Excelテキスト透かしを追加 WordArt スタイルのテキスト透かしをレンダリングします Excel ワークシートごとに、フォントの種類、ポイント単位の文字サイズ、文字色、太字・斜体スタイル、透明度、回転角度、9段階の配置グリッドを制御できます。ワークシート選択機能では、透かしをすべてのシートに表示するか、指定したシートのみに表示するかを選択できます。機密ラベル、下書きマーカー、著作権表示、スプレッドシートの自動ブランディングに最適です。

関連ブログ記事
この機能に関するブログ記事はまだありません。近日公開予定です。
その間、PDF4me ブログを閲覧して、あらゆるプラットフォームのチュートリアルやワークフローをご覧ください。
ブログをご覧ください →

認証 API リクエスト​

毎 PDF4me ノード n8n 有効な 接続するための認証情報. 作成または選択して、 PDF4me API ワークフローがウォーターマーク要求を安全に認証できるようにするためのキー。

見逃してはならない重要な事実​

テキストサイズはポイント値であり、プリセットコードではありません。
希望するサイズを直接入力してください。20を指定すると20ポイントの透かしが表示され、応答としてtextSize 20が返されます。72以上にすると、全幅の斜め表示になります。
ワークシートの選択によってワークブック全体が制限されます
「すべてのワークシート」を選択すると、すべてのシートにスタンプが押され、レスポンスに「worksheetSelection 0」と表示されます。特定のシートを選択する場合は、シート名または0から始まるインデックスでシートを指定し、「worksheetSelection 1」と表示されます。
透明度0は不透明ではなく、実体です。
スケールは0から100まであり、0は完全に不透明、100は完全に透明です。デフォルト値の0では不透明な透かしが表示されるため、下のデータが読み取れるようにするには、値を約50に上げてください。
n8n の PDF4me Excel ノードは、操作を「テキスト透かしの追加」、Excel ファイル入力方法を「前のノードから (バイナリ データ)」、バイナリ データ プロパティ名を data、透かしテキストを「機密」、フォントファミリーを Arial、テキスト サイズを 20、太字をオン、斜体をオフ、テキスト カラーを #808080、透明度を 50、回転角度を -45、位置を中央、ワークシート選択を「すべてのワークシート」、出力ファイル名を excel_with_watermark.xlsx、ソース ドキュメント名を myExcelFile.xlsx、出力バイナリ データ名を data に設定しています。

PDF4me Excel テキスト透かしパラメータパネルを追加する n8n

テキスト透かしを追加するために必要なパラメータは何ですか?​

必須: 手術、 Excel ファイル入力方法、その方法に対応する入力フィールド、透かしテキスト、および出力ファイル名。スタイル設定フィールド(フォントファミリー、テキストサイズ、テキストカラー、太字、斜体、透明度、回転角度、位置)はすべてデフォルト値が設定されており、ソースドキュメント名と出力バイナリデータ名はオプションのラベルです。

パラメータ必須その機能例
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

出力フィールド​

成功したランは1 n8n 持ち運んでいるアイテム JSON メタデータと透かし入りのワークブックをバイナリデータとして含む。

分野タイプ内容物
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 行動対応​

の PDF4me テキスト透かしを追加 操作は、内部で検査できる複数の形式のレスポンスを返します。 n8n:

JSON 回答形式

[
{
"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"
}
]

テキスト透かしを追加するにはどうすればいいですか? n8n?​

  1. 追加する PDF4me Excel あなたのノードへ n8n ワークフローと設定 手術 に テキスト透かしを追加。
  2. で 接続するための認証情報選択してください PDF4me API 認証情報または認証情報を作成して貼り付けます API 鍵。
  3. セット Excel ファイル入力方法 に 前のノードから(バイナリデータ) そして設定する バイナリデータプロパティ名 ワークブックを保管している物件へ、通常 data。
  4. 入力 透かし文字、 例えば CONFIDENTIAL。
  5. 透かしをスタイル設定して フォントファミリー、 テキストサイズ (箇条書きで) テキストの色、 大胆な、 そして イタリック。
  6. 視認性と配置を調整 透明性、 回転角度、 そして 位置。
  7. セット ワークシートの選択 に すべてのワークシート または特定のシートを対象とする。
  8. セット 出力ファイル名 で終わる .xlsx次に、ノードを実行し、透かし入りのワークブックを転送します。

典型的な構成​

ワークフローの例Common n8n workflow patterns using Add Text Watermark for Excel.
外部共有前に機密ラベルを貼付してください。
  1. Googleドライブのトリガーは、ワークブックが送信フォルダに移動されたときに作動します。
  2. PDF4me Excel テキスト透かしを追加し、透かしテキスト「CONFIDENTIAL」、テキストカラー「赤」、透明度50を実行します。
  3. 透かし入りのワークブックは受信者にメールで送信され、Googleドライブにアーカイブされます。
予定されている報告書に斜めの「下書き」マークを付ける
  1. スケジュールトリガーは、データベースのエクスポートデータから週次数値ワークブックを作成します。
  2. テキスト透かしを追加すると、透かしテキストが「下書き」、回転角度が-45、透明度が50、位置が中央で実行されます。
  3. 承認前に、草稿はSlackのレビューチャンネルに投稿されます。
記録ごとにクライアント名が押印されます
  1. Loop Over Itemsノードは、クライアント行を反復処理します。 CRM 輸出。
  2. 透かしテキストは式からマッピングされるため、各ワークブックにそのクライアント名が反映されます。
  3. 各出力は、クライアントIDをファイル名として使用してクラウドストレージに書き込まれます。
要約シートのみ、生データはそのまま残す
  1. ウェブフックは、内部ツールから完成したレポートワークブックを受信します。
  2. ワークシートの選択ではサマリーシートが対象となり、生データタブは選択されません。
  3. 結果はアップロードされます SharePoint 配布用。

実践的なヒント​

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.

チートシート​

分野価値
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

よくある質問​

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.

関連アクション​

他のプラットフォームでの同じタスク​

ヘルプが必要な場合​