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

ドキュメントの最適化 - 圧縮 Zapier

PDF4me ドキュメントの最適化 は Zapier 縮小する行動 Word ドキュメントを開かずにファイルサイズを Word使用されていないマクロ、コメント、非表示コンテンツ、個人メタデータを削除し、埋め込み画像を圧縮するには、低、中、高の圧縮レベルを選択してください。より小さなサイズが返されます。 Word 次のZapステップ用のファイル。

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

取る Word 前の Zap ステップで作成されたドキュメントに対して、3 つの最適化レベルのいずれかを適用します。低レベルでは、ほぼすべての要素を保持し、軽くトリミングします。中レベルでは、コメント、マクロ、非表示コンテンツ、個人情報を削除し、画像を圧縮します。高レベルでは、追跡されたリビジョンと未使用のスタイルも削除し、ファイルサイズを最小化します。メール添付ファイルの制限内に収めたり、クラウドストレージの使用量を削減したり、配布用にファイルを準備したりするのに役立ちます。

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

認証 API リクエスト​

アクセスするには PDF4me ウェブ API を通して Zapierすべてのリクエストには適切な認証情報を含める必要があります。認証により安全な通信が保証され、承認されたユーザーとしての身元が検証され、シームレスな統合が可能になります。 Zapier ワークフローと PDF4meの Word 文書最適化サービス。

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

ファイルのみ必要
ファイル名、最適化レベル、およびカルチャ名はすべてオプションです。最適化レベルは、未設定の場合、デフォルトで「中」になります。
より高い圧縮率でバイト数以上のものが削減されます
「中」と「高」では、コメント、マクロ、非表示コンテンツ、および個人メタデータが削除されます。「高」では、追跡されたリビジョンと未使用のスタイルも削除されるため、履歴が必要な場合は元のファイルをバックアップしてください。
削減率は目標値であり、保証値ではありません。
実際のファイルサイズ縮小率は、ドキュメントの内容によって異なります。画像が少なく、書式設定による肥大化も少ないファイルは、同じレベルの書式設定と画像が多用されたファイルよりも縮小率は小さくなります。

:::ヒント 前の手順のマップファイルを使用します + 隣のボタン ファイル そして ファイル名 以前の Zap ステップからマッピングします (例: Google Drive、Dropbox、またはトリガー)。 Wordファイルには完全なコンテンツを提供する必要があり、「存在するが表示されない」参照は認められません。 :::

:::警告 ファイル: (存在しますが表示されません) ファイルフィールドに「ファイル: (存在しますが表示されません)」と表示され、エラーが発生した場合は、 ファイルの内容全体 代わりに。参照 Zapier & Power Automate ヒント詳細は :::

PDF4me Optimize Document Word Zapier - ファイル、ファイル名、最適化レベル、カルチャ名
ドキュメント最適化アクションを設定します。マッピングファイル(必須)とファイル名、最適化レベル(低、中、高)、カルチャ名(オプション)を設定します。

Optimize Documentの主な機能は何ですか?​

  • 3つの最適化レベル:低(約0~10%)、中(約50~80%)、高(約80~90%)のターゲットサイズ縮小
  • 画像圧縮: レベルごとに設定可能な画像品質低下
  • コンテンツのクリーンアップMedium以上の未使用マクロ、コメント、非表示コンテンツを削除します
  • 書式設定の正規化: 重複した書式設定と未使用のスタイルをクリーンアップします。
  • 個人情報の削除Medium以上の記事から著者、管理者、および会社のメタデータを削除します。
  • フォントの最適化フォントを正規化し、不要なフォントプロパティを削除します。

パラメータ​

ドキュメント最適化アクションのパラメーターの完全なリスト。パラメーター名は、 Zapier 構成 UI 上記のスクリーンショットに示されています。

