What it is for
Convert files, HTML, and Markdown to PDF. Office documents (DOCX, XLSX, PPTX), images, web pages, and Markdown become clean PDFs over a simple API.
FileToPDF has no triggers: use it as an action in flows started by other apps, a schedule or a webhook.
Set up the connection
Authentication type: API key or token
- 1Sign in to FileToPDF and look for the API or integrations section in its settings.
- 2Create an API key or token with the permissions you need and copy it.
- 3In flooows, add a FileToPDF step, click "Connect" and paste it.
- 4Save the connection: it is stored encrypted and is never shown in plain text.
Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.
How to use it in a flow
- Convert a File: fill in Source, File; use the data selector to map values from earlier steps.
- Convert HTML: fill in HTML; use the data selector to map values from earlier steps.
- Convert Markdown: fill in Markdown; use the data selector to map values from earlier steps.
Tips
- •Test each step before publishing to see the exact output structure.
- •Enable retries on steps that call external services.
Actions (4)
Operations available as flow steps. Expand each one to see its fields.
Convert a File9 fields
| Field | Type | Required |
|---|---|---|
| Source | Fixed list | Yes |
| File | Dynamic fields | Yes |
| Landscape Orientation | Yes / No | No |
| Page Ranges | Text | No |
| PDF/A Archival Format | Fixed list | No |
| PDF/UA (Accessibility) | Yes / No | No |
| Source Document Password | Text | No |
| Output Open Password | Text | No |
| Output Permissions Password | Text | No |
Convert HTML17 fields
| Field | Type | Required |
|---|---|---|
| HTML | Long text | Yes |
| CSS | Long text | No |
| Landscape Orientation | Yes / No | No |
| Paper Width (Inches) | Number | No |
| Paper Height (Inches) | Number | No |
| Margin Top (Inches) | Number | No |
| Margin Bottom (Inches) | Number | No |
| Margin Left (Inches) | Number | No |
| Margin Right (Inches) | Number | No |
| Scale | Number | No |
| Print Background Graphics | Yes / No | No |
| Prefer CSS @page Size | Yes / No | No |
| Page Ranges | Text | No |
| PDF/A Archival Format | Fixed list | No |
| PDF/UA (Accessibility) | Yes / No | No |
| Output Open Password | Text | No |
| Output Permissions Password | Text | No |
Convert Markdown17 fields
| Field | Type | Required |
|---|---|---|
| Markdown | Long text | Yes |
| CSS | Long text | No |
| Landscape Orientation | Yes / No | No |
| Paper Width (Inches) | Number | No |
| Paper Height (Inches) | Number | No |
| Margin Top (Inches) | Number | No |
| Margin Bottom (Inches) | Number | No |
| Margin Left (Inches) | Number | No |
| Margin Right (Inches) | Number | No |
| Scale | Number | No |
| Print Background Graphics | Yes / No | No |
| Prefer CSS @page Size | Yes / No | No |
| Page Ranges | Text | No |
| PDF/A Archival Format | Fixed list | No |
| PDF/UA (Accessibility) | Yes / No | No |
| Output Open Password | Text | No |
| Output Permissions Password | Text | No |
Get Account Status0 fields
No fields to configure.
Common errors
Authentication error
The connection expired or the key was revoked: reconnect it from Connections.
Field not found or empty
Re-test the previous step and remap the field in the data selector.
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
