Extract content from documents, such as PDF or image files, using AppSheet document parsing as described to the following sections:
See also Document processing.
What is document parsing?
Document parsing with AppSheet enables you to extract content from documents using Google’s Document AI solution.
You can parse the following document types:
The documents can be saved using one of the following file formats: PDF, GIF, PNG, JPEG, and TIFF.
AppSheet automation extracts a document's content based on the document type, regardless of MIME type or extension type (such as,
.png). If a document in the folder is not of the specified type or format, it will not be processed.
AppSheet only supports parsing documents stored on Google Drive.
Additional document types and formats will be supported as Google's Document AI solution supports them.
How AppSheet measures extraction confidence
In some cases, source documents may have defects that result in extraction accuracy that is less than 100%. For example, some documents may be based on scanned sources, utilize complex images, use unusual fonts, or have spelling errors or omissions.
The extraction service includes an extraction confidence score that is used by the automation process to determine if the extracted data should be manually reviewed. If the extraction confidence score falls below the configured threshold, an exception flow is triggered to involve manual review by a human. For more information, see Monitoring document parsing.
Note: The extraction confidence threshold is not configurable at this time.
How AppSheet parses monetary content
For documents that include a monetary column, the amount and currency code are extracted into two columns to provide more flexibility for using the extracted data. For example, you might support a centralized repository of documents that span multiple currencies and that allow for customizing downstream processes. Each document is expected to use a single currency; if there appears to be inconsistencies in the extraction, they are flagged.
Using document parsing
To use document parsing to extract content from documents:
Open the app in the app editor.
Select Data > Tables.
Click New Table.
Select Documents on Google Drive in the Get data from… dialog.
Under Documents, select one of the supported document types: Invoices, Receipts, or W-9 forms.
Navigate to the folder on Google Drive that contains the documents and click Select.
The Source Invoice Folder and Table Name fields are displayed and populated based on the folder you select.
Click Change to edit the Source Invoice Folder, as required.
Edit the Table name, as required.
The table name defaults to the folder name.
Click Create Table.
The document tables are created. For invoice and receipt documents, a second table is generated to capture the line items. For more information, see Table schemas for document parsing.
Click View data in the table header to view the extracted content in your new document table.
Only documents with
SUCCESS document parsing status will be listed in your app table. Documents that were not successful or registered a low confidence level will be logged to the automation monitoring and audit logs. For more information, see Monitoring document parsing.