AI-Marriage Certificate Parser in Power Automate
PDF4me AI-Marriage Certificate Parser is a Power Automate action that reads a marriage certificate PDF or image and returns over 30 structured fields covering spouse details, officiant information, and certificate identifiers. Use it to digitize vital records, verify identity documents, or screen certificates for fraud without manual data entry.
What this action does
PDF4me AI-Marriage Certificate Parser extracts structured data from marriage certificate PDFs and images directly inside your Power Automate flow. Feed it binary content from SharePoint, OneDrive, email attachments, or Dropbox and receive back 30+ structured fields covering certificate identifiers, both spouses' personal data, officiant and witness details, official seal and signature presence, and optional AI-powered fraud and authenticity detection. The structured output slots directly into SharePoint lists, Dynamics 365 records, Excel workbooks, SQL databases, or any downstream Power Automate step without manual data entry.
How Do I Authenticate My Power Automate Flow?
Every PDF4me action in Power Automate requires a valid API key. Create one in the PDF4me developer dashboard and enter it when the PDF4me connector prompts for credentials on first use.
Important Facts You Should Not Miss
certificate.pdf or scan.png. The action uses this string for format detection and AI model selection. Omitting the extension or passing a generic placeholder name reduces extraction accuracy.verifyAuthenticity to Yes activates the fraud and tamper detection pipeline, populating authenticityIssues, fraudIndicators, and authenticityRecommendation in the response. For high-volume batch flows where throughput matters and authenticity is verified downstream, leave it as No.warnings array and sets fallbackUsed to true. Add a condition step after this action to route certificates with non-empty warnings to a manual review approval flow before committing extracted data to your records system.Parameters
Required fields: Marriage Certificate File Content and Marriage Certificate Name are mandatory for every request. Body/verifyAuthenticity and Body/customFieldKeys are optional; omit them entirely when their functionality is not needed.

