Skip to content
FileToPDF

How to use FileToPDF

Content & filesProductivityCost: 1 credit per runTechnical reference

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

  1. 1Sign in to FileToPDF and look for the API or integrations section in its settings.
  2. 2Create an API key or token with the permissions you need and copy it.
  3. 3In flooows, add a FileToPDF step, click "Connect" and paste it.
  4. 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
FieldTypeRequired
SourceFixed listYes
FileDynamic fieldsYes
Landscape OrientationYes / NoNo
Page RangesTextNo
PDF/A Archival FormatFixed listNo
PDF/UA (Accessibility)Yes / NoNo
Source Document PasswordTextNo
Output Open PasswordTextNo
Output Permissions PasswordTextNo
Convert HTML17 fields
FieldTypeRequired
HTMLLong textYes
CSSLong textNo
Landscape OrientationYes / NoNo
Paper Width (Inches)NumberNo
Paper Height (Inches)NumberNo
Margin Top (Inches)NumberNo
Margin Bottom (Inches)NumberNo
Margin Left (Inches)NumberNo
Margin Right (Inches)NumberNo
ScaleNumberNo
Print Background GraphicsYes / NoNo
Prefer CSS @page SizeYes / NoNo
Page RangesTextNo
PDF/A Archival FormatFixed listNo
PDF/UA (Accessibility)Yes / NoNo
Output Open PasswordTextNo
Output Permissions PasswordTextNo
Convert Markdown17 fields
FieldTypeRequired
MarkdownLong textYes
CSSLong textNo
Landscape OrientationYes / NoNo
Paper Width (Inches)NumberNo
Paper Height (Inches)NumberNo
Margin Top (Inches)NumberNo
Margin Bottom (Inches)NumberNo
Margin Left (Inches)NumberNo
Margin Right (Inches)NumberNo
ScaleNumberNo
Print Background GraphicsYes / NoNo
Prefer CSS @page SizeYes / NoNo
Page RangesTextNo
PDF/A Archival FormatFixed listNo
PDF/UA (Accessibility)Yes / NoNo
Output Open PasswordTextNo
Output Permissions PasswordTextNo
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