Using the Extract information from identity documents action
AI Builder functionality can be used in a Power Automate flow.
It is available as actions that can be added to the flow.
The following actions for AI Builder are available
Today we will build a flow that extracts information from a image of a drivers licence.
The example drivers licence image is taken from an article on Business Insider that has example images of drivers licences for each US State.
Step 1: Create the flow and set up the trigger action
- Create a new Instant Cloud Flow
- Name the flow – AI identity reader or a name that you prefer
- Add an input of type File
- Name the file input Licence file (1)
Step 2: Add the AI builder action to the flow
- Add a new action to the flow, below the first trigger action – Search for AI builder (2)
- Find the action called Extract information from identity documents (3) in the list and add it to the flow.
- Select the Licence file (4) (or the name you gave your trigger input) from Dynamic Content
⠀
Step 3: Save and Test run your flow
- Add a compose action(5) to view the First name(6) for the drivers licence. This is just to view the first name when the flow has run.
- Click Save (7) to save the flow
- Click Test (8) to test the flow
- Select Manually (9)
⠀
Step 4: Select the file and view the results
- Select one of the licences that you saved by clicking the Import button (10),(11). Make sure it is not webP. It needs to be .png or .jpg
- Click Run flow (12)
- View all the info in the output of the Extract information from identity documents(13)
- View the First name in the Compose action (14)
⠀
The flow is now done. You have created an instant cloud flow that will take a file that is a photo of a drivers licence as input parameter and with the help of a process the text on the drivers licence and output the First name in a Compose action.
What you could do more is to add a table an create an action that stores all the information from the drivers licence to that table.
Das war das!