How to use AI Builder in Power Automate - invoice processing example with email

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hi guys welcome to ms power automate in today's video we will learn how to build a new ai model train the new ai model create a solution which involves email processing via cloud flow and lastly how to update the ai model so firstly navigate to power automatic flow via web under this url once you successfully login go to ai builder and select models in this case click on the build a model and i would like to create a invoice processing ai model so let me rename this as enter invoice info ei model we will need a minimum of 5 documents with the same layout create the next step you will need to add a field so there is multiple option uh fill single page table or multiple page table in this case i would like to focus on the field the field name what i need is build 2 contact date and lastly total okay once done click on the next button add a new collection which is uploading your documents so i upload all my file invoices so all of these invoices do have the same layout a blog verify document it will take some time once done click close and you will need to click on the analyze button okay once done you will need to identify the field so in this case i can hover to it or i can left click and hold and drag then i assign to build two next is the contact since able to detect here but i want to expand it a bit more then i will select contact after that i select the date and the total once done i click on the next document and it auto populated already so just to double check make sure everything are correct okay so everything is okay click next and the next step what you will need to do is click on the train button okay once done click on go to models you will bring you to this page so it will take some time here but in this case let me try to click on the refresh button let's see if he successfully created okay still loading wait for a while all right so it's already trained then you can click this option after that do remember you will need to publish it if not you are not able to do the next step where the cloudflow unable to identify this ai model so let me show you what i mean by this right so if i go to solutions let me create a new invoice process so i click a new solution i call in as training invoice process solution the publisher oops sorry select the default publisher click create afterwards click on this and then click new and select cloudflow rename this as okay now i would like to do a email processing where we receive an email and this email contains an attachment and then we gonna use the ai builder to extract the information and then we send an email back to the user containing the details of the extracted value so in this case we would like to use when a new email arrives since i'm using office 365 outlook i will select this option and then i will need to configure i need to configure my on-premises gateway make sure i am connected to the correct account and then the folder i want to look for is inbox click on the advanced option i want to read the email that contains attachment only and i want to filter based on the subject of new invoice okay once done click on the new step and you search for predict we will call the ai builder so in this case as you can see here the ai model that i've created earlier is not displayed here so what we can do here is go back to the browser search for your model go in and click publish it will take some time to publish before that you may want to delete this then once done you you can add it again okay now we already published it so go back to your flow click new step search for predict again and select your ai model now over here is the document type right you need to specify attachment content type and then click on this predict again select attachment content afterwards over here you will actually surround it in the apply to it which means in in one email for each of the attachment we do something so i want to use the ai builder after that i want to send an email right i will add a new action called send and email v2 afterwards over here i want to send to the from i want to send back to the same user and the subject i want to name it as thanks for sending sending the invoice okay then i will need to indicate the total fee values okay so over here do take note i need to surround it inside this applied to each if i drag this below i will not be able to see the value of the ai model so do try to do this carefully and then over here i indicate we receive an invoice with below details okay and then i want to indicate the total display name total value and then contact display name select contact value and then the next one is sorry i think i missed out this one step which is the date display name date value and last one is the total so total display name and the total value all right so once done i click save and then you can test this out alright so you can use this flow checker to check make sure you don't have any error and then you can click on the test button i would like to test this manually click on save and test so the next thing what you need to do is you go to login to your outlook using the same email that you're using for this power automate account okay over here i would like to send a new mail message i send it to myself and then the subject i put as new invoice and then i want to attach the file so it can be a jpg file so it doesn't matter okay so if i click send it will take some time to load all right your flow is running and it will indicate the time here how many seconds all right flow has ran successfully so we go back to our outlook as you can see here i receive a new email at 10 41 and then we receive an invoice with the below details so let's double check this okay let me double check here open this new invoice 6742 much total and edison okay so we check all right all the values are correct so this is how we can use the ai builder via email processing okay now the last one that i want to show you is how are we going to re-upload a document to to update these ai models so over here what i need to do is i click on this i navigate to this page go to modules and select my model click this three dots icon and click unpublish okay once done click on edit model over here click next and i want to add more document this time i want to add a jpeg file update the document it will take some time click close and click analyze again okay once done double check the last document make sure all the values are selected accordingly since you're able to populate auto populate it click on the next button after that click train and you will prompt to override the last train version just continue and then go to the details page and you have to publish it again that's all how you can make use of the new ai model and also how to update the ai model so if you're keen to learn more do remember to subscribe our channel as we have constant updates and tutorial videos on microsoft power automatic desktop thank you
Info
Channel: MS Power Automate
Views: 64
Rating: 5 out of 5
Keywords: microsoft power automate desktop, microsoft power automate, power automate desktop, power automate, power automate desktop tutorial, power automate tutorial, power automate desktop for beginners, ai builder, invoice processing, email processing
Id: fF6JYIx2p_M
Channel Id: undefined
Length: 13min 51sec (831 seconds)
Published: Fri Oct 01 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.