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

テキストのハイライト表示(Zapier)

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

テキストのハイライト表示 スキャン PDF 指定した単語やフレーズごとに、選択した色で塗りつぶします。 Zapier ステップ、手動マーキングなし。 テキストハイライトリスト テキストと16進数カラーのペアのステップで、新しい注釈付き PDF ドライブ、Dropbox、メール、Slack、データベースなど、あらゆる下流アプリにルーティングする準備ができています。

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

接続する PDF4me​

毎 PDF4me アクション Zapier 認証が必要です。 API キーを一度押すと、すべてのものに適用されます PDF4me アカウントにログインしてください。

ファイルまたは供給ファイル URL両方ではない

使用 ファイル 前の Zap ステップで PDF 添付ファイルオブジェクト(例: 「2.ファイル」)。 使用 ファイルURL 直接ダウンロードリンクしかない場合。どちらを選んでも ファイル名 そのため、実行状況はログに記録され、追跡可能です。

ステップを設定する​

開く 設定する タブ。マップ ファイル 生成されたステップから PDF、そして構築する ファイル名 名前と拡張トークンから。 テキストハイライトリスト、 クリック 追加 各テキストと色のペアを挿入します。

Zapier PDF4me テキストハイライト設定タブには、前のステップからマッピングされたファイル、名前と拡張子トークンから組み立てられたファイル名、およびテキストとハイライトカラーフィールドを含む 1 つのアイテムを持つ TextHighlightList が表示されます。

地図 ファイル あなたの PDF。 建てる ファイル名 トリガーからの名前と拡張フィールドから。各単語と色のペアを テキストハイライトリスト。

重要な事実​

ネイティブPDFのみ

テキストハイライトは、 PDF実際のテキストレイヤーを含む画像。スキャン画像 PDFs は OCR ハイライトを適用する前に、まず検索可能なレイヤーを作成する手順を踏んでください。

1回の呼び出しで複数の色

アイテムをいくつでも追加 テキストハイライトリスト 必要に応じて。各アイテムには独自の 文章 そして ハイライトカラーキーワードは黄色、日付は緑、リスクは赤で表示され、すべて1つのステップで処理されます。

16進数カラーフォーマット

ハイライトカラー 標準的な6桁の16進数コードを受け付けます。 #FFFF00 (黄色)、 #90EE90 (緑)、 #FF2C00 (赤色)。ハッシュ接頭辞は必須です。

フィールド参照​

パラメータ必須目的例の地図
FileOptionalBinary PDF from a prior Zap step when you have a file attachment object.`2. File`
File URLOptionalPublic or signed URL to the PDF when you do not have a file attachment object.n/a
File NameOptionalFilename with extension for logging. Combine name and extension tokens when your trigger splits them.`2. File Name` + `2. File Ext`
TextHighlightList › TextRequired per itemThe exact word or phrase to find and highlight inside the PDF.`invoice`, `URGENT`
TextHighlightList › HighlightColorRequired per itemSix-digit hex color to paint matched text. Include the # prefix.`#FFFF00`, `#FF2C00`
Number of HighlightsRequiredNumber of texts to highlight. For each one, a Text and a Highlight Color field appear. Defaults to 1.1

テキストを強調表示する方法 PDF と Zapier​

1
Open or create a Zap
Sign in to Zapier and open an existing Zap, or click Create Zap to start fresh.
2
Set up a Trigger
Pick any app that supplies a PDF: Dropbox, Google Drive, Gmail, Webhooks, or any cloud storage that fires when a file arrives.
3
Add a PDF4me action step
Click the + button, search for PDF4me, and choose Text Highlighting as the Event.
4
Connect your account
If prompted, enter your PDF4me API key. You only authenticate once per Zapier account.
5
Map File or File URL
On the Configure tab, map File from your trigger when it hands you a file object, or enter a File URL when you only have a download link. Use one input, not both.
6
Set File Name
Build File Name from the name and extension tokens your trigger provides, for example "2. File Name" + "2. File Ext". This keeps runs traceable in Zapier history.
7
Define your highlight list
Under TextHighlightList, click Add and enter the Text to find and the HighlightColor as a hex code. Repeat for every word-color pair you need.
8
Test and activate
Click Test step and check that the output shows a File URL pointing to the annotated PDF. Open the link to confirm colors are applied correctly, then turn the Zap on.

出力​

テストまたは本番実行が成功すると、ステップは次のようになります。

分野タイプ内容物
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.

ワークフローパターン​

ワークフローパターンReal-world Zap patterns using Text Highlighting: swap apps to match your stack.
契約レビューのハイライト
  1. 新しい PDF 契約書をGoogleドライブにアップロードしました。
  2. テキスト強調表示では、「責任」、「契約解除」、「補償」が赤色で表示されます。
  3. アップロードがハイライト表示されました PDF ドライブ内のレビューフォルダに戻る。
  4. ファイルリンクを添えてSlackに通知を送信してください。
請求書キーワード監査
  1. 新しい請求書メールの添付ファイルがZapをトリガーします。
  2. 「延滞」「期限超過」「最終通知」を黄色で強調表示してください。
  3. マーク済みの請求書を財務チームに自動的にメールで送信する。
コンプライアンス文書の注釈
  1. ポリシー PDF Dropboxフォルダに保存されます。
  2. 規制用語は青色、対応項目は緑色で強調表示しています。
  3. 注釈付きで保存 PDF に SharePoint コンプライアンス記録用。

よくある質問​

Can I highlight multiple different words with different colors in one step?+
Yes. Add multiple items to TextHighlightList, each with its own Text and HighlightColor. All highlights are applied in a single API call and the step returns one annotated PDF.
What color format does HighlightColor accept?+
Six-digit hex RGB format: #RRGGBB: for example #FFFF00 for yellow, #90EE90 for light green, or #FF2C00 for red. Always include the # prefix. Three-character shorthand (#FFF) is not supported.
Does this work on scanned PDFs?+
No. Text Highlighting requires a native text layer. For scanned documents, run an OCR action first to produce a searchable PDF, then pass that output into Text Highlighting.
Should I use File or File URL?+
Use File when a prior Zap step gives you an attachment object. Use File URL when you only have a link to the PDF bytes. Fill one of those two inputs per run.
Where does the output PDF go after the step finishes?+
The step returns a File URL and File object you can map directly into the next action: upload to Google Drive, attach to a Gmail, post to Slack, or save to Airtable.

関連アクション​

ヘルプが必要な場合​