Skip to main content

Built-in connectors

Built-in connectors work on the files inside an Unstract Flow run and need no credential: they're Ready as soon as the workflow mentions them. Use them to split and merge PDFs, convert images, read spreadsheets, render a PDF from HTML, or match an order's lines to your reference tables, between the steps that talk to your systems.

A spec saved over the API adds an instance of each built-in connector it mentions by name, as the editor does, and it is Ready at once. See Author and deploy over the API.

Platform Tools​

Every workflow can use Platform Tools, @platform, whether or not the spec mentions them; preparing picks the actions a step needs. Each Platform Tools action has an hourly call limit, 1,800 unless the workflow sets its own, so a step that calls one per row in a long loop can reach it. Only the workflow's Tool call rate limit (per hour), in the editor's Settings tab, changes it: to give them more calls, raise that.

GroupWhat it does
Files and pathsReads, writes, copies, moves, lists and removes files in the run.
ArchivesMakes and unpacks zip and tar files.
CSV, TSV and ExcelReads .csv, .tsv, .xlsx, .xls and .ods files, and writes all of them except .xls.
TablesFilters and transforms rows, combines them into one value, and picks out a row or a value.
JSON and YAMLReads and writes structured files.
TextConverts HTML and Markdown to text, matches patterns, and compares or patches text.
PlaceholdersFills the placeholders in a file with values, for example an HTML page for Web Render.
WebFetches a page or downloads a file from a public web address.
File typesDetects a file's type from its content.

PDF Tools​

@pdf_tools works on PDFs in the run.

ActionWhat it does
page_countCounts the pages.
splitSplits a PDF by page ranges, such as 1-5, 8 or 10-.
mergeJoins PDFs in the order given.
extract_imagesSaves pages as PNG images.
rotateRotates pages by 90, 180 or 270 degrees.
remove_restrictionsRemoves copy, print and edit restrictions. A PDF that needs a password to open needs that password in the step.
repairRepairs a damaged PDF.
metadataReads the title, author, dates and other properties.

Image Tools​

@image_tools works on JPEG, PNG, BMP, WebP, TIFF and GIF images: resize, resize_scale, convert, rotate, crop, crop_margin, crop_center, compress and metadata.

TIFF Tools​

@tiff_tools works on multi-page TIFF files, common from scanners and fax: page_count, split, merge, to_pdf, to_images, optimize, rotate and metadata.

Reference tables​

A workflow whose spec names one of the project's reference tables, such as @table:Items, gets these actions as it's prepared. The spec doesn't mention a connector for them, and no instance is added.

ActionWhat it does
resolveFinds the record a piece of text means, such as the item an order line names. When close spelling is the first step to find records and its match isn't final, the AI picks among them, unless the table's AI weighs close matches is off.
resolve_manyDoes the same for up to 200 pieces of text in one call, such as every line of an order.
getReads one record by its key, including one a later import removed.
findLists the records whose columns meet conditions, up to 500.

Each action is limited to 100,000 calls in a rolling hour, and nothing in the workflow changes it. See Call limits.

Web Render​

@web_render renders HTML, from the step or from a file in the run, or a public web page, to a PDF (to_pdf) or a PNG or JPEG image (to_image). Pair it with an HTML file with placeholders to produce documents such as remittance advice, then send them with an email connector.

Fill remittance.html with the payment details, render it to PDF with @web_render, and email it to the vendor with @email_generic.

Limitations

Web and Web Render reach public addresses only. A private or internal address fails, and so does a page that redirects to one. In HTML that Web Render renders, an image or style sheet at a private address is left out, and the render still succeeds. Web stops reading a response at 500 MB by default, or on a download at a smaller max_size_mb the step passes, and reports it. A fetch returns the page into the workflow, which takes up to 10 MB; use download to save a larger file in the run. A download must finish within three minutes.