See also

29 Nov 2024 10:54 PM

Using PDFs

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.

  1. Upload a PDF file
    clipboard-2024-11-29-22-49-54-433Z.png
  2. Create a Copilot chat and choose Spreadsheet as a data source
    clipboard-2024-11-29-22-54-21-649Z.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.