Skip to main content
Version: always use the latest available version
This agent lets you run a complete identity verification within WhatsApp Flows, combining photo liveness check, document validation, and facial comparison.
This agent blocks the use of documents from the gallery or files, preventing fraud.

Prerequisites

✅ Checklist to start without blockers

  • You must have a verified WhatsApp account.
  • You must have a Terms and Conditions PDF (public URL) to configure in the agent. This is mandatory.
  • The user must be able to take photos from the chat (camera permissions must be enabled on the device).
  • Recommended: define the handling flow if you enable Human in the loop (who reviews, response times, and what happens if there is no response).

How does it work?

In less than 1 minute, the user completes the following steps:
1

Take a photo of their face

Using the front camera, the user takes a photo of their face. Access to the photo gallery or documents is blocked.
2

Capture photos of their identity document

Front and back photos of the identity document are requested to validate validity and authenticity. Access to the photo gallery or documents is blocked.
3

Automatic facial comparison

The system applies the 1:1 technique, comparing the photo with the image on the document (or with the official government source if enabled).
Threshold configuration, expiration, and error handling depend on each stage of the flow.

How is the agent composed?

The Biometrics Agent (Flows) is made up of three specialized agents:
  1. Liveness check agent with WhatsApp Flows - Validates the person’s liveness via photo: confirms there is a single face, detects recaptures, and evaluates fraud attempt signals.
  2. Document verification agent - Verifies the authenticity and validity of the document, detects recaptures, and evaluates fraud attempt signals.
  3. Facial comparison agent - 1:1 facial comparison between the photo and the face from the document/government entity. As a result it delivers a match percentage and binary status (approved/rejected) according to the configured threshold.
If you only need to implement part of the process (for example, document only), see the configuration in Agents by stage.

Connection from Marketplace

1

Access the platform

Go to apps.jelou.ai. On the home screen you will see Brain Studio and Connect. In Brain Studio, select Marketplace.
2

Find the agent in Marketplace

In Marketplace you will see three tabs: Catalog, Installed, and Developers. Click on Developers and use the search bar to find Biometrics flows agent. Then click the download icon to install it.
3

Confirm the installation

If the installation was completed successfully, you will see the Installed tag in green.
4

Open the agent in Brain

Go to Brain. In the sidebar you will see your installed skills and tools. Search for Biometrics flows agent and click to open it: the node will load in your canvas.
5

Initial configuration

  • Click on the node, open Advanced settings (at the bottom), and select the agent version.
  • None of the inputs (except the PDF) require changes if you will use the default values. If you need to change them, you can enter them in the corresponding field.
  • If you want to modify any input, configure them in the sidebar.
6

Configure Outputs

This agent has 10 error outputs and 1 success output. Each can be directed to:
  • A text input with a custom message.
  • Connect, only if you have this module.
7

Run tests

With the configuration you just completed, you can proceed to run tests using a skill or another agent as a precursor.
Important: The “Terms and Conditions PDF” field is mandatory. The document must explicitly include the use, storage, and handling of personal and biometric data. It must be presented and accepted before starting the verification process.

Configuration

Maximum biometrics attempts
number
default:"2"
Variable: maxBiometricAttempts. Available values: 1-4
Notification email for exceeded retries
string
Variable: customerServiceEmail. Alert email when attempts are exceeded.
Accepted threshold for facial comparison
number
default:"60"
Variable: facematchThreshold. Available values: 55-95 Minimum approval percentage for facial comparison.
Verify expiration date
string
default:"false"
Variable: dateExpiracyCheck. Available values: false, true Enables document validity control.
Enable government validation
boolean
default:"false"
Variable: flagGovValidation. Available values: false, true Defines whether an official source is queried.
Enable terms and conditions
boolean
default:"false"
Available values: false, true Set to “true” to load the terms and conditions URL
Terms and conditions PDF (mandatory)
string (URL)
Variable: termsAndConditionsPdf. Public URL of the terms and conditions PDF. It must explicitly detail the handling of personal data, including the use, storage, and processing of biometric information. It must be shown to the user before starting the process.
Enable Human in the loop
boolean
default:"false"
Variable: enableHumanInLoop. Available values: false, true Indicates whether the review process with a human agent is activated. Add-on service with additional cost.
Edit flow images
boolean
default:"false"
Variable: validateImage. Available values: false, true Allows replacing default images. When editing is enabled, five fields are displayed to integrate custom images. The step-by-step guide for customization is found in the “Customization” section.

Report

By default a database called “Biometrics Agent Report” is created with the following fields:
FieldDescription
Biometrics CodeUnique process identifier
Date and TimeVerification timestamp
Biometrics ResultFinal process status
Identification NumberUser’s document
Identification TypeDocument type
First NamesUser’s first names
Last NamesUser’s last names
Date of BirthDate of birth
PhoneUser’s phone number
EmailEmail address
Liveness Check ResultLiveness check status
Selfie PhotoURL of extracted photo
Document Check ResultDocument validation status
Front Document PhotoURL of front image
Back Document PhotoURL of back image
Face Photo on DocumentURL of document face photo
Government EntityEntity queried
Facematch ResultFacial match percentage
Biometrics ReportWeb report URL
Failure DescriptionError details (if applicable)
ObservationsAdditional notes
The biometric report is available for download in PDF format and contains all the information detailed in the table.

Customization

You can customize only the images that appear on each screen; the rest of the flow copy is not customizable.
On the flow screens, fields marked with a yellow box are customizable. The remaining texts cannot be modified.
General view of the biometrics flow in Flows with yellow boxes on the customizable fields
General view of the document flow in Flows with yellow boxes on the customizable sections

Frequently asked questions

Yes, the agent can respond because all fields have default values. However, selecting the agent version is mandatory; we recommend always selecting the latest available public version.
Photos of the identity document from both sides are required: front and back.
No. This agent is designed as a complete flow: photo + document + facematch. If you only need part of it (for example, document only), you must install the agents by stage.
No, you cannot modify the interaction texts. You can add messages, conditionals, and other customizations in your skill on the canvas.
HIL is an add-on service with an additional cost. When active, some cases may go to manual review (for example, if the threshold is not reached or attempts are exhausted). In this agent, manual review is applied after document validation.
  • Encryption in transit and at rest.
  • Evidence recording with hashes to ensure integrity.
  • Access control with roles (RBAC) and MFA.
It depends on your configuration:
  • Maximum biometrics attempts (maxBiometricAttempts): controls biometrics attempts.