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

ページ番号を追加 PDF のために Zapier

このアクションが何をするか

この操作の内容: の PDF4me ページ番号を追加 PDF アクションは、すべてのページに連続したページ番号を刻印します。 PDF Zap内で、番号の表示位置(上、中央、下、左、中央、右)を選択し、フォントサイズ、太字/斜体スタイル、ミリメートル単位の余白、ページ番号の形式を設定します。 最初のページをスキップする 表紙に番号を付けない。出力は新しい番号付き PDF Google Drive に保存、メールで送信、アップロードする準備ができました SharePointまたは、次のステップに進みます Zapier ワークフロー。

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

認証 API リクエスト​

毎 PDF4me アクション Zapier 有効な API キー。接続 PDF4me 一度 Zapierアカウント設定 - キーは安全に保管され、すべてのアカウントで再利用されます PDF4me 自動的に駆除します。

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

ファイル、垂直方向の配置、水平方向の配置はすべて必須です。
3つすべてを提供する必要があります。そうでないとアクションは失敗します。ファイルには PDF トリガーからバイナリデータを取得します。垂直方向の配置は、ページの高さ方向(上/中央/下)に数値を配置します。水平方向の配置は、ページの幅方向(左/中央/右)に数値を配置します。テストを行う前に、これら3つすべてをマッピングしてください。
配置が中央揃えまたは中央揃えの場合、余白は無視されます。
水平余白は、配置が左揃えまたは右揃えの場合にのみ適用され、最も近い端からの間隔を設定します。中央揃えの場合は無視されます。垂直余白についても同様で、上揃えまたは下揃えの場合にのみ有効になり、中央揃えの場合は無視されます。ページ番号を正確に配置する際には、この点に注意してください。
「最初のページをスキップ」を選択すると表紙にページ番号が振られませんが、ページ番号の順番はリセットされません。
「最初のページをスキップ」が有効な場合、1ページ目(タイトルまたは表紙)にはページ番号が表示されません。2ページ目に表示される番号は「1」ではなく「2」です。これは、この操作が文書内の絶対ページ位置からカウントされるためです。これは、出版および法律文書における標準的な慣例に準拠しています。
Zapierの「PDFにページ番号を追加」アクション:PDF4me
ページ番号を追加 PDF アクションは内部で構成されています Zapier ワークフロー

パラメータ​

⚠️ 必須項目としてマークされたパラメータは必ず指定する必要があります。 アクションを実行するには、この設定が必要です。オプションのパラメータは、数値の書式設定、フォントスタイル、余白を制御します。省略した場合はデフォルト値が適用されます。

パラメータ必須その機能例
FileOptionalThe PDF file to add page numbers to. Map the binary file output from a Zapier trigger or previous action - Google Drive file, Gmail attachment, OneDrive/Dropbox file, or a PDF generated by an earlier Zap step.quarterly_report.pdf (from Google Drive trigger)
Vertical AlignRequiredVertical position of the page number on the page. Top - near the top edge. Middle - equidistant from top and bottom edges (Vertical Margin is ignored). Bottom - near the bottom edge. Defaults to Top.Bottom
Horizontal AlignRequiredHorizontal position of the page number across the page. Left - near the left edge. Center - centred across the page (Horizontal Margin is ignored). Right - near the right edge. Defaults to Right.Center
Specify File NameOptionalCustom name for the output PDF file. If omitted, the name is derived automatically from the source file. Do not include the path - just the filename with or without the .pdf extension.report_numbered.pdf
Page Number FormatRequiredThe format string used to display page numbers. Supports numeric (1, 2, 3…), Roman numerals (i, ii, iii…), and compound formats such as "Page 1 of N". See the Zapier dropdown for all available options. Defaults to {pageNumber} of {totalPages}.Page 1 of N
Horizontal MarginOptionalGap in millimetres from the nearest horizontal edge. Applied when alignment is Left (gap from left edge) or Right (gap from right edge). Ignored when alignment is Center. Default: 0. Defaults to 5.10
Vertical MarginOptionalGap in millimetres from the nearest vertical edge. Applied when alignment is Top (gap from top) or Bottom (gap from bottom). Ignored when alignment is Middle. Default: 0. Defaults to 5.10
Font SizeOptionalPoint size for the page number text. Controls visibility and proportion relative to the page content. Recommended range: 8-14 pt for standard A4/Letter documents. Defaults to 12.12
Set BoldOptionalApply bold weight to the page number text. true - bold numbers; false - normal weight. Useful for making numbers stand out on dense pages. Defaults to No.false
Set ItalicOptionalApply italic style to the page number text. true - italic; false - upright. Often used to visually distinguish page numbers from body text. Defaults to No.false
Skip First PageOptionalWhen true, no page number is stamped on page 1 (the title or cover page). The numbering sequence continues from the actual page position - page 2 shows "2", not "1". Standard for reports, proposals, and legal documents with a cover. Defaults to No.true
File URL (Either provide a File or a File URL)OptionalLink to the PDF to add page numbers to, as an alternative to File. Map a file URL from a previous step.