クイックセットアップチェックリスト
  1. 地図 ファイル (Wordトリガーまたは前のステップから
  2. オプションでマッピング ファイル名 前のステップから
  3. セット 最適化レベル低、中(デフォルト)、高
  4. オプションで設定可能 文化名 地域固有の処理のため
パラメータ必須その機能例
FileRequiredWord document to compress. Map from a previous step. Must provide full file content.[4. File from Step 4]
File NameOptionalWord filename with .docx or .doc extension for the output file.abc.docx
Optimization LevelOptionalLow, Medium, or High. Controls how aggressively content is removed and images are compressed. Defaults to Low.Medium
Culture NameOptionalCulture code affecting locale-specific document processing, such as date and number formatting. Defaults to en-US.en-US

最適化レベルを比較するとどう違うのか?​

特徴低い中くらい高い
Target file size reduction~0-10%~50-80%~80-90%
Image quality target~80%~60%~50%
FormattingPreservedNormalizedAggressive cleanup
CommentsPreservedRemovedRemoved
Tracked revisionsPreservedPreservedRemoved
Personal info (author/manager)PreservedRemovedRemoved
MacrosPreservedRemovedRemoved
Unused stylesPreservedPreservedRemoved
Hidden contentPreservedRemovedRemoved

ドキュメントの最適化リターンとは何ですか?​

の PDF4me ドキュメントの最適化 アクションは圧縮されたものを返します Word 後続の Zap ステップで使用するためのファイル。出力形式はすべて共通です。 PDF4me Word ファイルを返すアクション Zapier。

主要な出力フィールド(次のステップに対応付けてください)​

ファイルURL

API 最適化されたエンドポイントをダウンロードします Word ファイル。これを次のステップのファイル入力にマッピングします。

api.pdf4me.com/Zapier/GetDocument?d=...
代替ファイルURL

代替ダウンロード URL パスにファイル名が含まれている。

api.pdf4me.com/Zapier/GetAltDocument/.../document.docx
分野タイプ内容物
jobIdTextID of the PDF4me job that processed the request.
traceIdTextTrace ID of the request, when PDF4me returns one. Give it to PDF4me support when reporting a problem.
documentIdTextID PDF4me gives the resulting document.
File NameTextName of the resulting file, without extension.
File ExtensionTextExtension of the resulting file, for example `.pdf`.
Full File NameTextName of the resulting file, with extension.
File UrlTextDownload link of the resulting file. Map it into any later step that needs the file, for example an upload to Google Drive, Dropbox or OneDrive.
Alternate File UrlTextAlternative download link of the resulting file, with the file name at the end of the URL.
File SizeNumberSize of the resulting file, as reported by PDF4me.

例 JSON 出力 (URL(表示形式のみ、リンクは機能しません):

{
"Job Id": "...",
"File Url": "api.pdf4me.com/Zapier/GetDocument?d=...",
"Alternate File Url": "api.pdf4me.com/Zapier/GetAltDocument/.../document.docx",
"File Name": "document",
"Full File Name": "document.docx",
"File Extension": ".docx"
}

典型的な構成​

ワークフローの例Common Zapier workflow patterns using Optimize Document.
メール送信前に添付ファイルを縮小する
  1. 文書が電子メール配信準備完了とマークされたときに、トリガーが作動します。
  2. PDF4me 文書最適化機能は、サイズ削減と書式設定のバランスを取るため、最適化レベルを「中」に設定して実行されます。
  3. GmailまたはOutlookの手順では、より小さなファイルを添付ファイルとして送信します。
クラウドストレージのフットプリントを削減する
  1. スケジュールされた Zap リスト Word DropboxまたはDriveフォルダ内の、サイズしきい値を超えるファイル。
  2. PDF4me ドキュメント最適化は、最適化レベルを「高」に設定して実行することで、最大の削減効果を得られます。
  3. 圧縮ファイルは、クラウドストレージ内の元のファイルを置き換えるか、または補完します。
長期保存用のファイルの準備
  1. 四半期ごとのプロジェクトまたは案件の完了時にトリガーが作動します。
  2. PDF4me ドキュメントの最適化は、ファイルサイズを削減しながら品質と改訂履歴を保持するため、最適化レベルを「低」に設定して実行されます。個人メタデータも削除する場合は、「中」に設定してください。
  3. アップロード手順では、最適化されたファイルがコールドストレージにアーカイブされます。

実践的なヒント​

File: (Exists but not shown) causes errors
Select the mapping option that provides the file's full binary content instead of a reference. See Zapier & Power Automate Tips for the exact steps.
High removes tracked revisions
If you need to preserve comment and revision history, use Low or Medium instead of High, or archive the original file before compressing.
Optimization Level defaults to Medium
If you leave Optimization Level unset, the action applies Medium compression rather than skipping optimization.
Reduction percentages vary by document
A file with few embedded images and little redundant formatting will not shrink as much as an image-heavy file at the same optimization level.
Culture Name only affects locale formatting
It does not change how aggressively the document is compressed, leave it blank unless you specifically need locale-aware processing.

チートシート​

分野価値
ActionOptimize Document
File[Mapped from previous step]
File Nameabc.docx
Optimization LevelMedium (default)
Culture Nameen-US (optional)
ConnectionPDF4me API key

よくある質問​

How do I compress a Word document automatically in Zapier?+
Add the PDF4me Optimize Document action to a Zap, map the Word file from a previous step using the full-content option, and set Optimization Level to Low, Medium, or High. The action returns a smaller Word file with no manual compression in Word required.
What is the difference between Low, Medium, and High optimization?+
Low targets roughly 0-10% size reduction and preserves comments and revisions. Medium targets roughly 50-80% and removes comments, macros, hidden content, and personal info while preserving revisions. High targets roughly 80-90% and also removes revisions and unused styles. See Microsoft's community discussion on compressing Word documents for the manual alternative this action automates.
Does compressing a Word document remove comments or tracked changes?+
It depends on the level. Low preserves comments and revisions. Medium removes comments but preserves revisions. High removes both comments and revisions along with unused styles and hidden content.
Will compression reduce the image quality inside the document?+
Yes, images are recompressed as part of the size reduction. Low targets roughly 80% image quality, Medium roughly 60%, and High roughly 50%, so higher compression levels apply more aggressive image quality reduction.
Is Culture Name required to compress a Word document?+
No. Only File is required. Culture Name is optional and only affects locale-specific document processing, such as date and number formatting. See Zapier's guidance on setting up actions for general help configuring optional fields in a Zap.

関連アクション​

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

業界におけるユースケースとアプリケーション​

  • メールマーケティング資料マーケティングキャンペーン向けドキュメント添付ファイルの最適化(中級レベル)
  • クライアントへの成果物クライアントのダウンロード速度を向上させるため、ファイルサイズを縮小します(品質を優先するため、低レベル設定)。
  • 提案書の配布RFP回答を圧縮してメール送信する(中レベル)
  • レポート配信月次レポートを最適化し、より広範囲のメール配信に対応する(中レベル)
  • テンプレートライブラリのクリーンアップテンプレートの保存要件を削減する(保存に関する高レベルな対策)

ヘルプが必要な場合​