Select to view content in your preferred language

Spatially-enabling Business Cards

813
0
08-10-2023 10:48 AM
SeanKMcGinnis
Esri Contributor
1 0 813

After the 2023 Esri User Conference, the Product Marketing Manager on our team came to me with an interesting Flow she built to extract information from the business cards she collected while in San Diego. It is really a great idea and can pull a lot of information from a physical document into a digital form really quickly.

But, I got thinking, is there a way spatially-enable that information so we can go beyond the spreadsheet – and it turns out there is…

Some Initial Considerations

There are a couple things required to make this happen:

Workflow

The workflow is straight-forward:

  • Take Photo of a Business Card and save the image in a Teams folder.
  • Extract the person’s information from the business card image.
  • Use the address information from the card to geocode and create a new record in a hosted feature layer.

In the end, the Power Automate flow is relatively straight-forward as well.

SeanKMcGinnis_0-1691688543773.png

Initiating the Flow

The first steps are manual, using my phone to take the business card photo and using the Microsoft Teams mobile application to put it in a folder.

SeanKMcGinnis_1-1691688674727.png

When the file is added to the Teams folder, this will initiate the Power Automate flow and we can use the details from the trigger to get the file content from the newly created image.

SeanKMcGinnis_2-1691688719698.png

Extracting the Business Card Information

Microsoft includes many out-of-box AI capabilities into Power Automate with AI Builder. This flow uses the ‘Extract information from business card’ action to detect key information from the business card and make it available as dynamic content that can be used in downstream actions. The ‘File Content’ dynamic data from the ‘Get file content’ action will be used to represent the business card.

SeanKMcGinnis_3-1691688798963.png

The ‘Extract information from business card’ action attempts to extract and identify a lot of information from the business card image, including:

  • Full name
  • First name
  • Last name
  • Full address
  • Street
  • City
  • State
  • Country/Region
  • PO Box
  • Title
  • Company Name
  • Department
  • Website
  • Email
  • Mobile phone
  • Fax
  • Alternate phone number
  • Postal code

Find Address Candidate

The elements we are interested in for this workflow are the location pieces to pass into the ‘Find address candidate’ action. We will reference the Street, State, City, and Postal Code information to get the potential matches.

SeanKMcGinnis_4-1691688873907.png

This will return an address candidate that we can then use to create the geometric representation of the feature as well as map the business card information to the appropriate fields.

SeanKMcGinnis_5-1691688908169.png

Lesson Learned

The ‘Extract information from business card’ action isn’t always able to extract all the information from the cards. For low contrast or detailed cards, it may miss some information and you should add some checking or conditional logic into the flow to handle such cases.

I can think of a number of ways this workflow can be extended and hope it helps to spark some ideas for you.