What it is for
PDF.co brings dozens of PDF operations into flooows: convert HTML to PDF, extract text or tables, fill forms, merge, split, compress, protect or run OCR. It is useful for processing invoices, generating documents and preparing files for other systems or AI.
PDF.co has no triggers: use it as an action inside flows started by another event, such as an email with an attachment or a new file in a folder.
Set up the connection
Authentication type: API key or token
- 1Sign in to app.pdf.co (or create an account).
- 2Open the API section in the side menu and copy your key.
- 3In flooows, add a PDF.co step and click "Connect".
- 4Paste the key into the API key field and save the connection.
Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.
How to use it in a flow
- Extract Plain Text from PDF: map the "Source PDF URL" from an earlier step and enable "Use OCR (Scanned PDFs)" for scanned documents.
- Convert HTML to PDF: pass the "HTML Content" (you can build it with flow data) and adjust "Paper Size" and "Orientation".
- Merge PDFs and Split PDF accept URLs or files; "Page Ranges" defines the split, for example 1-2,3-.
- Fill PDF Form: run Get PDF Form Fields first to learn the names, then fill "Fields"; "Flatten Form" locks the values.
- Many actions offer "Save Result as File" to pass the file straight to the next step.
Tips
- •Result links expire; adjust "Expiration Time in Minutes" or "Link Expiration (minutes)" if the next step is slow.
- •For large documents enable "Run in Background" to avoid long waits.
- •Each operation uses credits from your PDF.co plan.
Actions (34)
Operations available as flow steps. Expand each one to see its fields.
Add Barcode to PDF14 fields
| Field | Type | Required |
|---|---|---|
| Source PDF URL | Text | Yes |
| Barcode Value | Text | Yes |
| Barcode Type | Fixed list | Yes |
| X Coordinate | Number | Yes |
| Y Coordinate | Number | Yes |
| Width (optional) | Number | No |
| Height (optional) | Number | No |
| Pages | Text | No |
| File Name | Text | No |
| Expiration Time in Minutes | Number | No |
| Source PDF Password | Text | No |
| HTTP Username | Text | No |
| HTTP Password | Text | No |
| Save Result as File | Yes / No | No |
Add Image to PDF13 fields
| Field | Type | Required |
|---|---|---|
| Source PDF URL | Text | Yes |
| Image URL | Text | Yes |
| X Coordinate | Number | Yes |
| Y Coordinate | Number | Yes |
| Width | Number | No |
| Height | Number | No |
| Target Pages | Text | No |
| File Name | Text | No |
| Expiration Time in Minutes | Number | No |
| Source PDF Password | Text | No |
| HTTP Username | Text | No |
| HTTP Password | Text | No |
| Save Result as File | Yes / No | No |
Add Text to PDF20 fields
| Field | Type | Required |
|---|---|---|
| Source PDF URL | Text | Yes |
| Text to Add | Long text | Yes |
| X Coordinate | Number | Yes |
| Y Coordinate | Number | Yes |
| Font Size | Number | No |
| Color | Text | No |
| Bold Font ? | Yes / No | No |
| Stikeout Font ? | Yes / No | No |
| Underline Font ? | Yes / No | No |
| Font Name | Text | No |
| Target Pages | Text | No |
| Text Box Height | Number | No |
| Text Box Width | Number | No |
| Text Box Alignment | Fixed list | No |
| File Name | Text | No |
| Expiration Time in Minutes | Number | No |
| Source PDF Password | Text | No |
| HTTP Username | Text | No |
| HTTP Password | Text | No |
| Save Result as File | Yes / No | No |
Convert HTML to PDF14 fields
| Field | Type | Required |
|---|---|---|
| HTML Content | Long text | Yes |
| Output File Name | Text | No |
| Margins | Text | No |
| Paper Size | Fixed list | No |
| Orientation | Fixed list | No |
| Print Background ? | Yes / No | No |
| Media Type | Fixed list | No |
| Header HTML | Long text | No |
| Footer HTML | Long text | No |
| Do not wait till full page load ? | Yes / No | No |
| Output Link Expiration (minutes) | Number | No |
| Profiles | JSON | No |
| Custom Paper Size | Text | No |
| Save Result as File | Yes / No | No |
Convert PDF to JSON/CSV/XML/Excel/HTML11 fields
| Field | Type | Required |
|---|---|---|
| Source PDF URL | Text | Yes |
| Output Format | Fixed list | Yes |
| Pages | Text | No |
| OCR Language | Text | No |
| Profiles | JSON | No |
| File Name | Text | No |
| Expiration Time in Minutes | Number | No |
| Source PDF Password | Text | No |
| HTTP Username | Text | No |
| HTTP Password | Text | No |
| Save Result as File | Yes / No | No |
Extract Tables from PDF (using Template)9 fields
| Field | Type | Required |
|---|---|---|
| Source PDF URL | Text | Yes |
| Template ID | Text | Yes |
| Pages | Text | No |
| Profiles | JSON | No |
| File Name | Text | No |
| Expiration Time in Minutes | Number | No |
| Source PDF Password | Text | No |
| HTTP Username | Text | No |
| HTTP Password | Text | No |
Extract Plain Text from PDF8 fields
| Field | Type | Required |
|---|---|---|
| Source PDF URL | Text | Yes |
| Pages | Text | No |
| Source PDF Password | Text | No |
| File Name | Text | No |
| HTTP Username | Text | No |
| HTTP Password | Text | No |
| Use OCR (Scanned PDFs) | Yes / No | No |
| OCR Language | Text | No |
Search and Replace Text in PDF13 fields
| Field | Type | Required |
|---|---|---|
| PDF URL | Text | Yes |
| Text to Locate | List of values | Yes |
| Replacement Text | List of values | Yes |
| Case Sensitive | Yes / No | No |
| Use Regular Expressions ? | Yes / No | No |
| Pages | Text | No |
| File Name | Text | No |
| Expiration Time in Minutes | Number | No |
| Source PDF Password | Text | No |
| HTTP Username | Text | No |
| HTTP Password | Text | No |
| Max Replacements per Text | Number | No |
| Save Result as File | Yes / No | No |
Merge PDFs8 fields
| Field | Type | Required |
|---|---|---|
| PDF URLs | List of values | No |
| PDF Files | List of values | No |
| HTTP Username | Text | No |
| HTTP Password | Text | No |
| Output File Name | Text | No |
| Link Expiration (minutes) | Number | No |
| Run in Background | Yes / No | No |
| Save Result as File | Yes / No | No |
Split PDF9 fields
| Field | Type | Required |
|---|---|---|
| Source File URL | Text | No |
| Source File | File | No |
| Page Ranges | Text | Yes |
| HTTP Username | Text | No |
| HTTP Password | Text | No |
| Output File Name | Text | No |
| Link Expiration (minutes) | Number | No |
| Run in Background | Yes / No | No |
| Save Result as File | Yes / No | No |
Delete Pages from PDF9 fields
| Field | Type | Required |
|---|---|---|
| Source File URL | Text | No |
| Source File | File | No |
| Pages to Delete | Text | Yes |
| HTTP Username | Text | No |
| HTTP Password | Text | No |
| Output File Name | Text | No |
| Link Expiration (minutes) | Number | No |
| Run in Background | Yes / No | No |
| Save Result as File | Yes / No | No |
Rotate PDF Pages10 fields
| Field | Type | Required |
|---|---|---|
| Source File URL | Text | No |
| Source File | File | No |
| Angle | Fixed list | Yes |
| Pages | Text | No |
| HTTP Username | Text | No |
| HTTP Password | Text | No |
| Output File Name | Text | No |
| Link Expiration (minutes) | Number | No |
| Run in Background | Yes / No | No |
| Save Result as File | Yes / No | No |
Compress PDF9 fields
| Field | Type | Required |
|---|---|---|
| Source File URL | Text | No |
| Source File | File | No |
| Compression Level | Fixed list | No |
| Image Quality (1-100) | Number | No |
| Source PDF Password | Text | No |
| Output File Name | Text | No |
| Link Expiration (minutes) | Number | No |
| Run in Background | Yes / No | No |
| Save Result as File | Yes / No | No |
Protect PDF with Password16 fields
| Field | Type | Required |
|---|---|---|
| Source File URL | Text | No |
| Source File | File | No |
| Owner Password | Text | Yes |
| Open Password | Text | No |
| Encryption | Fixed list | No |
| Allow Printing | Yes / No | No |
| Allow Copying Content | Yes / No | No |
| Allow Editing | Yes / No | No |
| Allow Filling Forms | Yes / No | No |
| Allow Annotations | Yes / No | No |
| Allow Assembling Pages | Yes / No | No |
| Allow Accessibility Tools | Yes / No | No |
| Output File Name | Text | No |
| Link Expiration (minutes) | Number | No |
| Run in Background | Yes / No | No |
| Save Result as File | Yes / No | No |
Remove PDF Password7 fields
| Field | Type | Required |
|---|---|---|
| Source File URL | Text | No |
| Source File | File | No |
| PDF Password | Text | Yes |
| Output File Name | Text | No |
| Link Expiration (minutes) | Number | No |
| Run in Background | Yes / No | No |
| Save Result as File | Yes / No | No |
Make PDF Searchable (OCR)11 fields
| Field | Type | Required |
|---|---|---|
| Source File URL | Text | No |
| Source File | File | No |
| OCR Language | Text | No |
| Pages | Text | No |
| Source PDF Password | Text | No |
| HTTP Username | Text | No |
| HTTP Password | Text | No |
| Output File Name | Text | No |
| Link Expiration (minutes) | Number | No |
| Run in Background | Yes / No | No |
| Save Result as File | Yes / No | No |
Get PDF Info5 fields
| Field | Type | Required |
|---|---|---|
| Source File URL | Text | No |
| Source File | File | No |
| Source PDF Password | Text | No |
| HTTP Username | Text | No |
| HTTP Password | Text | No |
Get PDF Form Fields5 fields
| Field | Type | Required |
|---|---|---|
| Source File URL | Text | No |
| Source File | File | No |
| Source PDF Password | Text | No |
| HTTP Username | Text | No |
| HTTP Password | Text | No |
Fill PDF Form11 fields
| Field | Type | Required |
|---|---|---|
| Source File URL | Text | No |
| Source File | File | No |
| Fields | List of values | Yes |
| Flatten Form | Yes / No | No |
| Source PDF Password | Text | No |
| HTTP Username | Text | No |
| HTTP Password | Text | No |
| Output File Name | Text | No |
| Link Expiration (minutes) | Number | No |
| Run in Background | Yes / No | No |
| Save Result as File | Yes / No | No |
Find Text in PDF9 fields
| Field | Type | Required |
|---|---|---|
| Source File URL | Text | No |
| Source File | File | No |
| Text to Find | Text | Yes |
| Use Regular Expression | Yes / No | No |
| Word Matching | Fixed list | No |
| Pages | Text | No |
| Source PDF Password | Text | No |
| HTTP Username | Text | No |
| HTTP Password | Text | No |
Delete (Redact) Text in PDF14 fields
| Field | Type | Required |
|---|---|---|
| Source File URL | Text | No |
| Source File | File | No |
| Text to Remove | List of values | Yes |
| Case Sensitive | Yes / No | No |
| Use Regular Expressions | Yes / No | No |
| Max Matches per Text | Number | No |
| Pages | Text | No |
| Source PDF Password | Text | No |
| HTTP Username | Text | No |
| HTTP Password | Text | No |
| Output File Name | Text | No |
| Link Expiration (minutes) | Number | No |
| Run in Background | Yes / No | No |
| Save Result as File | Yes / No | No |
Read Barcodes6 fields
| Field | Type | Required |
|---|---|---|
| Source File URL | Text | No |
| Source File | File | No |
| Barcode Types | Multi-select | Yes |
| Pages | Text | No |
| HTTP Username | Text | No |
| HTTP Password | Text | No |
Generate Barcode Image7 fields
| Field | Type | Required |
|---|---|---|
| Value | Text | Yes |
| Barcode Type | Fixed list | Yes |
| Logo URL | Text | No |
| Output File Name | Text | No |
| Link Expiration (minutes) | Number | No |
| Run in Background | Yes / No | No |
| Save Result as File | Yes / No | No |
Convert PDF to Images11 fields
| Field | Type | Required |
|---|---|---|
| Source File URL | Text | No |
| Source File | File | No |
| Image Format | Fixed list | Yes |
| Pages | Text | No |
| Source PDF Password | Text | No |
| HTTP Username | Text | No |
| HTTP Password | Text | No |
| Output File Name | Text | No |
| Link Expiration (minutes) | Number | No |
| Run in Background | Yes / No | No |
| Save Result as File | Yes / No | No |
Convert Web Page to PDF13 fields
| Field | Type | Required |
|---|---|---|
| Web Page URL | Text | Yes |
| Paper Size | Fixed list | No |
| Custom Paper Size | Text | No |
| Orientation | Fixed list | No |
| Margins | Text | No |
| Print Background | Yes / No | No |
| Header HTML | Long text | No |
| Footer HTML | Long text | No |
| Render Wait (ms) | Number | No |
| Output File Name | Text | No |
| Link Expiration (minutes) | Number | No |
| Run in Background | Yes / No | No |
| Save Result as File | Yes / No | No |
Convert Document to PDF10 fields
| Field | Type | Required |
|---|---|---|
| Source Type | Fixed list | Yes |
| Source File URL | Text | No |
| Source File | File | No |
| More Image URLs | List of values | No |
| HTTP Username | Text | No |
| HTTP Password | Text | No |
| Output File Name | Text | No |
| Link Expiration (minutes) | Number | No |
| Run in Background | Yes / No | No |
| Save Result as File | Yes / No | No |
Create PDF from HTML Template13 fields
| Field | Type | Required |
|---|---|---|
| Template | List (from your account) | Yes |
| Template Data | JSON | Yes |
| Paper Size | Fixed list | No |
| Custom Paper Size | Text | No |
| Orientation | Fixed list | No |
| Margins | Text | No |
| Print Background | Yes / No | No |
| Header HTML | Long text | No |
| Footer HTML | Long text | No |
| Output File Name | Text | No |
| Link Expiration (minutes) | Number | No |
| Run in Background | Yes / No | No |
| Save Result as File | Yes / No | No |
List HTML Templates0 fields
No fields to configure.
Parse Document with Template7 fields
| Field | Type | Required |
|---|---|---|
| Source File URL | Text | No |
| Source File | File | No |
| Template | List (from your account) | Yes |
| Pages | Text | No |
| Source PDF Password | Text | No |
| HTTP Username | Text | No |
| HTTP Password | Text | No |
List Document Parser Templates0 fields
No fields to configure.
Parse Invoice with AI5 fields
| Field | Type | Required |
|---|---|---|
| Source File URL | Text | No |
| Source File | File | No |
| Custom Fields | List of values | No |
| Line Item Structure | JSON | No |
| Job ID | Text | No |
Upload File to PDF.co1 fields
| Field | Type | Required |
|---|---|---|
| File | File | Yes |
Check Job Status2 fields
| Field | Type | Required |
|---|---|---|
| Job ID | Text | Yes |
| Save Result as File | Yes / No | No |
Get Credit Balance0 fields
No fields to configure.
Common errors
401 or invalid key
Copy the key again from the API section and reconnect.
Source file cannot be downloaded
The URL must be public, or provide "HTTP Username" and "HTTP Password".
Not enough credits
Check your PDF.co account balance.
Password-protected PDF
Enter the password in "Source PDF Password".
Field types
"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps
