For liveness and document check, WebView uses guided capture with on-screen feedback; the user stays in the chat.
Prerequisites
✅ Checklist to start without blockers
- You must have a verified WhatsApp account.
- You must have the 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 enabled on the device).
- Location permissions are also requested so data can be collected for better audit and traceability of the biometric process.
How does it work?
In under one minute, the user completes these steps:Access via a unique link
The user receives a unique WhatsApp link to start the session. The link contains a non-reusable session id and the associated flow information.
Capture their ID document
Front and back images of the document are requested, with visual assistance to validate validity and authenticity.
How to connect the integration?
Open the platform
Use the Agent to create a biometrics flow, or select the Identity validation template.
To start a flow from scratch, click Brain Studio in the sidebar.
Connect the integration
Once connected, you will see the Biometrics node, where you can configure retries, experience, and additional validations.
Configure outputs
This agent has 1 success output and 3 error outputs. Each can route to:
- Text input with a custom message.
- Connect, only if you have this module.
Configuration
- Outputs
Success
Biometrics approved
Biometrics approved
Confirms that biometric verification succeeded.Variable: Important fields:
approvedDescription: Biometrics approvedResponse structure (JSON):document_response: ID document informationliveness_response: Photo used for livenessfacematch_response: Facial comparison resultreporte_de_biometria: Report URLs (web and PDF)device_info: Device and location data (audit and traceability)gov_entity_data: Government entity data (if applicable)
- document_response:
document_check(result, verified_fields, secondary_fields, details, status_fields, image_quality_details, images_extracted, gov_entity_fields),document_image_front_url,document_image_back_url,document_face_image_url - liveness_response:
result,url_selfie_image - facematch_response:
facematch_result(approved/decline),facematch_confidence - reporte_de_biometria:
report,report_pdf - device_info:
userAgent,browser,operatingSystem,platform,language,timezone,screenResolution,colorDepth,timestamp,ipAddress,location(latitude, longitude; only if location permission),deviceId,deviceName - gov_entity_data: government entity data for the country (fields vary by country)
Errors
Process abandoned
Process abandoned
The user left the process before completing it.Variable:
incompleteDescription: Process abandonedBiometrics rejected
Biometrics rejected
Biometric verification failed or was rejected.Variable:
rejectDescription: Biometrics rejectedProcess error
Process error
Error while running the biometric process.Variable:
errorDescription: Process errorReport
By default a report is generated with the following fields:| Field | Description |
|---|---|
| Biometric code | Unique process id |
| Date and time | Verification timestamp |
| Biometric result | Approved / Not approved |
| ID number | User document |
| ID type | Document type |
| First names | User first names |
| Last names | User last names |
| Mobile | Phone |
| Photo | Selfie URL |
| Liveness result | Approved / Not approved |
| Front document photo | URL |
| Back document photo | URL |
| Document check result | Approved / Not approved |
| Face on document photo | URL |
| Facematch result | Match percentage |
| Biometric report | Report URL |
| Failure description | Error detail |
| Notes | Additional notes |
| User agent | Browser user agent string |
| Browser | Browser (e.g. Chrome) |
| Operating System | Device OS |
| Platform | Platform (e.g. Linux aarch64) |
| Language | Configured language (e.g. es-US) |
| Timezone | Timezone (e.g. America/Guayaquil) |
| Screen Resolution | Screen resolution (e.g. 376x835) |
| Color Depth | Color depth in bits |
| Timestamp (device) | Device timestamp |
| IP Address | IP used for verification |
| Latitude | Location latitude |
| Longitude | Location longitude |
| Device ID | Unique device id |
| Device Name | Device name (e.g. Linux - Chrome) |
The biometric report can be downloaded as PDF for audit or internal backup.
How to customize the experience?
When you click the Biometrics node on the canvas, a side panel opens with three configuration tabs.- General
- Experience
- Validations
Configure the number of retries allowed per stage of the biometric process.
- Maximum liveness attempts — defines how many times the user can retry the facial capture before the process fails.
- Maximum document verification attempts — defines how many times the user can retry the document capture.
This configuration is global for your company: any changes will apply to all flows using WebView biometrics.
FAQ
What document images are required during the biometric process?
What document images are required during the biometric process?
Photos of the ID document on both sides: front and back.
How is WebView biometrics different from Flows or conversational?
How is WebView biometrics different from Flows or conversational?
WebView opens a dedicated link with guided capture; the report includes device data (browser, OS, resolution, timezone, IP, device ID) and location if the user grants permission. You can adjust colors (background, text, buttons, stepper), UI language, and security options described in the customization guide; capture widgets are not editable. Conversational uses video in chat; Flows uses photo inside WhatsApp Flows with its own gallery rules and native UI.
Can I customize colors and UI language?
Can I customize colors and UI language?
Yes: background, text, button, and stepper colors; UI language (Spanish/English) and, when enabled, a user-facing language selector. Stepper color also applies to widgets. Face and document capture widgets are not customizable.
How many outputs does this agent have?
How many outputs does this agent have?
1 success output (Biometrics approved) and 3 error outputs (Process abandoned, Biometrics rejected, Process error). Each can route to a custom text message or Connect.