サイン PDF 使用 n8n アクション
PDF4me サイン PDF デジタル署名と署名画像を追加します PDF 文書を通じて n8n 自動化ワークフロー。プロセス PDF離れて n8n トリガー、バイナリデータ、base64文字列、または公開 URL署名画像を正確な位置決め、カスタマイズ可能なサイズ、透明度制御、回転オプション、ページ固有のターゲティング、柔軟な配置で挿入し、安全な文書認証と検証を実現します。このソリューションは、契約書の署名、法的文書、承認ワークフロー、認証プロセス、文書検証、および正確なレンダリングとシームレスな統合によるプロフェッショナルな署名配置が求められる自動署名ワークフローに最適です。
関連ブログ記事
この機能に関するブログ記事はまだありません。近日公開予定です。
その間、PDF4me ブログを閲覧して、あらゆるプラットフォームのチュートリアルやワークフローをご覧ください。
ブログをご覧ください →
設定
追加する PDF4me "サイン PDF「ノードをあなたの n8n ワークフローを実行し、必要なパラメータを設定します。初期設定手順については、こちらをご覧ください。 n8n 統合ガイド。
前提条件:
- PDF4me API 資格
- n8n ワークフローへのアクセス
構成:
- 追加 PDF4me ノードからワークフローへ
- 「署名」を選択してください PDF" アクション
- 入力パラメータを設定します(下記参照)。

