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

回転 PDF ページ n8n アクション

PDF4me 回転 PDF ページ 特定の回転 PDF 選択的角度適用によるページ n8n 自動化ワークフロー。プロセス PDFs 経由 n8n トリガー、バイナリデータ、base64文字列、または公開 URLs 個々のページまたはページ範囲を、90°、180°、270°、またはカスタム角度で回転させることができます。ページごとのターゲット設定、文書品質の維持、柔軟なページ選択が可能です。このソリューションは、向きの異なる文書、選択的なページ補正、スキャン文書の修正、ページごとの調整、および品質を維持しながらターゲットを絞った回転とシームレスな統合を必要とする自動ページ回転ワークフローに最適です。

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

設定​

追加する PDF4me 「PDFページを回転」ノードを n8n ワークフローを実行し、必要なパラメータを設定します。初期設定手順については、こちらをご覧ください。 n8n 統合ガイド。

前提条件:

  • PDF4me API 資格
  • n8n ワークフローへのアクセス

構成:

  1. 追加 PDF4me ノードからワークフローへ
  2. 「PDFページを回転」アクションを選択します。
  3. 入力パラメータを設定します(下記参照)。
PDFページを回転させる

パラメータ​

ページ回転アクションのパラメータ一覧です。これらのパラメータを設定して、ページ回転を制御してください。

重要: アスタリスク(***)が付いているパラメータは必須であり、アクションが正しく機能するためには必ず指定する必要があります。

パラメータ必須その機能例
Input Data TypeRequiredChoose how to provide the PDF file to rotate pages from. Options: Binary Data, Base64 String, URL. Default is `Binary Data`.Binary Data
Input Binary FieldConditionalName of the binary property that contains the PDF file (usually "data" for file uploads). Shown when Input Data Type is Binary Data. Default is `data`.data
Base64 PDF ContentConditionalBase64 encoded PDF document content. Shown when Input Data Type is Base64 String.UEsDBBQABgAI...
PDF URLConditionalURL to the PDF file to rotate pages from. Shown when Input Data Type is URL.
Document NameOptionalName of the output PDF document. Default is `output.pdf`.output.pdf
Rotation TypeRequiredType of rotation to apply to the specified pages. Options: No Rotation, Clockwise, Counter Clockwise, Upside Down. Default is `Clockwise`.Clockwise
Page NumbersRequiredPage numbers to rotate (e.g. "1" or "1,3,5" or "2-4"). Default is `1`.1
Output Binary Field NameOptionalName of the binary property to store the output PDF file. Default is `data`.data
Advanced OptionsOptionalOptional settings, collapsed behind Add Option.Add Option
Custom ProfilesOptionalUse "JSON" to adjust custom properties. Review Profiles at https://dev.pdf4me.com/apiv2/documentation/ to set extra options for API calls and may be specific to certain APIs.{ "outputDataFormat": "json", "preserveMetadata": true, "optimizeForPrinting": false, "compressionLevel": "medium" }

出力​

出力パラメータ​

分野タイプ内容物
fileNameStringFile name of the resulting file.
mimeTypeStringMIME type of the resulting file, for example `application/pdf`.
fileSizeNumberSize of the resulting file in bytes.
successBooleanTrue when the operation succeeded.
messageStringStatus message, `Pages rotated successfully`.
docNameStringDocument Name that was sent to PDF4me (the input file's name when Document Name is empty).
rotationTypeStringRotation Type that was applied.
pageStringPage Numbers that were rotated, as entered.
dataBinaryThe PDF with the selected pages rotated.

N8N 行動対応​

の PDF4me 回転 PDF ページ API 複数の形式で表示可能なレスポンスを返します。ニーズに最適な表示形式を選択してください。

JSON 回答形式

生 JSON からの応答 API:

[
{
"fileName": "output.pdf",
"mimeType": "application/pdf",
"fileSize": 2934,
"success": true,
"message": "Pages rotated successfully",
"docName": "output.pdf",
"rotationType": "Clockwise"
}
]

ユースケース​

文書の修正とオリエンテーション​

  • 上下逆さままたは横向きにスキャンされたページを修正
  • モバイルデバイスで作成されたドキュメントの向きの問題を修正します
  • 複数の文書ソース間でページ方向を標準化する

専門的な文書作成​

  • 印刷およびプレゼンテーション用にすべてのページが適切に配置されていることを確認してください。
  • レポートやプレゼンテーションにおける正しい向きの問題
  • デジタルアーカイブ用に文書を準備する際は、必ず一貫した向きで準備してください。

自動文書処理​

  • 文書処理ワークフローにページ回転機能を統合する
  • バッチ処理操作中に発生する向きの問題を自動的に修正します
  • さまざまな表示および印刷要件に対応した文書作成を効率化する

ヘルプが必要な場合​