出力フィールド​

出力フィールド説明
FileURL of the numbered PDF ready to download, upload, or pass to the next Zap step
File NameOutput filename without extension
Full File NameComplete filename including the .pdf extension
File ExtensionFile extension of the output document (always .pdf)

出力​

このアクションはこれらのフィールドを返します。後続のZapステップで、動的フィールドリストからこれらのフィールドを選択してください。

分野タイプ内容物
ドキュメントID文章ID PDF4me 結果として得られる文書を返します。
エラーメッセージ文章エラーメッセージ PDF4me ファイルを処理できませんでした。それ以外の場合は空です。
ファイル代替URL文章結果ファイルの代替ダウンロードリンク。ファイル名は末尾に URL。
ファイル拡張子文章結果として得られるファイルの拡張子、例えば .pdf。
ファイル名文章拡張子を除いた、生成されるファイル名。
ファイルURL文章結果ファイルのダウンロードリンク。このリンクを、Google ドライブへのアップロードなど、ファイルが必要な後続のステップにマッピングします。 Dropbox または OneDrive。
フルファイル名文章生成されるファイルの名前(拡張子を含む)。
ジョブID文章ID PDF4me リクエストを処理したジョブ。
トレースID文章リクエストのトレースID、 PDF4me 1を返します。 PDF4me 問題を報告する際のサポート。

クイックセットアップ​

  1. Zapを作成または開く そして、 PDF - Googleドライブのフォルダ内の新規ファイル、Gmailの新規添付ファイル、OneDrive、またはフォーム送信によるアップロード。
  2. アクションステップを追加する → 検索 PDF4me →選択 ページ番号を追加 PDF。
  3. 認証する あなたの PDF4me API まだ接続されていない場合は、キーを入力してください。
  4. マップファイル トリガー出力から(バイナリファイルフィールドではなく、 URL リンク)。
  5. 垂直方向の配置を設定する ページ番号の縦方向の配置位置を、上、中央、下のいずれかから選択してください。
  6. 水平方向の配置を設定する 左、中央、右のいずれかを選択してください。
  7. オプション設定を構成する必要に応じて、ページ番号の形式、フォントサイズ、太字、斜体、余白を設定します。
  8. 最初のページをスキップする 文書に、番号を付けるべきではないタイトルページや表紙ページがある場合。
  9. ステップをテストする - Zapier サンプルを処理します PDF そして出力ファイルを返す URL。
  10. 下流ステップを追加する - 番号付きのものをアップロードしてください PDF Google ドライブにアップロードするか、Gmail 経由で送信するか、ファイルを渡す URL 次のアクションへ。

ワークフローの例​

ワークフローの例Common Zapier patterns using Add Page Number to PDF.
レポートジェネレーター → 番号付き PDF → メール配信

