AI-Health Card Parser in Power Automate
AI-Health Card Parser is a Power Automate action by PDF4me that reads a health insurance card with AI and returns member ID, group number, plan type, coverage dates, and prescription benefit data as structured JSON. Use it to automate patient registration, insurance verification, or pharmacy benefit checks without manual data entry.
What this action does
PDF4me AI-Health Card Parser reads a health insurance card (PDF, PNG, JPG, or JPEG) and returns memberId, groupNumber, planType, insuranceProvider, memberName, coverage dates, and prescription benefit fields inside a healthData object, along with per-field confidence scores. Optionally set Body/customFieldKeys to pull additional fields beyond the standard set.
How Do I Authenticate My Power Automate Flow?
Every PDF4me action in Power Automate requires a valid connection. Create or select one that holds your PDF4me API key so the flow can authenticate AI health card processing requests securely.
Important Facts You Should Not Miss

Map File Content and Body/Document/Name, then expand Advanced parameters for Body/customFieldKeys.
Parameters
Required: Health Card File Content and Health Card Name must always be provided. Body/customFieldKeys is an optional Advanced parameter.
| Parameter | Required | What it does | Example |
|---|---|---|---|
| Health Card File Content | Required | Binary content of the health card, mapped from a previous action (Get file content, SharePoint, OneDrive, email attachment). Supports .pdf, .png, .jpg, .jpeg. | body('Get_file_content') |
| Health Card Name | Required | Filename of the health card including its extension. Used for format detection and processing. | health_card_2024.jpeg |
| Body/customFieldKeys | Optional | Advanced parameter. Array of additional field names to extract beyond the standard health card data set. | ["customField1", "customField2"] |
Output Fields
| Field | Type | What it contains |
|---|---|---|
success | Boolean | true if the health card was processed successfully, false if extraction failed. |
message | String | Descriptive message describing the result of the processing run. |
processedData.healthData.memberId | String | The unique member identification number extracted from the health card. |
processedData.healthData.groupNumber | String | The group or policy number associated with the health insurance plan. |
processedData.healthData.planType | String | The type of health insurance plan, for example PPO, HMO, or EPO. |
processedData.healthData.insuranceProvider | String | The name of the insurance company or provider on the card. |
processedData.healthData.memberName | String | The full name of the insured member. |
processedData.healthData.dateOfBirthStr | String | The member date of birth, formatted as YYYY-MM-DD. |
processedData.healthData.effectiveDateStr | String | The date the health insurance coverage becomes effective, formatted as YYYY-MM-DD. |
processedData.healthData.rxBin | String | The Bank Identification Number for prescription drug coverage. |
processedData.healthData.rxPcn | String | The Processor Control Number for prescription drug coverage. |
processedData.healthData.rxGroup | String | The group identifier for prescription drug coverage. |
processedData.healthData.copayInfo | Array | List of copay details by service, for example Primary Care or Specialist. |
processedData.healthData.confidence | Object | Per-field confidence scores on a 0-1 scale for key extracted values. |
processedData.status | String | Overall status of the health card processing operation. |
processedData.errors | Array | Any errors encountered while processing the health card. Empty when none. |
processedData.jobId | String | Unique identifier for the AI processing job, used for tracking and debugging. |
processingTimestamp | String | ISO 8601 timestamp indicating when processing completed. |
- Sample JSON Response
- Flow Integration
{
"success": true,
"message": "Health card processed successfully using AI",
"processedData": {
"healthData": {
"memberId": "M123456789",
"groupNumber": "GRP001234",
"planType": "PPO",
"insuranceProvider": "Blue Cross Blue Shield",
"memberName": "John Michael Smith",
"dateOfBirthStr": "1985-03-15",
"effectiveDateStr": "2024-01-01",
"rxBin": "123456",
"rxPcn": "ABC123",
"rxGroup": "RXGRP001",
"copayInfo": [
{ "service": "Primary Care", "copay": "$25" },
{ "service": "Specialist", "copay": "$50" },
{ "service": "Emergency Room", "copay": "$200" }
],
"confidence": {
"memberId": 0.95,
"memberName": 0.98,
"insuranceProvider": 0.92
}
},
"status": "Success",
"errors": [],
"jobId": "11111111-2222-3333-4444-555555555555"
},
"processingTimestamp": "2024-01-15T10:30:45.123Z"
}
Route the extracted healthData object into Microsoft 365 and healthcare systems:
- Patient records: Write memberId, memberName, and planType into a SharePoint list or patient management system.
- Insurance verification: Match memberId and groupNumber against an insurance provider master list.
- Pharmacy processing: Feed rxBin, rxPcn, and rxGroup into a pharmacy benefit check.
- Billing: Attach insuranceProvider and copayInfo to a medical billing record.
How Do I Set Up AI-Health Card Parser in Power Automate?
- Add PDF4me → AI-Health Card Parser to your Power Automate flow.
- Map Health Card File Content from a previous action (SharePoint, OneDrive, Dropbox, or an email attachment).
- Set Health Card Name with the file's extension (.pdf, .png, .jpg, or .jpeg).
- Optionally expand Advanced parameters and set Body/customFieldKeys for any fields beyond the standard set.
- Run the flow. The parsed result returns as a healthData object nested inside processedData, with member, plan, coverage, and prescription fields plus confidence scores.
Typical Setups
Workflow ExamplesCommon Power Automate flow patterns using AI-Health Card Parser.
- A flow triggers when a patient uploads a health card image through a portal or email.
- AI-Health Card Parser extracts memberId, memberName, dateOfBirthStr, and insuranceProvider.
- The extracted fields are written to a SharePoint list or patient management system.
- A Condition checks the confidence object and routes low-confidence rows to manual review.
- A flow triggers when a health card is received via email or SharePoint upload.
- AI-Health Card Parser extracts groupNumber, planType, and effectiveDateStr.
- A verification record is created and linked to the patient's insurance profile.
- A patient uploads a health card to a pharmacy intake flow.
- AI-Health Card Parser extracts rxBin, rxPcn, and rxGroup.
- The prescription identifiers feed a pharmacy benefit verification step, and copayInfo drives the patient copay estimate.
Practical Tips
Cheat Sheet
| Field | Value |
|---|---|
| Action | AI-Health Card Parser |
| Required fields | Health Card File Content, Health Card Name |
| Optional advanced field | Body/customFieldKeys |
| Supported file types | .pdf, .png, .jpg, .jpeg |
| Output root | processedData.healthData |
| Key output fields | memberId, groupNumber, planType, insuranceProvider, memberName, dateOfBirthStr, effectiveDateStr, rxBin, rxPcn, rxGroup, copayInfo, confidence |
Common Questions
Industry Use Cases & Applications
- Healthcare Providers
- Medical Billing & Revenue Cycle
- Pharmacy & Prescription Services
- Telemedicine & Virtual Care
- Patient Registration: Automate patient registration with health card data extraction
- Insurance Verification: Verify patient insurance coverage automatically
- Benefits Verification: Check patient benefits and coverage eligibility
- Appointment Scheduling: Link insurance information to appointment records
- Claims Processing: Extract insurance information for medical claims
- Prior Authorization: Use extracted insurance data for prior authorization requests
- Eligibility Verification: Verify patient eligibility using extracted member IDs
- Billing Integration: Feed insurance data into billing and revenue cycle systems
- Prescription Processing: Extract prescription benefits for pharmacy operations
- Copay Calculation: Determine prescription copays using extracted copay information
- Insurance Submission: Submit prescription claims using extracted insurance data
- Patient Profiles: Build patient pharmacy profiles with extracted health card data
- Virtual Registration: Enable remote patient registration with health card upload
- Remote Insurance Verification: Verify insurance for telemedicine appointments
- Digital Health Records: Integrate extracted health card data into electronic health records
- Mobile Health Apps: Process health cards uploaded through mobile applications