Full Parameters view of the AI-Marriage Certificate Parser action in Power Automate.
| Parameter | Required | What it does | Example |
|---|---|---|---|
| Marriage Certificate File Content | Required | Binary data of the marriage certificate. Map from the output of a preceding step such as Get file content (SharePoint), Get file content (OneDrive), or an email attachment retrieval. Accepts PDF, PNG, JPG, and JPEG formats. | body('Get_file_content') |
| Marriage Certificate Name | Required | Filename of the certificate including its extension. Used for format detection and AI model selection. Must include the correct extension matching the actual file type: .pdf, .png, .jpg, or .jpeg. | marriage_certificate_2024.pdf |
| Body/verifyAuthenticity | Optional | Enable AI-powered authenticity and fraud detection. When Yes, the response includes authenticityIssues, fraudIndicators, and authenticityRecommendation. Adds processing time. Omit or set to No when speed is the priority. | No |
| Body/customFieldKeys | Optional | Optional array of custom field keys to extract beyond the standard certificate fields. Each string names a custom field the AI will attempt to locate and return inside the extractedFields object of the response. | ["registrationRegion", "notaryId"] |
Authenticity Verification Options
Controls whether the action runs AI-powered fraud and tamper detection on the certificate.
NoDefault: skip authenticity checksYesEnable fraud and tamper detectionauthenticityIssues (specific issues found), fraudIndicators (detected fraud signals), and authenticityRecommendation (overall assessment). Use for identity verification, legal document processing, immigration, and insurance workflows where certificate legitimacy must be confirmed.Output Fields
| Field | Type | What it contains |
|---|---|---|
certificateNumber | String | Unique certificate or registration number extracted from the document. |
dateOfMarriage | String | Date the marriage ceremony took place. Returned in ISO 8601 format (YYYY-MM-DD). |
placeOfMarriage | String | Location or venue where the marriage ceremony was conducted. |
dateIssued | String | Date the certificate was issued by the authority. Returned in ISO 8601 format (YYYY-MM-DD). |
issuingAuthority | String | Name of the government body or agency that issued the certificate. |
spouse1FullName | String | Full legal name of the first spouse as it appears on the certificate. |
spouse1Age | Number | Age of the first spouse at the time of marriage. |
spouse1BirthDate | String | Birth date of the first spouse in ISO 8601 format (YYYY-MM-DD). |
spouse1Birthplace | String | Birthplace of the first spouse as extracted from the certificate. |
spouse1ResidenceBeforeMarriage | String | Residential address of the first spouse prior to the marriage. |
spouse2FullName | String | Full legal name of the second spouse as it appears on the certificate. |
spouse2Age | Number | Age of the second spouse at the time of marriage. |
spouse2BirthDate | String | Birth date of the second spouse in ISO 8601 format (YYYY-MM-DD). |
spouse2Birthplace | String | Birthplace of the second spouse as extracted from the certificate. |
spouse2ResidenceBeforeMarriage | String | Residential address of the second spouse prior to the marriage. |
officiantName | String | Full name of the officiant who performed the ceremony. |
officiantTitle | String | Title or role of the officiant, for example Minister, Judge, or Registrar. |
officiantLicenseNumber | String | License or registration number of the officiant, where present on the certificate. |
witnesses | String | Names and details of witnesses present at the ceremony. |
officialSeal | String | Description or indicator of the official seal or stamp on the certificate. |
signaturesPresent | String | Indicator of which signatures are present: spouses, officiant, and witnesses. |
authenticityIssues | Array | Issues found during authenticity verification. Populated only when verifyAuthenticity is Yes. |
fraudIndicators | Array | Potential fraud or tampering indicators detected by the AI model. Populated only when verifyAuthenticity is Yes. |
authenticityRecommendation | String | Overall recommendation on certificate authenticity from the AI analysis. |
extractedFields | Object | Key-value pairs of any custom fields requested via Body/customFieldKeys. |
warnings | Array | Warning messages for fields that had low confidence or could not be parsed reliably. |
fallbackUsed | Boolean | True when a secondary extraction method was used due to limitations of the primary method. |
rawOcrText | String | Full raw OCR text extracted from the document before structured field parsing. |
jobId | String | Unique identifier for the AI processing job. Use for support and debugging. |
jobIdExt | String | External job identifier for linking to third-party tracking or case management systems. |
success | Boolean | True when the extraction completed successfully; false when a processing error occurred. |
message | String | Human-readable summary of the extraction result or description of any error encountered. |
How Do I Set Up AI-Marriage Certificate Parser in Power Automate?
- Log in to Power Automate at make.powerautomate.com and create a new flow or open an existing one.
- Choose a trigger that delivers the certificate file: SharePoint (When a file is created), Outlook (When a new email arrives) for attachment-based intake, or OneDrive (When a file is created) for folder-based intake.
- Add a Get file content step (SharePoint, OneDrive, or Dropbox) to retrieve the binary content of the certificate file, or use Get attachment content for email-based flows.
- Click New step, search for PDF4me, and select the AI-Marriage Certificate Parser action. Enter your PDF4me API key when the connector prompts for credentials.
- Set Marriage Certificate File Content to the binary output of the previous Get file content step using the dynamic content picker.
- Set Marriage Certificate Name to the certificate filename including its extension, for example
certificate.pdf, or use a dynamic expression from the trigger to pull the filename automatically. - Set Body/verifyAuthenticity to Yes if your workflow requires fraud or tamper detection. Leave it as No for higher throughput batch flows where authenticity is not a primary concern.
- Optionally populate Body/customFieldKeys with an array of custom field names if you need to extract fields beyond the standard certificate data.
- Add downstream steps that consume extracted output fields using dynamic content: certificateNumber, spouse1FullName, dateOfMarriage, authenticityRecommendation, and others as needed.
- Add a Condition step that checks whether the warnings array is non-empty and routes those certificates to a manual review approval flow before writing to your records system.
- Test the flow with a sample marriage certificate and verify the extracted fields in the flow run history.
Workflow Examples
Workflow ExamplesCommon Power Automate flow patterns using AI-Marriage Certificate Parser.
- A SharePoint trigger fires when a new certificate is added to the Incoming Certificates document library.
- A Get file content step retrieves the certificate binary from SharePoint.
- AI-Marriage Certificate Parser extracts all fields with verifyAuthenticity set to Yes.
- A Condition step checks whether the warnings array is empty. Non-empty warnings trigger an approval request routed to the records supervisor.
- A Create item step adds a new row to the Vital Records SharePoint list with certificateNumber, spouse1FullName, spouse2FullName, dateOfMarriage, placeOfMarriage, issuingAuthority, and authenticityRecommendation mapped from the output.
- A Move file step archives the original certificate to the Processed Certificates library and tags it with the extracted certificateNumber as metadata.
- A Send an email step notifies the records management team with an extraction summary including the jobId for audit reference.
- An Outlook trigger fires when an email with a marriage certificate attachment arrives in the verification mailbox.
- A Get attachment content step retrieves the certificate binary from the email.
- AI-Marriage Certificate Parser extracts spouse names, birth dates, and certificate details with verifyAuthenticity set to Yes.
- An HTTP action queries the identity management system with spouse1FullName and spouse1BirthDate to check for a matching identity record.
- A Condition step branches on authenticityRecommendation. Certificates with issues are routed to a security team approval request via the Approvals connector.
- A Create item step logs the extracted data and identity match result in a SharePoint verification log list.
- A Send an email step returns the verification outcome to the requester.
- A manual or scheduled trigger processes a batch of certificates from a SharePoint queue folder.
- An Apply to each loop iterates over each certificate file in the folder.
- AI-Marriage Certificate Parser processes each certificate with verifyAuthenticity set to Yes.
- A Condition step evaluates the length of the fraudIndicators array. High indicator counts set a risk tier variable to High.
- For High risk tier, a Send an email step alerts the fraud team immediately with the extracted certificateNumber and fraudIndicators list.
- A Create item step adds an investigation record to the Fraud Cases SharePoint list with all extracted fields and the calculated risk tier.
- An HTTP action posts the fraud screening result to a Power BI streaming dataset for real-time monitoring dashboard updates.
- A SharePoint trigger fires when a certificate is uploaded to the Legal Documents library.
- A Get file content step retrieves the certificate binary.
- AI-Marriage Certificate Parser extracts all fields with verifyAuthenticity set to Yes.
- A Condition step validates that issuingAuthority, officiantName, and officiantLicenseNumber are all non-empty. Missing fields trigger a routing action to a legal clerk for manual review.
- A Condition step checks that dateOfMarriage falls within jurisdiction-specific validity windows stored in a SharePoint configuration list.
- A Create item step adds the certificate to the legal document management SharePoint list with all extracted fields.
- An Append to array variable step adds a timestamped audit log entry including the jobId and processing result for the compliance audit trail.
- A Move file step places the original certificate in the secure archive library with the extracted certificateNumber and dateIssued as metadata tags.