Skip to main content

Import

Category: Processing

The Import activity converts uploaded source files (PDF, TIFF, images, and text files) into normalized page images that the rest of the pipeline can process. It is normally the first step in every workflow.

Settings​

The Import step's panel opens on its Sources block. The step has no switch: it is always on.

Sources (a project setting). The project's import connectors: watched folders and email inboxes that turn incoming files into transactions automatically. Folded, it says how many there are and, once the project is published, how many are live in production ("2 sources · 1 live"). Open, it lists each connector with, once the project is published, whether it is live, and marks one that cannot be saved yet (a mailbox credential or a folder path still missing): until it is complete or deleted, no change to the project's connectors is saved; click one to open its dialog, which saves your changes as you make them. Add source opens the list of sources you can add. The connectors belong to the project, not to the step.

Exits. Where the transaction goes after the step, and the failure exit.

Two settings of the step have no control in the panel. Set them through the workflow API, or see them in the panel's JSON view:

SettingDescriptionA new step starts with
jpg_compressionQuality of the converted JPG images used for display and AI processing. Range 50 (smallest file) to 100 (best quality).85
dpiResolution for converted images (150, 200, 300, or 400), assuming a letter-size page. Higher DPI means more detail and larger files, and every step that reads the pages gets the larger images.200

Files that cannot be imported​

Import reads each file's content, not its name, to tell what it is; a .txt is read as text. A file that is not a PDF, an image or a text file is refused when it is uploaded, so it never reaches Import. A file that opens and still cannot be turned into pages in full stops the transaction: the Import step fails, and so does the transaction, with a message naming each such file and why:

ReasonCodeMeaning
unsupported formatunsupported_formatNot a PDF, an image or a text file, for example a .docx file, or a .txt that does not hold text
a text file over 1 MBtext_file_too_largeA .txt over the 1 MB limit; split it, or send it as a PDF
emptyempty_fileA .txt with nothing in it, or only spaces and line breaks
damaged or incompletedamaged_fileStarts like a PDF but cannot be read, for example a file cut short in transfer.
password protectedpassword_protectedA PDF that needs a password to open; send a copy without one. See Password-Protected PDFs
protected in a way that cannot be openedunsupported_protectionA PDF with certificate encryption, rights management or AES-GCM encryption, or a cover page in front of an encrypted document, which includes any one-page PDF with a password-protected attachment. See Password-Protected PDFs
a PDF portfolio, whose attached files are not readpdf_portfolioA one-page cover with the documents attached; send them separately. See PDF portfolios
could not be convertedconversion_failedAny other conversion error, a picture too large to convert among them (for example a WebP over 35 megapixels, or a PNG or TIFF over 140). A file that stopped part-way also says how many of its pages were imported
holds no pagesno_pagesRead without error, but has no page in it
could not be read from storageread_failedThe stored file could not be read. Re-run the transaction; if it is listed again, upload the file again

The pages of the files that did convert are kept, with their documents. To go on without the files named, resume the transaction from the step after Import; the transaction then carries the pages each file gave, and the Activity Log records who decided. To process readable copies instead, cancel the transaction and send them in a new one: a Failed transaction takes no new files. When no file can be imported at all, there is nothing to go on with: the cause is No readable files (no_readable_source_files) instead of Files not imported in full (source_file_unreadable).

A file that could not be read from storage is the exception: the step is tried again, as for a passing fault, before the transaction fails.

Transactions processed before 29 October 2026 went on without such files; their Import entry in the Activity Log lists them as not imported in full, and the step's step.completed event carries them as skipped_files.

Notes​

  • All source formats are normalized to the same DPI so downstream steps see consistent page images.
  • Lower DPI and compression speed up processing; raise them when fine detail matters for OCR or extraction.
  • The connectors in Sources are not part of the step's own configuration: they are the project's, and they reach production when the project is published. See Import Connectors.