AI Builder in Power Automate: Top 10 Tricks to Try

For this post and video, I put together ten cool things you can do with AI Builder in Power Automate. I built demos for almost all of them.

🧾 1. Extract data from invoices

Microsoft already knows what an invoice looks like. Because of that, there is a whole prebuilt action called Process invoices. Your trigger can be anything. For example, a file landing in a SharePoint library or an email attachment arriving in your inbox.

In my demo, I did this:

  1. When a file is created in my AP Invoices folder
  2. Get file content
  3. Process invoices, pointing at that file content

With that action, you’ll get over 200 pieces of data. Amount due, vendor address, customer info, tax, line items, all of it.

Here is the part people miss. Almost every field also has a confidence value. My invoice total came back at 0.535, so roughly 54% confident. That is a number you can act on.

Power Automate workflow showing SharePoint file creation, file content retrieval, and invoice processing steps.

💡 Fun trick: I had Copilot generate a fake bicycle parts invoice to test with. It works great for demos.

📇 2. Capture business cards

This one is a prebuilt model too. It pulls name, title, company, phone, and email off a photo of a card.

Go to the AI Hub, choose the business card model, then click Use in a flow. It hands you a ready made template. Alternatively, use it in a Power App so you can snap cards with your phone at a conference.

Power Automate AI models screen showing business card reader extraction

Then write the results into a SharePoint list called Contacts, send in an email or add to a database. That is your whole conference follow up problem solved. In this example, it’s a manually triggered flow where the image is an input control.

Power Automate AI models screen showing business card reader extraction

😀 3. Score sentiment

Sentiment analysis scores text as positive, negative, neutral, or mixed. Think surveys, help desk tickets, reviews, and form replies.

I built mine to trigger when I flag an email. I did not want it analyzing every single message that arrives.

You get an overall sentiment, and you can also get a score per sentence. Next, do something useful with it. Post a Teams message on negatives, or add a Sentiment column to your survey results list.

In my example, I converted the email body to text with the “HTML to text” action. Since the analyze sentiment action needs to be provided less than 5000 characters, I did a compose action to get a substring of the email’s text. Then, you provide that to the Analyze sentiment action, and the sentiment is an output.

Published flow showing flagged email, HTML-to-text, compose, and sentiment analysis steps
A published Power Automate flow converts flagged email HTML to text, limits it to 4,999 characters, and analyzes sentiment.

🗂️ 4. Classify into categories

The Classify into standard categories action uses a fixed list: issues, compliment, customer service, documentation, price and billing, and staff.

If those do not fit your business, build custom categories in the AI Hub instead.

In my demo, that T-Mobile advertisement email came back as customer service. That actually makes sense. After the classification, you could add a Switch action and route each category down its own path.

I also added Generate key phrases to the same flow. It pulled out things like “five year price guarantee” automatically.

Power Automate workflow showing sentiment analysis and category classification steps

📸 5. Detect objects and describe images

There are three image actions worth knowing: detect objects in images, describe images, and recognize text in an image.

Describe images works out of the box. Detect objects requires a custom model, which means uploading and tagging your own product photos first. This example is a manually triggered flow where the image is uploaded as an input parameter.

I tested the Generate description of an image action with a picture of a Bluetooth speaker. It confidently told me it was a black coffee mug. Live demos keep you humble.

Power Automate flow showing image description generation and email steps

🧩 6. Start with the templates

This is my biggest recommendation. Search the templates for AI Builder before you start building actions from scratch.

I picked a random one that analyzes tech articles from an RSS feed and posts results to Teams. It already had a feed built in. All I had to supply was my team and channel.

It ran and posted key phrases, organizations, and summaries for ten articles. Meanwhile, I learned more from reading that template than from an hour of trial and error.

Power Automate Templates page showing AI Builder search results

✅ 7. Combine extraction with approvals

Here is where this gets real. Check the confidence level in a condition.

If confidence is high, let the flow proceed automatically. However, if it is low, send it to a human through an approval. That way, a person reviews only the questionable ones. That is AI analysis and human judgment working together.

