Actions92
- AI Actions
- AI - Universal Document Data Extraction
- AI Auto Crop Document
- AI-Invoice Parser
- AI-Process Bank Cheque
- AI-Process Bank Statement
- AI-Process Contract
- AI-Process HealthCard
- AI-Process Marriage Certificate
- AI-Process Mortgage Document
- AI-Process Order
- AI-Process Pay Stub
- AI-Process Receipt
- AI-Process Shipping Label
- AI-Process Tax Document
- Barcode Actions
- Convert Actions
- Edit Actions
- Extract Actions
- Find Search Actions
- Form Actions
- Generate Actions
- Image Actions
- Invoice Actions
- Merge & Split Actions
- Optimize Compress Actions
- Organize Actions
- PDF Actions
- PDF4me Actions
- Security Actions
- Word Actions
Find Search → Find and Replace Text
AI-generatedSummary
Finds the specified old text in a PDF and replaces it with new text, optionally limiting the operation to selected pages. Provide the PDF as incoming binary data, base64 content, or a URL; the operation returns the processed PDF as binary data.
Inputs
- PDF Input Data Type (required) — Choose Binary Data, Base64 String, or URL as the PDF source.
- PDF Binary Field (required) — For Binary Data input, name the incoming binary property containing the PDF; defaults to
data. - PDF Base64 Content (required) — For Base64 String input, provide the PDF content encoded as base64.
- PDF URL (required) — For URL input, provide the PDF's URL.
- Old Text (required) — Text to find in the PDF.
- New Text (required) — Replacement text.
- Page Sequence — Page indices or ranges to process, such as
1, 2, 3-7; leave empty to process all pages. - Output File Name — Name for the output PDF; defaults to
find_and_replace_output.pdf. - Async — Whether to enable asynchronous processing; defaults to true.
- Binary Data Output Name — Name for the output binary property; defaults to
data.
Output shape
A PDF returned as binary data in an n8n item.
The output binary property name is configurable with Binary Data Output Name. The source pack exposes only the operation's function signature, so further response details are not available.
Examples
Example 1: Replace text in a PDF arriving from a previous node
Choose Binary Data, set the PDF Binary Field to the incoming property (default data), enter Old Text and New Text, and optionally specify pages.
Example 2: Replace text in a PDF provided directly
Choose Base64 String or URL and provide the corresponding PDF source, then enter Old Text and New Text.