生成されたレポートにページ番号を自動的に追加し、最終版をメールで送信します PDF 関係者の皆様へ。

  1. Googleドライブ:フォルダ内の新しいファイル - 新しく生成されたファイルについては、「レポート、保留中」フォルダを監視してください PDFs
  2. PDF4meページ番号を追加 PDF - マップファイル; 垂直方向の配置 = 下、水平方向の配置 = 中央; ページ番号の形式 = 'N ページ中 1 ページ目'; 最初のページをスキップ = true
  3. Googleドライブ: ファイルのアップロード - 番号付きファイルを保存する PDF 「最終レポート」フォルダへ
  4. Gmail: メールを送信 - 番号付きの PDF財務または管理部門の配信リストに送信する
契約書作成 → ページ番号を追加 → 保存先 SharePoint

契約書が作成された瞬間に連続ページ番号をスタンプし、それらをアーカイブします。 SharePoint 法令遵守のため。

  1. PDF4me (またはDocuSign / PandaDoc):新規契約 PDF GoogleドライブまたはZap出力として生成され利用可能
  2. PDF4meページ番号を追加する PDF - 下と右の配置を設定; 垂直余白 = 8mm; 水平余白 = 12mm; フォントサイズ = 10; 太字に設定 = true; 最初のページをスキップ = true
  3. マイクロソフト SharePointファイルの作成 - 番号付き契約書を「署名済み契約書」ドキュメントライブラリにアップロードします。
  4. Slack: #legal にメッセージを投稿 - 契約名、ファイル名からのページ数、 SharePoint リンク
トレーニングマニュアル更新 → ページ数 → LMSにアップロード

トレーニングマニュアル PDF Dropboxで更新されたら、ページ番号を追加し、更新されたドキュメントを学習管理システムにプッシュしてください。

  1. Dropbox: フォルダ内の新規ファイルまたは更新ファイル - 「トレーニングマニュアル」フォルダを監視してください
  2. PDF4meページ番号を追加 PDF - Dropboxのファイル名からファイル名を動的に設定。上と右に配置。フォントサイズ = 11。表紙の場合は最初のページをスキップ = true。
  3. Zapier フィルター: ファイル名全体が .pdf で終わる場合のみ続行します (.pdf 以外のファイル名はスキップします)。PDF アップロード)
  4. TalentLMS / Teachable / Moodle: 番号付きのコース教材をアップロードまたは更新します PDF URL 出力ファイルフィールドから

よくある質問​

Which parameters are required for the Add Page Number to PDF action?+
Three parameters are required: File (the PDF binary from a trigger or previous step), Vertical Alignment (Top, Middle, or Bottom), and Horizontal Alignment (Left, Center, or Right). All other parameters are optional and fall back to defaults when omitted.
Does Skip First Page change the numbering sequence?+
Yes. When Skip First Page is true, page 1 (your cover or title page) is left unnumbered. The number that appears on page 2 is "2" - not "1" - because the action counts from the absolute page position in the document. This matches standard publishing and legal document conventions.
How do horizontal and vertical margins work?+
Horizontal Margin (mm) sets the gap from the nearest horizontal edge - left edge when alignment is Left, right edge when Right. It is ignored when alignment is Center. Vertical Margin sets the gap from the top or bottom edge and is ignored when alignment is Middle. Both default to 0 if not set.
What Page Number Format options are available?+
The action supports standard numeric (1, 2, 3…), Roman numerals (i, ii, iii…), and compound formats such as "Page 1 of N". Check the Zapier action field dropdown for the complete list. The default is standard numeric if no format is specified.
Can I use this action on password-protected PDFs?+
No - PDF4me cannot modify encrypted or password-protected PDFs. Remove the password before passing the file to this action. Use a PDF unlock step or Zapier's file manipulation tools to decrypt the document first if your workflow involves protected files.

関連アクション​

ヘルプが必要な場合​