Skip to main content

Processing Multiple Documents

· 2 min read
Tommi
Tapio

We built a handy tool that processes multiple documents at once, aiming to simplify your workflow when dealing with bulk PDF conversions.

Overview

At its heart, this tool revolves around a simple but effective JavaScript setup, consisting of two main folders: data_in for input PDFs and data_out for the converted JSON files. The process is straightforward: drop your files into data_in, and the tool automatically processes and delivers them as structured data in data_out.

How It Works

Upon placing files into data_in, the tool kicks into gear, sending them to Excelifier for conversion. Each file gets its unique ID, with a corresponding subdirectory created under data_in. This acts like a mini-status board, indicating which files are in the process.

In the meantime, a separate part of the script monitors these subdirectories. Once it identifies that a file's conversion is complete, it pulls the converted JSON content into data_out and cleans up by removing the temporary subdirectory. This seamless operation ensures a tidy work process, focusing only on the end results: your converted files.

Performance

We put it to the test by dropping 10 one-page invoices into data_in, and in a mere 1 minute and 15 seconds, all files were processed and waiting in data_out. Speed and efficiency are clearly at the forefront of this tool's design.

Availability

Here's possibly the best part: The code is freely available in Github.

Please note: You will need Excelifier API keys to use it.

Why Use Our Tool?

Aside from the clear time-saving advantages, this tool offers a streamlined method for managing and converting documents. It is particularly valuable for businesses or individuals who often handle a multitude of PDFs, providing a dependable solution to automate the conversion process with minimal fuss.

This compact JavaScript-based tool serves as a powerful demonstration of Excelifier's backend capabilities. It also offers a quick way to evaluate our efficiency!

This is just one of numerous ways Excelifier can enhance document processing workflows.

For more insightful ideas and updates, follow our blog!