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

ドキュメントを回転させる n8n アクション

PDF4me ドキュメントを回転する 全体を回転させる PDF 一貫した角度適用による文書 n8n 自動化ワークフロー。プロセス PDFs 経由 n8n トリガー、バイナリデータ、base64文字列、または公開 URLs 文書の品質を維持し、書式設定を保持し、すべてのページで均一な向きを保ちながら、すべてのページを90°、180°、270°、またはカスタム角度で回転させることができます。このソリューションは、向きの補正、スキャン文書の修正、文書の標準化、レイアウトの補正、および品質を維持しながら一貫した回転とシームレスな統合を必要とする自動文書回転ワークフローに最適です。

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

設定​

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

前提条件:

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

構成:

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

パラメータ​

ドキュメント回転アクションのパラメータ一覧です。これらのパラメータを設定することで、ドキュメントの回転を制御できます。

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

パラメータ必須その機能例
Input Data TypeRequiredChoose how to provide the PDF file to rotate. Options: Binary Data, Base64 String, URL. Default is `Binary Data`.Binary Data
Binary PropertyConditionalName of the binary property containing the file to rotate. Shown when Input Data Type is Binary Data. Default is `data`.data
Input File NameConditionalName of the input file (including extension). If not provided, will use the filename from binary data. Shown when Input Data Type is Binary Data.
Base64 ContentConditionalBase64 encoded content of the file to rotate. Shown when Input Data Type is Base64 String.UEsDBBQABgAI...
Input File NameConditionalName of the input file (including extension). Shown when Input Data Type is Base64 String.
File URLConditionalURL of the file to rotate. Shown when Input Data Type is URL.https://abc.com/sample.pdf
Input File NameConditionalName of the input file (including extension). 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 entire document. Options: No Rotation, Clockwise, Counter Clockwise, Upside Down. Default is `Upside Down`.Upside Down
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, `Document rotated successfully`.
inputDataTypeStringInput Data Type that was used (how the file was provided).
sourceFileNameStringName of the input file.
docNameStringDocument Name that was sent to PDF4me (the input file's name when Document Name is empty).
rotationTypeStringRotation Type that was applied.
dataBinaryThe rotated PDF.

N8N 行動対応​

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

JSON 回答形式

生 JSON からの応答 API:

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

ユースケース​

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

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

専門的な文書作成​

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

自動文書処理​

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

ヘルプが必要な場合​