LoginSignup
10
14

More than 3 years have passed since last update.

ドキュメント自動化ソリューション(Document Automation Solution)日本語対応の検証+PADでの自動化

Last updated at Posted at 2021-03-07

皆さんこんにちは、マイクロソフトの川端です。
ドキュメント自動化ソリューション/Document Automation Solutionでの日本語読み取りが対応されていますので、セットアップ手順と共に結果について共有したいと思います。

手順について

英語での手順に関してはこちらに詳しく説明されています。
https://flow.microsoft.com/ja-jp/blog/automate-document-processing-with-power-automate/

image.png

こちらはもともとPower Apps作成者ポータル側で中心に構成(https://make.powerapps.com)
されていたAIBuilerの機能が、Power Automate側(https://flow.microsoft.com/)
で呼べるようになったものです(2021/03/08時点でプレビュー)。
image.png

ドキュメント自動化(プレビュー)を選択します。
image.png

予めDocument automation Base Kitをダウンロードし、環境に取り込んでおきます。
https://appsource.microsoft.com/en-us/product/dynamics-365/mscrm.powerautomate_documentautomation_basekit
image.png

川端が日本語化したDocument automation Base Kitはこちら(参考)
https://github.com/YutoKa/document-automation-base-kit-jp

ソリューションをインストールします(推定時間の記載通り、10分ぐらい実際にかかりました)
image.png

Power Automateフローの設定に移ります。
image.png

このままではKitが動作しないので、ソリューション内に含まれているフローの設定、許可を行っていく必要があります。
image.png

Kit内でフローに対する設定を行っていきます。
image.png

編集ー>フローの接続先の設定 を行います。
image.png

+ボタンから接続をすべて許可します。
image.png

フローをオンにします。
image.png

ユーザーの設定でDocument Automation ReviewerやProcess Ownersロールを追加します。
image.png

ソリューションとして環境内にDocument automation base kitが導入できていることが確認できます。
image.png

Power Appsのアプリとしてドキュメント自動化アプリケーション(Document Automation Application)が導入されました。
image.png

Power Apps側(Document Automation Application)でAIモデルを正しく紐づけて正しく日本語が読めていることが確認できます。
image.png

ドキュメント自動化ソリューションとPower Automate Desktopを利用した自動化(動画)

デモの動画はこちらです。

動画デモ内容の設定方法

Document automation base kitを導入後、こちらの構成内容をベースにPower Automate Desktopのフローを構成していきます。
image.png

ドキュメント自動化アプリケーション(Document Automation Application)では結果がテーブル名「Document Automation Data」に格納されるので、そちらの変更、作成からDataverseをトリガーとするように構成します。

ドキュメント自動化アプリケーションでは、予め定義済みのAIBuilderのモデルを選択して、後でPower Automateでのフローの結果も参照できるようにしておきましょう。
image.png

実際に取り込んでドキュメントを読み込ませると、請求先会社、請求元住所等が正しく画像認識され読み込まれている様子が確認できます。
image.png

本デモでは簡易的に、自分にメールを送ればPower Automate Desktopのプロセスがキックされるように設定しています
image.png

Teams側へ請求書が読まれたことの通知が行われました。
image.png

また、Power Automate Desktopを通じて、無事に入力が確認できた様子が確認できます。
image.png

読み取った請求書の内容はドキュメント自動化アプリケーションから再度確認することができます。

image.png

「有効化」ボタンを押すことで、組織内で確認されたものとして内容を確認することが可能となります。
image.png

10
14
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
10
14