Icon

01_​KNIME_​to_​AWS_​with_​Boto3

KNIME to AWS with Boto3

This example workflow illustrates how to configure an automatic invoice processing solution using Amazon Textract through the integration of KNIME and Boto3.

In process, it automatically backs up invoice/receipt images to the AWS cloud, analyzes the document, and extracts specific information such as vendor name, price and invoice number. Users are able to upload invoice images from their local environment with Amazon S3 Connector, and analyze the documents with Amazon Textract through Boto3 SDK leveraging the KNIME Python Script node. The Amazon Textract output is post-processed in KNIME and then delivered into different channels.

This workflow follows the example of the blog article, How to use Boto3 in KNIME. See the link below to the specific article.

Note: In order to use this workflow in your own environment, follow along with the annotations in the workflow. Also, in order to use the AWS services, you will also need to have AWS credentials to authenticate with the Amazon Authentication node.

KNIME to AWS with Boto3--In order to use the workflow in your own environment, follow along with annotationsincluded.This workflow assumes the invoices are stored locally on your machine. Here, KNIME uses Python tocommunicate with Amazon Textract viathe Boto3 library If using the KNIME Server, you can usethis to return the results as the body ofa REST execution Configure with your AWS credentialsPoint to an S3 BucketBackup files ontoa directory in your S3 BucketPoint to where the invoice is stored Python Script Excel Writer AmazonAuthentication Table to JSON ContainerOutput (JSON) Post-Processing Amazon DynamoDBBatch Put Amazon S3 Connector Transfer Files Table Columnto Variable List Files/Folders KNIME to AWS with Boto3--In order to use the workflow in your own environment, follow along with annotationsincluded.This workflow assumes the invoices are stored locally on your machine. Here, KNIME uses Python tocommunicate with Amazon Textract viathe Boto3 library If using the KNIME Server, you can usethis to return the results as the body ofa REST execution Configure with your AWS credentialsPoint to an S3 BucketBackup files ontoa directory in your S3 BucketPoint to where the invoice is stored Python Script Excel Writer AmazonAuthentication Table to JSON ContainerOutput (JSON) Post-Processing Amazon DynamoDBBatch Put Amazon S3 Connector Transfer Files Table Columnto Variable List Files/Folders

Nodes

Extensions

Links