Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

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.

  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.
  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 API from Google allows you to lookup a Company Name based on phone number, or as in this case, web address.  The 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.  The C# source for the node can be found here.
  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.  
  • No labels