PDF Generation Template Editor
Open-source visual PDF generation engine with customizable templates and developer-friendly APIs.
Open-source visual PDF generation engine with customizable templates and developer-friendly APIs.
Connect Make with ComPDF to work with files from apps across your workflow. See the ComPDF Cloud feature list for the full set of supported capabilities.
Before you start: A Make account, a ComPDF API key, and a non-sensitive sample file.
This guide does not provide a verified, public ComPDF Blueprint. Build the Scenario with the modules available in your Make workspace.
POST and the URL to https://api-hub.compdf.com/api/v2/files/upload.Authorization: Bearer YOUR_API_KEY. For HTTP, select Multipart/form-data, add a File field named file, then add the mode and optional metadata text fields.code: 200, save the task ID, then wait for completion using a Custom Webhook or a controlled status check.| Field | Example value |
|---|---|
| Method | POST |
| URL | https://api-hub.compdf.com/api/v2/files/upload |
| Body type | Multipart/form-data |
file | File: {{download.data}} |
mode | Text: LayoutExtract |
metadata | Text: {"source":"make"} |
| Response parsing | Enabled |
With ComPDF Integrations, you can connect ComPDF to apps in Make and process documents from those apps. See the detailed guide to learn how to build an automated workflow with Make.
Watch a folder, download invoices, extract fields, and send exceptions for review.
Watch → Download → Extract → ERP / Review
Receive source documents, convert or merge them, and save the processed files.
Source → File → ComPDF → Storage
Process supporting documents, filter incomplete cases, and notify the owner when a review is needed.
Form → Extract → Filter → Queue
For a generic HTTP request, use the multipart example below. Let Make generate the multipart boundary; do not set it manually.
POST https://api-hub.compdf.com/api/v2/files/upload
Authorization: Bearer YOUR_API_KEY
Content-Type: multipart/form-data
file={{download.data}}
mode=LayoutExtract
metadata={"source":"make","scenario_id":"invoice-intake"}Confirm that the response contains code: 200 before continuing the workflow.
| Symptom | What to check |
|---|---|
| Multipart request rejected | Select Multipart/form-data and let Make generate the boundary. Do not set a fixed boundary manually. |
| Empty file received | Inspect the download module's bundle and map the actual file data and name to the File field. |
| Response fields are missing | Enable response parsing and run the HTTP module once so Make can read the response structure. |
| Scenario continues too early | Save the task ID and use a Custom Webhook or controlled task status check before updating the destination system. |
Do I need to import a ComPDF Blueprint?
No. This guide uses a module-based setup. Build the Scenario in Make and check whether a ComPDF module is available in your workspace.
Do I need to set the Content-Type manually?
Select Multipart/form-data and let Make generate the boundary. Add the Authorization header separately.
How do I handle asynchronous tasks?
Use a Custom Webhook or a controlled task lookup. Match the task ID with the original business identifier before writing the final record.