Unify Automations
Logo
PDF by UnifyApps

PDF by UnifyApps

Logo

6 mins READ

Overview

PDF by UnifyApps processes information by going through each page of the PDF and extracting the data.

This data can then be used in the rest of the automation using data pills.

Frame 427319222 (1).png
Frame 427319222 (1).png

Use Case

Let’s say you want to collect all invoices received from Gmail and make a Google Sheet of key information.

  1. We’ll use PDF by UnifyApps to extract pages one after another. We can then leverage Unify AI to split the text and obtain information essential to us, such as Name, Source, Amount, etc.

    Frame 427319223.png
    Frame 427319223.png

  2. The data pill obtained from the PDF by UnifyApps can now be used to add a row to our Google Sheets file.

  3. With the help of PDF by UnifyApps, this automation enables us to streamline the invoice collection process and maintain clean records.

How to Parse PDF?

  1. We will add the PDF by UnifyApps node, select Read text from the PDF file, and proceed with providing input for the PDF field.

  2. The input can be either a URL, base64 encoded string, or a file object that you would need to map from the upstream node. 

    Frame 427319224.png
    Frame 427319224.png

  3. After setting the input parameter, add an App & Action inside the node's iteration. For example, here we are using Variable by UnifyApps to add pages to the list created earlier, one by one.

    Frame 427319225.png
    Frame 427319225.png

  4. You can now extract the data from the PDF using the output datapill, which consists of:

    •  an Item with the text from the page, 

    • a Page Index denoting the page number, 

    • Is First and Is Last, indicating if the current index is the first or the last page.

      Frame 427319504.png
      Frame 427319504.png
      Thumbnail

      Note

      Users must add a step after PDF by UnifyApps Node to complete the Automation. The Automation can’t be deployed without this step.

FAQs

Can I provide a PDF file without a URL?

Yes, you can leverage file type data pills within UnifyApps to pass it into the Reader.

Can this Reader parse other files like docx?

No, this node can only interpret PDF files.