See also

18 Oct 2024 01:01 AM

Using PDFs

close

Let’s explore how to convert an invoice from a PDF file into a structured table that can be used for reporting and combined with data from other invoices.

Below is the original PDF:

clipboard-2024-10-07-23-56-06-097Z.png

Our goal is to extract the data from the PDF and organize it in a usable structured format.

The typical process involves converting your PDF to a TEXT file using an external tool, then uploading the resulting text or CSV file.

  1. Convert the PDF to a text file using a tool like this PDF-to-text converter. It's crucial to have a solid understanding of how to use this tool effectively.
  2. Create a Copilot chat and upload the text file.
    clipboard-2024-10-08-00-03-28-414Z.png
  3. Ask the AI to regenerate a structured table from the text. AI can handle unstructured data (only the Generalist model can perform this task).
find order items in the document
show it as table with name of an item, rate, and amount 

clipboard-2024-10-07-23-48-39-154Z.png

While the described above process is manual, it can be automated. You'll need to implement a script that automatically feeds the text files into the system.

If you need a repeatable workflow, we can set up an automated conversion script on our end.