Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Excerpt

Identifying Vendors can be complicated for basic extraction processes as Vendor Names are not consistently placed on invoices, and are often image based and can't be OCR'd.  Leveraging Google's Place Search capability, GlobalCapture can simplify Vendor identification for invoices.

This example is designed to illustrate how you can leverage nodes within a workflow process to make calls to external sources and leverage the returned data within the flow.  The workflow leverages a node built to make a web request to an external source.  While the node was build to be generic, a customer could certainly craft a purpose built node to be very specific.

Workflow Overview

This example is designed to illustrate how you can leverage nodes within a workflow process to make calls to external sources and leverage the returned data within the flow.

Image Added

  1. A Classify Node is used to find text elements that would be reflective of a vendor.  In this case, we will be scanning invoices for a web address using a simple regular expression pattern.
    Image Added
  2. A check is perform to make sure data was collected from the document that matches the extraction rule, in this case some form of a URL.
  3. A Custom Node is leveraged to pass a URL extracted from the invoice to the Places API.  This node is intentionally generic and can make requests into any endpoint that will accept GET requests.  The Node makes the request, receives a JSON response, and parses the response data into matching fields of the workflow.
  4. Check the field of interest to ensure data was returned.
  5. Copy the data from the generic field of the Places API "name", to a user friendly equivalent "Vendor Name".  If the Node we authored with a specific intention in mind, this step could be avoided.
  6. In case of exceptions or missing data, send the document to a validation queue for manual intervention.