MetaServer > Help > Import from Folder

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 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 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.

For example:
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.

The MFP will create 1 document holding all the application forms in the set, so they need to go through a Separate Document and/or Organizer action first before going to the Extract action.


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 – Import sequence: here you can choose if you want to import your documents chronologically or alphabetically.

04 – Import [x] seconds after file creation: 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 “Import [x] seconds after file creation” option, the MFP can correctly finish the PDF file.

05 – 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.