📄 8. Build a custom document model

For custom documents (beyond just invoices), go to the AI Hub and upload around 25 to 30 sample files. Then map every field on each one. It takes time, but afterward it recognizes your specific documents every time.

I used this for a client with veterinary lab results. Those documents arrived from many different vets in many different layouts, and it still worked when I spent a lot of time uploading many different example files and training AI.

Document extraction interface showing delivery order details and extracted fields

🔍 9. Recognize text with OCR

The Recognize text in an image action reads handwriting, labels, signage, and old scans. Despite the word “image” in the name, it also handles PDFs. It returns the text plus position data. As a result, you can slice regions or feed the output straight into a classification step.

Microsoft Power Automate workflow showing file creation, file content retrieval, and text recognition steps.

💬 10. Run a prompt

The Run a prompt action gives you AI Classify, AI Extract, AI Reply, AI Sentiment, and AI Summarize. You can also author your own prompt and test it in Prompt Builder.

Here is my favorite build from the whole episode. A drop library where files sort themselves:

  1. When a file is created in a library that I named “File Drop Library”
  2. Get file content
  3. Recognize text in an image to pull the full text out of the PDF
  4. Run a prompt with AI Summarize on that text
  5. Classify into standard categories
  6. Switch on the category, then Move file to the right SharePoint site, which could be different for each category.

People drop files in one place. Then the files disappear and land where they belong. Send the person an email so they know where it went. This action Recognize text in image or document works on images and PDFs.

Power Automate workflow showing file processing, AI summarization, classification, and file movement steps

⚠️ The tip that saves the most troubleshooting

Read the action’s input label carefully. If it says invoice file or image, you can pass file content. If it says text, you cannot.

Text inputs cap out at 5,000 characters. Therefore, I add two steps in front of them every time:

  1. HTML to text on the email body or document
  2. Compose with a substring() grabbing the first 4,999 characters

That one pattern fixes most of the errors you will hit while using AI Builder in Power Automate.

💰 Watch your credits

AI Builder in Power Automate consumes AI Builder credits. Check your usage in the Power Platform Admin Center under Licensing, then Capacity add-ons.

Yes, there is a cost. But compare it against the hours your team currently spends typing invoice numbers and filling in metadata by hand.

🚀 Where to start with AI Builder in Power Automate

Start with a prebuilt model and a real document you already handle. Turn on the approval setting. Only go custom once the prebuilt path has proven its value. Then test the heck out of it.

Here is the associated demo video:

🎓 Ready to build this yourself?

Power Hour — Live every Wednesday, 11am Central. You vote on the topic. See what’s next on our iwmentor.com schedule.

IW Mentor courses — Power Automate, Power Apps, SharePoint, Copilot Studio, and more. Built for business users. No developer required.

Ultimate plan — All courses, plus live Q&A with me every three weeks. Bring your broken flow. We’ll fix it together.

Which of these ten tricks are you trying first? Tell me in the comments.

What is AI Builder in Power Automate?

It’s a set of prebuilt and custom AI models you add to a cloud flow as actions. They read documents, score sentiment, classify text, and analyze images.

Do I need a separate license for AI Builder?

Yes, AI Builder runs on credits. Check your balance in the Power Platform Admin Center under Licensing, then Capacity add-ons.

Why does my AI Builder action keep failing?

Most likely you passed file content into an input labeled “text.” Those inputs cap at 5,000 characters, so convert to text first and grab a substring.

One comment

  • This is a great collection of practical AI Builder tricks, especially because the examples go beyond simply showing what each action does. The confidence-score workflow is one of the most useful ideas here—automating high-confidence results while sending uncertain cases for human approval is a much more realistic approach to AI automation. I also like the emphasis on starting with templates and gradually moving toward custom models when needed. The examples around invoices, business cards, sentiment, and document processing make it much easier to see how AI Builder can solve everyday business workflow problems.

Leave a Reply