Extract Medical Bill data from Images |& PDF to Excel Copilot Studio

Copilot Studio: Extract Medical Bill (Image & PDF) Data to Excel

Home > Copilot Studio > Copilot Studio: Extract Medical Bill (Image & PDF) Data to Excel

In today’s world, many businesses still deal with manual data entry from documents like medical bills, invoices, and receipts. This process is time-consuming, error-prone, and inefficient.

In this blog, I will walk you through a real-world Copilot Studio project where we build an AI-powered agent that can extract data from medical bill PDFs and convert it into an Excel file automatically.

This solution is built using Copilot Studio and Power Automate, and it demonstrates how AI can simplify document processing.

Project Overview – H-SMART Agent

Home > Copilot Studio > Copilot Studio: Extract Medical Bill (Image & PDF) Data to Excel

H-SMART Agent (Hospital Smart Bill Reader) is an intelligent Copilot agent designed to read hospital bill PDFs uploaded by users.

 

What does this agent do?

  • Accepts medical bill files (PDF format)

  • Extracts important bill information

  • Converts extracted data into structured JSON

  • Generates a downloadable Excel (.xlsx) file

  • Shares the Excel download link with the user

This agent is especially useful for healthcare automation, invoice processing, and AI document extraction use cases.

Data Extracted from Medical Bills

The agent intelligently extracts the following details from the uploaded bill:

  • Patient information

  • Hospital details

  • Bill date

  • Itemized charges

  • Taxes

  • Total payable amount

All extracted values are normalized and structured to ensure accuracy and consistency.

 

How the Copilot Studio Agent Works

The agent is designed with a topic-based conversation flow.

Agent Rules & Behavior

  • The agent responds when the user says:
    “I want to submit my medical bill”

  • Only PDF files are allowed

  • The tone of the agent is neutral and professional

  • The agent’s main goal is to extract PDF data and generate Excel output

The user is prompted to upload their medical bill, which is stored as a file variable with metadata enabled.

Download Sample Bills for Practice

Complete Project video explanation

Subscribe
Notify of
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

SUBSCRIBE to get amazing offers on Last Minute Coders courses. Get premium content shared to your INBOX for FREE.

This field is required.
Scroll to Top
0
Would love your thoughts, please comment.x
()
x