Skip to main content
Pdf4me logo
  • Category: documents
  • Auth: API_KEY
  • Composio-managed OAuth available? N/A
  • Tools: 4
  • Triggers: 0
  • Slug: PDF4ME
  • Version: 20261030_00

Tools

Slug: PDF4ME_CONVERT_TO_PDFTool to convert various document and image formats to PDF. Handles one file per call; multi-file PDFs require multiple calls followed by a separate merge step. Conversion permanently removes interactive form field editability — retain the original file as backup, and ensure all form fields are populated before converting. Use when you need to transform base64-encoded files into PDFs before further processing.

Input Parameters

object
required
Document object with base64 data and optional filename. Must include docData field containing base64-encoded file bytes — URLs and file paths will fail validation.
array
List of conversion option sets. If omitted, default conversion is applied.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PDF4ME_EXTRACT_TEXTTool to extract embedded text from text-based PDFs using PDF4me’s ExtractResources endpoint. Use when you need to retrieve searchable text content from PDFs for analysis or processing. This tool does not perform OCR; for scanned or image-only PDFs, use OCR endpoints instead.

Input Parameters

string
required
Base64-encoded PDF file content from which to extract text.
string
required
PDF file name with .pdf extension for document identification.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PDF4ME_FILL_PDF_FORMTool to fill PDF form fields programmatically using JSON or XML data. Use when you need to generate reports or populate forms from various data sources with mail merge functionality. Supports filling multiple documents from a list of data collection items.

Input Parameters

string
Additional metadata string for the form filling operation.
string
required
Stringified JSON array of field data objects to fill. Must be a JSON string, not a JSON array object. Example: ’[{“Name”:“John Doe”,“Email”:“john@example.com”}]’
string
required
Output format specification. Typically ‘PDF’ for PDF output.
string
Metadata in JSON string format for advanced configuration.
array
required
Array of form data objects with field name-value pairs matching PDF form fields. Each object contains key-value pairs where keys are form field names and values are the data to fill. Example: [{“Name”:“John Doe”,“Email”:“john@example.com”}]
string
required
Data type for input data. Use ‘JSON’ for JSON data or ‘XML’ for XML data.
string
required
PDF template filename with .pdf extension to be filled.
string
required
Base64-encoded PDF form template content.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PDF4ME_READ_BARCODES_FROM_IMAGETool to read and extract barcode or QR code data from image files (JPG/PNG). Use when you need to decode barcodes from images for data extraction or verification. Supports various barcode types including QR codes, Code128, DataMatrix, and more.

Input Parameters

string
required
Image file name with extension (e.g., ‘barcode.png’, ‘scan.jpg’).
string ("jpg" | "png")
required
Image file format: jpg or png.
string
required
Base64-encoded image file content containing barcodes to be read.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not