Embedded Mode

Affinda has developed our data extraction solution to work either:

  • Within our dedicated app, or
  • Embedded within your platform

With the embedded option, workflows remain largely unchanged from any existing processes, with the Affinda solution embedded to enhance efficiency and let users focus on other tasks.

The validation interface can be customised to seamlessly fit within your platform (see Configuring the Validation Tool for more information on white-labelling and other customisation).

Embedding the validation interface

  1. Within the API or webhook response from any documents sent to Affinda, we return a value called meta.reviewUrl
  2. This signed and authenticated URL which can be embedded as an iFrame within your platform and allow members of your team to validate the data predicted and add any additional data points
  3. Once a document is 'Confirmed', the validated data can be requested or more commonly sent via a webhook
  4. This data is ingested into your platform for downstream processing with full confidence in the accuracy

Each signed URL is valid for 60 minutes and as such we recommend not storing the URL locally.  If customers want to access the validation tool for a document that has already been created in the Affinda system, we recommend retrieving the new URL only when the user clicks to validate the document by calling the Get specific document which then sends the user to a page that embeds the URL retrieved from meta.reviewUrl.

Why should I use the validation interface?

There are two key advantages of using the validation interface. 

  1. Ensuring the integrity of data
    Despite all of the benefits of using an AI-based engine for extracting data, the reality is that no model will ever be 100% accurate for every single invoice. The benefits of a 'human in the loop' model mean that predictions made by the model are validated and 100% accurate data can be guaranteed before entering into your system for further processing. 
    The ease of use of the interface, and the already high accuracy of the model predictions, means that obtaining perfect data is now a matter of seconds, not minutes, per document.
  2. Creation of a feedback loop
    One key strength of AI models is that they can continue to learn over time. When using the validation interface, the data from these human corrections can be fed back into our models so that our engine can begin to learn different suppliers' invoice formats and accuracy will continue to improve over time, further reducing the amount of human intervention required.