Skip to main content
Version: 1.9.10-public.beta.4
The Document Check Agent is a multi-agent system designed to guarantee the authenticity of identity documents, ensuring they are valid, have not been tampered with, and meet security standards. This agent can be used when you need to validate the authenticity of a document and extract information accurately.
This agent has the capability to extract information from 1,400 document types from 255 different countries.

User experience

We ask the user to provide photographs of the identity document from both sides and perform some validations.

✅ Checklist to start without blockers

  • The user must be able to send or capture photos from the chat (camera permissions must be enabled on the device if applicable).
  • Define the country (or “All”) and the type of validation you need before configuring.
  • Recommended: define the handling flow if you enable Human in the loop (who reviews, response times, and what happens if there is no response).

Document Detection and Classification

We automatically identify the type of document presented, such as national ID, passport, or driver’s license.

Element Extraction and Verification (OCR)

Using OCR technology, we extract and validate text, holder photo, and other key elements, ensuring the correct reading of data such as name, document number, and nationality.

Authenticity and Integrity Verification

We check that the document has not been altered, verifying security elements such as holograms, number format, and holder photo authenticity. We also cross-reference information from the MRZ zone, visible OCR, and barcode to ensure the coherence and consistency of all data.

Physical Tampering Detection

We detect any physical manipulation in the document, such as photo substitution or modification of printed data, ensuring the document is genuine.

Government entity query by country

A query is made to the government entity databases of each country:
  • 🇪🇨 Ecuador: Civil Registry query
  • 🇨🇱 Chile: Civil Registry query
  • 🇨🇴 Colombia: ANI query (National Registry database)
  • 🇲🇽 México: INE and Renapo query
  • 🇵🇪 Perú: Reniec query

Configuration

Country
string
Variable: countryAgent. Country of the document to be validated.Available values: Ecuador, Colombia, Chile, Perú, México, All
Validate document quality
string
default:"medium"
Variable: validateQACheck. Validation level for document quality.Available values: low, medium, high
Disable image request
boolean
default:"false"
Variable: disableImagesDocument. Enable the document image request.
This parameter only applies to Ecuador.
Available values: false, true
Max. Document check attempts
number
default:"3"
Variable: maxBiometricAttempts. Maximum number of attempts.Available values: 1-6
Notification email for exceeded retries
string
Variable: customerServiceEmail. Email to be notified when the maximum number of attempts is exceeded.
Verify document expiration date
string
default:"Disabled"
Variable: dateExpiracyCheck. Verifies the expiration date of the document.Available values: Disabled, Enabled
Enable government validation
boolean
default:"true"
Variable: flagGovValidation. Enables government validation; when false, the respective civil registry is not queried.Available values: false, true
Enable Human in the loop
boolean
default:"false"
Variable: enableHumanInLoop. Indicates whether the review process with a human agent is activated.Available values: false, true
Max. agent attempts
string
default:"Unlimited"
Variable: retriesAgent. Maximum number of agent attempts before blocking the user.Available values: Unlimited, 1, 2, 3
User block duration
string
default:"1 day"
Variable: blockingInHours. Block duration after exceeding attempts.Available values: 1 day, 1 week, 1 month

Integration

1

Select the skill

Go to the Skill within the company where you need to install this Agent. Click the floating button with the skill name and the folder icon to open the Skills & Tools panel. Select “Open Marketplace” and there type the Agent name and download it.
2

Initial configuration

The first thing to configure is the Version found under “Advanced settings”.None of the inputs are mandatory fields because they have default values assigned. If you need to change them, you can enter the value in the corresponding field.You can also edit the texts if the client needs to “customize” the tone of the conversation.
3

Configure Outputs

This Agent has 4 error outputs and 1 success output. Each can be directed to:
  • A text box with a custom message
  • The PMA (Multiagent Panel) if the client has this module
4

Run tests

With the configuration you just completed, you can proceed to run tests using a skill or another agent as a precursor.

Frequently asked questions

No, the “Document Check” process is only a “stage” of the biometric process, therefore it is not considered facial biometrics.
Only the photo of the identity document is required.
Yes, you can disable government validation in the input Enable government validation (false). This option is enabled by default.