AI-Process Health Card using n8n action
PDF4me AI-Process Health Card extracts structured data from health insurance cards using AI-powered machine learning through n8n automation workflows. Process health card PDFs or images via n8n triggers, binary data, base64 strings, or public URLs to automatically extract member details, plan information, coverage dates, prescription benefits, insurance provider data, member ID, group numbers, and health insurance information with high accuracy and intelligent field recognition. This solution is ideal for healthcare automation, insurance verification, patient registration, benefits verification, automated data entry, and health card processing workflows that require AI-powered extraction with structured output and seamless integration.
Setup
Add the PDF4me "AI-Process Health Card" node to your n8n workflow and configure the required parameters. For initial setup instructions, see our n8n Integration Guide.
Prerequisites:
- PDF4me API credentials
- n8n workflow access
Configuration:
- Add PDF4me node to workflow
- Select "AI-Process Health Card" action
- Configure input parameters (see below)

Parameters
Complete list of parameters for the AI-Process Health Card action. Configure these parameters to control health card processing.
Important: Parameters marked with an asterisk (***) are required and must be provided for the action to function correctly.
| Parameter | Type | Description | Example |
|---|---|---|---|
| Input Data Type*** | String | Health Card Input Format Selection • Choose the format of your health card data input • PDF4me supports multiple input types • Options: Binary Data, Base64 String, or URL | Binary Data |
| Input Binary Field*** | Binary | Binary Health Card File Input (Required if Binary Data) • Reference health card file (.pdf, .png, .jpg, .jpeg) from previous n8n node or file upload • PDF4me processes binary health card files with automatic format detection and AI-powered data extraction • Required when Input Data Type is "Binary Data" | {{ $binary.data }} |
| Base64 Health Card Content*** | String | Base64 Encoded Health Card Input (Required if Base64 String) • Provide health card content (.pdf, .png, .jpg, .jpeg) as base64 encoded string for secure transmission • PDF4me automatically decodes and processes the health card content using AI technology • Required when Input Data Type is "Base64 String" | JVBERi0xLjQKJ... |
| Health Card URL*** | String | Public Health Card URL Input (Required if URL) • Provide a public/open permission URL to the health card file (.pdf, .png, .jpg, .jpeg) to be processed • PDF4me downloads and processes the health card file from the provided URL using AI technology • Required when Input Data Type is "URL" | https://abc.com/healthcard.jpeg |
| Health Card Name*** | String | Health Card Input Filename • Specify the name of the input health card file with proper extension (.pdf, .png, .jpg, .jpeg) • PDF4me uses this for format detection and AI processing optimization | health_card.jpeg |
Output
Output Parameters
| Parameter | Type | Description | Example |
|---|---|---|---|
| success | Boolean | PDF4me AI extraction status indicator - Boolean flag indicating the success or failure of the AI-powered health card data extraction process. PDF4me returns true for successful extractions and false for any errors | true |
| message | String | PDF4me AI extraction status message - Descriptive message indicating the result of the AI-powered health card data extraction process. PDF4me provides clear status messages for successful extractions and detailed error information | Health card processed successfully using AI |
| processedData | Object | PDF4me extracted health card data - Object containing all extracted health card information including member details, plan information, and prescription benefits | {"healthData": {...}, "status": "Success", "errors": []} |
| healthData | Object | PDF4me extracted health information - Object containing detailed health insurance information extracted by AI technology | {"memberId": "123456789", "groupNumber": "GRP001", "planType": "PPO"} |
| memberId | String | PDF4me extracted member ID - The unique member identification number extracted from the health card using AI-powered text recognition | 123456789 |
| groupNumber | String | PDF4me extracted group number - The group or policy number associated with the health insurance plan extracted by AI technology | GRP001 |
| planType | String | PDF4me extracted plan type - The type of health insurance plan (PPO, HMO, EPO, etc.) extracted from the health card using AI technology | PPO |
| insuranceProvider | String | PDF4me extracted insurance provider - The name of the insurance company or provider extracted from the health card using AI-powered text recognition | Blue Cross Blue Shield |
| memberName | String | PDF4me extracted member name - The full name of the insured member extracted from the health card using AI technology | John Doe |
| dateOfBirthStr | String | PDF4me extracted date of birth - The member's date of birth extracted and formatted by AI technology | 1990-01-15 |
| effectiveDateStr | String | PDF4me extracted effective date - The date when the health insurance coverage becomes effective, extracted by AI-powered date recognition | 2024-01-01 |
| rxBin | String | PDF4me extracted prescription BIN - The Bank Identification Number for prescription drug coverage extracted from the health card using AI technology | 123456 |
| rxPcn | String | PDF4me extracted prescription PCN - The Processor Control Number for prescription drug coverage extracted by AI technology | ABC123 |
| rxGroup | String | PDF4me extracted prescription group - The group identifier for prescription drug coverage extracted from the health card using AI technology | RXGRP001 |
| copayInfo | Array | PDF4me extracted copay information - Array of copay details for different services extracted by AI technology | [{"service": "Primary Care", "copay": "$25"}, {"service": "Specialist", "copay": "$50"}] |
| confidence | Object | PDF4me AI confidence scores - Object containing confidence scores for specific extracted fields, provided by PDF4me's AI technology for quality assessment | {"memberId": 0.95, "memberName": 0.98} |
| status | String | PDF4me processing status - The overall status of the health card processing operation | Success |
| errors | Array | PDF4me processing errors - Array of any errors encountered during the health card processing operation | [] |
| jobId | String | PDF4me processing job identifier - Unique identifier for the AI processing job, used for tracking and debugging purposes | 00000000-0000-0000-0000-000000000000 |
| jobIdExt | String | PDF4me external job identifier - External job identifier for integration with third-party systems, if applicable | null |
| processingTimestamp | String | PDF4me processing timestamp - ISO 8601 timestamp indicating when the health card processing was completed | 2025-09-04T15:48:10.044Z |
N8N Action Response
The PDF4me AI-Process Health Card API returns a JSON response with the following structure:
{
"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",
"jobIdExt": "HEALTH-2024-001"
},
"processingTimestamp": "2024-01-15T10:30:45.123Z"
}
Use Cases
Enterprise Healthcare Automation
- Insurance Verification: Automate health insurance verification processes
- Patient Data Management: Streamline patient information extraction
- Claims Processing: Accelerate insurance claims processing workflows
AI-Powered Document Processing
- Multi-Format Support: Process PDF, PNG, JPG, and JPEG health card formats
- Multi-Language Processing: Extract data from health cards in various languages
- Intelligent Field Recognition: Automatically identify and extract relevant health insurance fields
Business Intelligence and Analytics
- Coverage Analysis: Analyze health insurance coverage patterns
- Compliance Monitoring: Ensure health card data meets regulatory requirements
- Performance Metrics: Track processing accuracy and efficiency