1. Home
  2. Guides
  3. AI Builder & AI
  4. How to scan business cards into Outlook contacts with Power Automate and AI Builder
AI Builder & AI

How to scan business cards into Outlook contacts with Power Automate and AI Builder

Take a photo of a business card in the Power Automate mobile app and a custom AI Builder prompt reads the name, phones, email, company, title, website and address, then creates a new Outlook contact in seconds.

  • By Nur Islam
  • 9:00 video
  • 8 steps
  • 4.4K views
Jump to a step (8)
Who this is for

Sales reps, recruiters and business owners come back from events with a stack of business cards. Typing each one into Outlook takes time, so the cards sit on the desk and the leads go cold.

The flow asks for a photo when you run it. The image goes to a custom prompt in AI Builder through the Run a prompt action. The prompt tells GPT exactly which fields to extract and to return them as JSON. The flow then maps those fields into the Office 365 Outlook Create contact (V2) action.

A custom prompt gives you more control than the prebuilt business card model: you choose the fields, the names and the output format. The same method works for package labels, invoices, ID cards or equipment tags, with the data sent to Excel instead of Outlook.

What you need

  • Microsoft 365 with Outlook and Power Automate
  • AI Builder access for custom prompts (AI Builder is a paid, premium capability)
  • The Power Automate mobile app on your phone, signed in with your work account
  • A few sample business card images to test with

Step by step

0 of 8 done
  1. 01

    Create a custom prompt in AI Builder

    From the Power Automate home page, go to AI hub > Prompts and choose Build your own prompt. The templates are worth a look if you want to learn how good prompts are structured.

    In the instructions, ask the model to extract these fields from the image and return them as JSON: full name, first name, last name, phone 1, phone 2, email, company name, job title, website, street, city, state, zip and country. Add a line saying that any field missing from the card must still be included with an empty string, because not every card has every detail.

    Delete the document placeholder in the prompt text, click Add content and choose Image or document so the prompt takes a file input.

  2. 02

    Set the output to JSON and test the prompt

    Leave the model on the default (GPT 4.1 in the video) or pick another. Under Model response, change the output from text to JSON so Power Automate can use each field directly.

    Upload a sample business card image and click Test. After a few seconds you get clean JSON; fields that are not on the card come back empty. Rename the prompt to Business Card Analyzer and click Save.

  3. 03

    Create the flow with a file input

    Create an Instant cloud flow named Business card to Outlook with the Manually trigger a flow trigger. Click Add an input and choose File. Each time the flow runs, it asks for a file, and on the mobile app you can take the photo with your camera.

  4. 04

    Add the Run a prompt action

    Add Run a prompt from the AI capabilities section and select Business Card Analyzer. For the image input, choose Enter the data from previous step, click See more under the trigger, and select the file content (contentBytes) of the uploaded file.

  5. 05

    Add Create contact and show the extra fields

    Add the Office 365 Outlook action Create contact (V2) and choose your Contacts folder.

    Open Advanced parameters and add the fields you need: surname, mobile phone, email addresses, company name, job title, business home page, and the address fields (street, city, state, postal code and country or region).

  6. 06

    Map the AI output to the contact fields

    For each field, choose Enter the data from previous step and pick the matching output from Run a prompt (use See more to find them all):

    • Given name: first name
    • Surname: last name
    • Home phone: phone 1
    • Mobile phone: phone 2
    • Email addresses: click Add new item and map email to the address only
    • Company name, Job title, Business home page: company name, job title, website
    • Street, City, State, Postal code, Country or region: street, city, state, zip, country

    You do not have to map every field. Keep the ones that matter for your contacts, then save the flow.

  7. 07

    Test the flow on the desktop

    Click Test, choose Manually, click Test and Continue. Import a business card image and click Run flow. When it finishes, open Outlook Contacts, sort by recently added, and compare the new contact with the card.

  8. 08

    Run the flow from your phone

    Install the Power Automate app and sign in with your Microsoft 365 account. Open the flow, tap the file input and choose the camera (or pick an image from your gallery). Take the photo, tap Use photo and then Run flow. A few seconds later the contact appears in Outlook.

Tips and common problems

  • Tell the prompt to return empty strings for missing fields. Otherwise cards without a website or second phone can produce inconsistent JSON.
  • Switch the prompt's model response to JSON. Plain text output cannot be mapped field by field in Power Automate.
  • Many Run a prompt outputs and trigger properties are hidden behind See more in the dynamic content list.
  • The same prompt approach works for invoices, ID cards, package labels and equipment tags. Change the fields in the prompt and send the output to Excel instead of Outlook.
Still stuck? Ask AI to help you fix itChatGPTClaudeGeminiCopilotPerplexityGrok

Quick version

The short AI Builder Extracts Data to Outlook Contact shows the finished result in under a minute: open the Power Automate mobile app, photograph a business card, and GPT extracts the details and creates the Outlook contact. The steps above show how to build it.

Questions

Can Power Automate scan a business card into Outlook contacts?

Yes. A flow with a file input runs from the Power Automate mobile app, sends the photo to an AI Builder prompt, and maps the extracted fields into the Office 365 Outlook Create contact (V2) action.

Do I need a premium licence for AI Builder?

Yes, in practice. Run a prompt is an AI Builder action, and AI Builder needs paid AI capacity (credits) in your environment. A standard Microsoft 365 Business licence on its own does not include it, so check your tenant before you build.

Why use a custom prompt instead of the prebuilt business card model?

A custom prompt lets you choose exactly which fields to extract, name them, and get predictable JSON output, which makes mapping them into Outlook consistent.

Can I send the scanned details to Excel instead?

Yes. Keep the same trigger and Run a prompt action and replace Create contact with an Excel Online (Business) Add a row into a table action.

Video chapters
Ask a question in the comments Last checked 26 Sep 2026. Screens change: if a step looks different, tell me in the comments.