TotalAgility 8 - Maps for Seamless Third-Party Data Extraction
Total Agility (KTA) 8.0 introduces sample process maps for third-party data extraction, enabling users to leverage Azure and Google Document AI services for common document types. By integrating with these services, KTA enhances data processing capabilities, allowing for the direct updating of document fields and supporting complex JSON responses – basically one can call Azure and Google document AI services for common document types (e.g Driver’s license or receipts) which these sample processes support. Idea is to use cloud providers doc AI models to extract data and use Tungsten document processing capability to streamline document workflows and reduce reliance on Transformation sever (which is Kofax internal tool for image data extraction).
High level you would achieve below,
In last couple of articles, we saw how to build our own custom document model and use Azure Document AI to set up extraction for organization specific document extraction needs. This one we will use most of those experiences and see how to call DocAI idDocument model and then parse the response in Total Agility eco system. ?Here are the high level steps on how to achieve this,
Step 1: Configure web services for TA-AzureDocAI integration
Look at this pervious article to see more details on the endpoints URL and calling and analyzing mechanism from Postman application – Click here.
Step 2: Workflow to make Azure Calls
Build a business rule or process to make the Azure calls (two calls) and get the response. Image/document should be an input variable.
Step 3: Consuming Azure DocAI response
Once JSON response from AzureAI is obtained it can be parsed using various techniques, you can write a code to parse it and then associate it with the Kofax internal capture fields using CaptureDocumentService methods or you can build your own flow to parse the response. Tungsten has done all that heavy lifting for you in new 8.0 version by providing a sample process map and shown how to build this in perfectly codeless manner. In this article we will use Kofax provided process map.?
Note – Manually added in sample process map provided by Kofax.
领英推荐
[1] Associate Azure returned doc field values to Kofax internal capture fields.
[2] Associate bounding boxes to capture fields to highlight data on image
With above sample process maps Tungsten has literally saved weeks for development effort, the way they have done (in codeless manner) is highly understandable for Citizen developers, highly appreciated.
?Step 4: Here are testing steps after above changes are made.
Note - Data coming from Azure but all the processing steps are orchestrated in TotalAgility.
Step 5: Analyze internal variable like API Response Status, JSON response, base64 string.
Azure JSON Response from FinalResponse variable available has fields and data returned.
Summary
Third-party data extraction can play a pivotal role in modern document processing workflows, offering a gateway to external OCR services. TotalAgility extends its capabilities by seamlessly integrating with these external services, enabling the extraction of data to update document fields, thus facilitating the document's smooth progression through various process flows. This functionality not only allows for the direct updating of Capture fields but also supports the processing of more intricate JSON responses. Additionally, it provides the ability to access REST headers and handle diverse responses, allowing users to set document fields using data extraction results from external sources, reducing reliance on the Transformation Server. Sample maps illustrate how document fields can be updated with values extracted from responses obtained from leading third-party services such as Google Cloud Document AI and Azure AI Document Intelligence.
If this article has been helpful, I would appreciate your feedback and comments. Additionally, if there are any other Azure Cognitive Services or AI related topics that you would like me to cover and share information on, please do let me know.
Reference - Tungsten Total Agility official product documentation. (Available online)
Thanks for sharing this article, would you also be able to share as an what would you pass as header in web service reference for AzureDocAI
Software Developer @Symcor | Streamlining Business Processes
12 个月This is an excellent article Vijay!! Thanks for sharing.
Chief Product Owner Intelligent Automation|| Document Automation
12 个月This is great Vijay! Can't wait to start building in 8.