020-020 MetaServer Import – Import from Folder
MetaServer’s Import from Folder feature allows you to watch one or multiple folders in the same workflow and process imported PDF / TIF / JPG files. You can use MFPs (Multi-Functional Peripheral like a digital copier/scanner/printer), Network Scanners, scan-to-folder oriented systems, such as Fujitsu ScanSnap, or any device that can send a PDF, TIF or JPG to a synced cloud folder (DropBox, Google Drive, Box, etc.) like a smartphone running a scan app.
Each import folder action in a workflow can have a different next action. Consequently, you can process a document differently depending on the watched folder you place it in.
An MFP for an insurance company has 2 buttons that are linked to different watched folders in a workflow for processing their application forms:
– A “Single” button, for scanning a single application form. It will go straight to the Extract action.
– A “Multi” button, for scanning a set of multiple application forms.
Some other example use-cases:
– Truck drivers scan POD documents with their smartphone and the result is sent to a central Dropbox folder to trigger a business process.
– A law firm has MFPs set up in their office and scan case-related documents to a network folder to automatically save them in the correct case folder with a meaningful name, including the date and document type.
– A catering company receives incoming invoices through e-mail and snail mail. So, they watch an email inbox for incoming invoices and scan their physical invoices to a watched folder. MetaServer extracts all relevant data such as supplier name, invoice number, amount, due date etc. and uploads the data in QuickBooks for booking and payment.
– A pest & termite control service scans their inspection reports to a watched folder to archive them in a comprehensive folder structure.
01 Import from Folder – Adding the Action
To add an Import from Folder action, select the action after which you want to insert the Import from Folder action and press Add -> Import -> from Folder. The Setup window will automatically open.
You can also open the setup window of an existing Import from Folder action by double clicking the action or by pressing the setup button on the right side of the action or in the ribbon, as shown below.
In our example, we will make use of the “CB – FLOATING DATA” workflow. This workflow is automatically installed with CaptureBites MetaServer.
02 Import from Folder – Setup
TIP: The thumbnail on the right will follow you, so you can easily refer to the Setup window. Click on the thumbnail to make the image larger.
01 – Watched folder: you can browse to the watched folder using the “…” button or enter the path manually. Make sure this path already exists.
02 – File types: here you can specify the file types that will be imported. Press the drop-down arrow to select the desired file types. Right now, we exclusively support PDF. Support for other file types is planned for a future release.
03 – PDF passwords: if you want to import password-protected PDFs, enter all possible passwords here. If none of the passwords work when importing a PDF, the document will be moved to the Errors tab.
IMPORTANT: In your export action(s), select “Imported PDF” to export the original version with password. Select “Processed PDF” to export a version without password.
04 – Fit JPG and PNG to page size: enable this option to reduce very large JPG or PNG files to A4 or Letter Size. Image quality is preserved, only the paper size is updated. JPG and PNG images with small dimensions such as receipts or business cards remain untouched.
For example, documents captured with a smart phone in JPG or PNG format often have incorrect, too large page dimensions causing data extraction and viewing problems.
05 – Import sequence: here you can choose if you want to import your documents chronologically or alphabetically.
06 – Create a document per file / subfolder [x] seconds after file creation: you can choose to create a document:
per file: each imported file creates a document.
per subfolder: create a document per subfolder in the watched folder containing TIF and JPG files each representing a page of the final document.
For example, if you import the following:
The output would be 2 PDFs with the the 1st PDF containing 3 pages and the 2nd PDF 4 pages.
Also, some MFP devices (we’ve experienced it with some MFPs from Konica-Minolta) write PDF files gradually in the destination folder and don’t always lock them while being written. This can generate a corrupt PDF file and cause errors. In that case, by setting a delay before importing the file with the “Create a document [x] seconds after file creation” setting, the MFP can correctly finish the PDF file.
Only import from subfolders: enable this option if you only want to import files coming from subfolders in the watched folder. Any files outside of a subfolder will not be imported.
07 – Document: this option will automatically create a document per file. Other document options are planned for a future release.
03 Import from Folder – After import
01 – Log file names: enable this option if you want to create a log for each imported document. You can specify the location by browsing to a folder or entering a path manually. If the path does not already exist, it will be created automatically.
1) File name: here you can choose how to store your import-log files. You have the option to store them in sub-folders and name them based on the imported document’s import date year, month and / or day.
This way, all import-logs with the same import date will be merged in 1 file. You also have the option to store all logs in 1 file named “MetaServer.txt”, regardless of the import date.
02 – Delete file / Move file to: once a document is imported in MetaServer, you can choose to delete it from the watched folder or you can move it to another folder for archiving purposes.
03 – Remove empty sub folders: disable this option if you don’t want to remove empty sub folders. This can be useful if, for example, the sub folder names in the watched folder hold the name of the person who scanned the document. The name can then be used in an Extract action’s Reserve rule to reserve the document for validation by the person who scanned the document.
TIP: you can copy the current settings and paste them in another setup window of the same type. Do this by pressing the Settings button in the bottom left of the Setup window and by selecting Copy. Then open another setup window of the same type and select Paste.