Business Card Reader Automation with AI Builder, Power Automate and Power Apps

AI Builder brings a huge change to creating smart self-service Applications. In this post we are going to see how to create a smart application that able to read the Business Card content and extract them, then import them using Power Automate to the Outlook contact list.

Creat Business Card Reader using Power Apps and AI Builder

First login in the environment that supports the AI Builder.

Now in the new  Canvas app, create a new Phone layout

In the new page, click on the Insert option, then click on the AI Builder –> Business Card Reader

In the next step, click on the Insert Lable, and for the label write the below formula, BusinessCardReader1.FullName

Copy and paste two times for the email and Phone number

BusinessCardReader1.Email

and

BusinessCardReader1.BusinessPhone

Next, Save the App and Navigate to the Power Automate (Microsoft Flow)

Create Flow in Power Automate

Now navigate to the same Environment in Power Automate with the same account, First, create a new Flow, and the trigger should be Power Apps that do not get any input from the Power Automate,

 

Next, click on the Next step and add the “Create contact(V2)”

we need to set up some part of this component.

First the Folder ID, for me is Contacts

Next, the Given Name which is mandatory, click on the box, choose to Ask in Power Apps, then another component fir the GivenName will show choose that one and remove the Ask in pOwer APPs, do the same for the Home Phone and Email address

Then save the Flow and back to the Power Apps

Connect the Power Apps and Power Automate

Back to Power Apps to connect the Apps with Power Automate. Click on the Insert, then click on the button, and change the name of the Button to the Add

Next, click on the Button, then Action, then Power Automate, and in the list at the right sides of the page choose the Flow you just created, then at the formula bar you should it.

The list of required parameters has been listed also there.

Next, add the parameters as below

GettheContact_powerapps.Run(BusinessCardReader1.FullName,BusinessCardReader1.BusinessPhone,BusinessCardReader1.Email)

As you can see all the elements we already add in the Flow to be added in the Contact have been requested here as input parameters.

Run the application using the Run button at the top right

you should see the details and also you should see the contacts have been added to the contact section in outlook

 

see the video from here

https://youtu.be/lcQoQOhw_uA 

 

Leila Etaati on LinkedinLeila Etaati on TwitterLeila Etaati on Youtube
Leila Etaati
Trainer, Consultant, Mentor
Leila is the first Microsoft AI MVP in New Zealand and Australia, She has Ph.D. in Information System from the University Of Auckland. She is the Co-director and data scientist in RADACAD Company with more than 100 clients in around the world. She is the co-organizer of Microsoft Business Intelligence and Power BI Use group (meetup) in Auckland with more than 1200 members, She is the co-organizer of three main conferences in Auckland: SQL Saturday Auckland (2015 till now) with more than 400 registrations, Difinity (2017 till now) with more than 200 registrations and Global AI Bootcamp 2018. She is a Data Scientist, BI Consultant, Trainer, and Speaker. She is a well-known International Speakers to many conferences such as Microsoft ignite, SQL pass, Data Platform Summit, SQL Saturday, Power BI world Tour and so forth in Europe, USA, Asia, Australia, and New Zealand. She has over ten years’ experience working with databases and software systems. She was involved in many large-scale projects for big-sized companies. She also AI and Data Platform Microsoft MVP. Leila is an active Technical Microsoft AI blogger for RADACAD.

Leave a Reply