パラメータ
サインのパラメータの完全なリスト PDF アクション。これらのパラメーターを設定して制御します。 PDF 署名の追加。
重要: アスタリスク(***)が付いているパラメータは必須であり、アクションが正しく機能するためには必ず指定する必要があります。
| パラメータ | 必須 | その機能 | 例 |
|---|---|---|---|
| Input Data Type | Required | Choose how to provide the PDF file to sign. Options: Binary Data, Base64 String, URL. Default is `Binary Data`. | Binary Data |
| Input Binary Field | Conditional | Name of the binary property that contains the PDF file. Shown when Input Data Type is Binary Data. Default is `data`. | data |
| Base64 PDF Content | Conditional | Base64 encoded PDF document content. Shown when Input Data Type is Base64 String. | UEsDBBQABgAI... |
| PDF URL | Conditional | URL to the PDF file to sign. Shown when Input Data Type is URL. | |
| Output File Name | Optional | Name for the output signed PDF file. Default is `signed_document.pdf`. | signed_document.pdf |
| Document Name | Optional | Name of the source PDF file for reference. Default is `document.pdf`. | document.pdf |
| Signature Image Input Type | Required | Choose how to provide the signature image. Options: Binary Data, Base64 String, URL. Default is `Binary Data`. | Binary Data |
| Signature Image Binary Field | Conditional | Name of the binary property that contains the signature image. Shown when Signature Image Input Type is Binary Data. Default is `data`. | data |
| Base64 Signature Image Content | Conditional | Base64 encoded signature image content. Shown when Signature Image Input Type is Base64 String. | /9j/4AAQSkZ... |
| Signature Image URL | Conditional | URL to the signature image file. Shown when Signature Image Input Type is URL. | https://abc.com/signature.png |
| Image Name | Optional | Name of the signature image file. Default is `signature.png`. | signature.png |
| Pages | Optional | Page numbers to add signature (e.g., 1, 1-3, 1,3,5). Default is `1`. | 1 |
| Horizontal Alignment | Optional | Horizontal alignment of the signature. Options: Left, Center, Right. Default is `Center`. | Center |
| Vertical Alignment | Optional | Vertical alignment of the signature. Options: Top, Center, Bottom. Default is `Bottom`. | Bottom |
| Width (Mm) | Optional | Signature width in millimeters (10-200). Default is `50`. | 50 |
| Height (Mm) | Optional | Signature height in millimeters (10-200). Default is `25`. | 25 |
| Width (Px) | Optional | Signature width in pixels (20-600). Default is `142`. | 142 |
| Height (Px) | Optional | Signature height in pixels (20-600). Default is `71`. | 71 |
| Horizontal Margin (Mm) | Optional | Horizontal margin in millimeters (0-100). Default is `20`. | 20 |
| Vertical Margin (Mm) | Optional | Vertical margin in millimeters (0-100). Default is `20`. | 20 |
| Horizontal Margin (Px) | Optional | Horizontal margin in pixels (0-300). Default is `57`. | 57 |
| Vertical Margin (Px) | Optional | Vertical margin in pixels (0-300). Default is `57`. | 57 |
| Opacity | Optional | Opacity (0-100): 0=invisible, 100=fully opaque. Default is `100`. | 100 |
| Show Only in Print | Optional | Whether to show the signature only when the PDF is printed. Default is `Yes`. | Yes |
| Background Signature | Optional | Whether to place the signature in the background. Default is `No`. | No |
| Advanced Options | Optional | Optional settings, collapsed behind Add Option. | Add Option |
| Custom Profiles | Optional | Use "JSON" to adjust custom properties. Review Profiles at https://dev.pdf4me.com/apiv2/documentation/ to set extra options for API calls. | { "signatureType": "digital", "certificationLevel": "high" } |
| Binary Data Output Name | Optional | Custom name for the binary data in n8n output. Default is `data`. | data |
出力
出力パラメータ
| 分野 | タイプ | 内容物 |
|---|---|---|
fileName | String | Output File Name; `.pdf` is set as extension when it does not end in .pdf. |
mimeType | String | MIME type of the resulting file, for example `application/pdf`. |
fileSize | Number | Size of the resulting file in bytes. |
success | Boolean | True when the operation succeeded. |
message | String | Status message, `PDF signed successfully`. |
data | Binary | The signed PDF. |
N8N 行動対応
の PDF4me サイン PDF API 複数の形式で表示可能なレスポンスを返します。ニーズに最適な表示形式を選択してください。
- JSON
- Table
- Schema
- Binary
JSON 回答形式
生 JSON からの応答 API:
[
{
"success": true,
"message": "PDF signed successfully",
"fileName": "signed_document.pdf",
"mimeType": "application/pdf",
"fileSize": 125430,
"pageCount": 5
}
]
テーブルビュー
構造化された表形式の応答データ:
| パラメータ | 価値 |
|---|---|
| success | true |
| message | PDF signed successfully |
| fileName | signed_document.pdf |
| mimeType | application/pdf |
| fileSize | 125430 |
| pageCount | 5 |
スキーマビュー
レスポンスのデータ構造と型:
1 item
success: ☑ true
message: AB PDF signed successfully
fileName: AB signed_document.pdf
mimeType: AB application/pdf
fileSize: # 125430
pageCount: # 5
タイプ指標:
AB= String#= 番号☑= Boolean
バイナリデータビュー
実際 PDF ファイルデータとメタデータ:
data
─────────────────────────────
File Name: signed_document.pdf
File Extension: pdf
Mime Type: application/pdf
File Size: 122.5 KB
バイナリデータアクセス:
- n8n バイナリオブジェクト:
$binary.data.data - Base64 コンテンツ直接使用可能
- ファイル操作ダウンロード、メール送信、または保存の準備ができました
ユースケース
法務および契約管理
- 法的有効性、契約履行、および規制遵守のために、法的契約、合意書、および公式文書にデジタル署名で署名してください。
- 法的認証、文書の完全性、および法令遵守のためにデジタル署名を追加して、法的文書、裁判所提出書類、および公式記録を処理します。
- ビジネス契約、雇用契約、パートナーシップ文書にデジタル署名を追加することで、法的有効性、契約履行、およびビジネスコンプライアンスを向上させます。
ビジネスプロセスとワークフローの自動化
- 自動承認ワークフロー、ビジネスプロセスの自動化、ワークフロー統合のために、ビジネス文書、請求書、財務記録にデジタル署名で署名します。
- 発注書、承認文書、およびビジネスコミュニケーションを処理するために、自動化されたビジネスプロセス、承認ワークフロー、およびビジネス自動化のためにデジタル署名を追加します。
- プロジェクト承認、ステークホルダーの承認、およびビジネスプロセス管理のためにデジタル署名を追加することで、プロジェクト文書、成果物、およびビジネスレポートを変革します。
コンプライアンスおよび規制関連文書
- 規制遵守、監査証跡、および公式文書化のために、コンプライアンス文書、規制提出書類、および公式記録にデジタル署名で署名します。
- 品質管理、コンプライアンス、規制基準に関するデジタル署名を追加することで、プロセス品質管理文書、検査報告書、認証資料をデジタル署名で保護します。
- 規制遵守、公式文書化、法的有効性を確保するために、公式文書、許可証、規制関連書類にデジタル署名を追加することで、文書を刷新します。