Skip to main content
iLovePDF logo
  • Category: documents
  • Auth: API_KEY
  • Composio-managed OAuth available? N/A
  • Tools: 9
  • Triggers: 0
  • Slug: I_LOVE_PDF
  • Version: 20261101_00

Tools

Slug: I_LOVE_PDF_COMPRESS_IMAGESCompress one or more images and return the resulting image or ZIP as an offloaded download. This operation consumes processing credits and attempts to clean up the provider task by default.

Input Parameters

array
required
Image files to compress, in processing order.
string ("eu" | "us" | "fr" | "de" | "pl" | "in" | "sg")
Optional processing jurisdiction: eu, us, fr, de, pl, in, or sg.
boolean
Keep the provider task after the output is safely offloaded.
string
Optional ZIP filename when multiple outputs are returned.

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: I_LOVE_PDF_COMPRESS_PDFSCompress one or more PDFs and return the stored PDF or ZIP output in one workflow: task creation, ordered uploads, synchronous processing, download, and best-effort cleanup. This operation consumes iLovePDF processing credits.

Input Parameters

array
required
PDF files to compress, in processing order. At least one file is required.
string ("eu" | "us" | "fr" | "de" | "pl" | "in" | "sg")
Optional processing jurisdiction; omit for automatic routing.
string
Password to use for every encrypted source PDF in this batch.
boolean
Keep the provider task after the result is safely stored. False deletes the task to avoid the provider’s open-task limit.
string
Optional output filename template supported by iLovePDF.

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: I_LOVE_PDF_CONVERT_IMAGES_TO_PDFConvert one or more images into PDF output in supplied order and return the generated PDF or ZIP as an offloaded download. This operation consumes processing allowance and attempts to clean up the provider task by default.

Input Parameters

array
required
Images to place into PDF output, in order. At least one image is required.
string ("eu" | "us" | "fr" | "de" | "pl" | "in" | "sg")
Optional processing jurisdiction: eu, us, fr, de, pl, in, or sg.
boolean
Keep the provider task after the output is safely offloaded.
boolean
Combine all converted images into one PDF when true.
string
Optional output PDF filename supported by iLovePDF.

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: I_LOVE_PDF_CONVERT_PDF_TO_IMAGESConvert a PDF using iLovePDF’s default PDF-to-JPG behavior and return the generated image or ZIP as an offloaded download. This operation consumes processing credits and attempts to clean up the provider task by default.

Input Parameters

object
required
PDF file to convert to image output.
string ("eu" | "us" | "fr" | "de" | "pl" | "in" | "sg")
Optional processing jurisdiction: eu, us, fr, de, pl, in, or sg.
boolean
Keep the provider task after the output is safely offloaded.
string
Optional ZIP filename for output containing multiple images.

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: I_LOVE_PDF_DELETE_TASKImmediately delete an iLovePDF task and its related uploaded and processed files from the task’s assigned worker.

Input Parameters

string
required
Task ID to delete.
string
required
Assigned iLovePDF worker hostname for the task. Supply only the hostname, without a scheme, port, or path.

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: I_LOVE_PDF_GET_ACCOUNT_INFOReturn the connected iLovePDF project’s account type and remaining processing allowance. Use this read-only action before processing files to check capacity.

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: I_LOVE_PDF_GET_TASK_STATUSInspect an iLovePDF task’s current state and output metadata on its assigned worker. Use this for retained, externally created, or asynchronous tasks.

Input Parameters

string
required
Task ID returned by an iLovePDF processing action.
string
required
Assigned iLovePDF worker hostname returned with the task. Provide only the hostname, without a scheme, port, or path.

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: I_LOVE_PDF_MERGE_PDFSMerge two or more PDFs in the supplied order and return the merged file in one workflow. This operation consumes processing allowance and attempts to delete the provider task after offload unless keep_task is true.

Input Parameters

array
required
PDF files to merge, in output order. At least two files are required.
string ("eu" | "us" | "fr" | "de" | "pl" | "in" | "sg")
Optional processing jurisdiction; omit for automatic routing.
boolean
Keep the provider task after the result is safely offloaded.
string
Optional filename for the merged PDF.

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: I_LOVE_PDF_SPLIT_PDFSplit one PDF by explicit ranges, fixed page intervals, or removed pages and return the resulting PDF or ZIP. The action creates a task, uploads and processes the file, offloads the result, and attempts cleanup by default.

Input Parameters

object
required
PDF file to split.
string
Page ranges for ranges mode, such as 1,5,10-14.
string ("eu" | "us" | "fr" | "de" | "pl" | "in" | "sg")
Optional processing jurisdiction; omit for automatic routing.
boolean
Keep the provider task after the downloaded result is safely offloaded.
string ("ranges" | "fixed_range" | "remove_pages")
required
Split strategy: ranges for explicit page ranges, fixed_range for equal page intervals, or remove_pages to omit selected pages.
integer
Number of pages per output PDF when split_mode is fixed_range.
boolean
Merge the selected ranges into one PDF. Valid only for ranges mode.
string
Pages to remove in remove_pages mode, such as 1,4,8-12,16.
string
Optional ZIP filename when splitting produces multiple files.

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