> ## Documentation Index
> Fetch the complete documentation index at: https://docs.jelou.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Liveness check (Flows)

> Implement photo-based liveness in WhatsApp Flows.

This component validates that the person is present during the capture using a guided experience in Flows.

The **Liveness check agent (Flows)** validates that the person is present during the capture using a guided experience in **WhatsApp Flows**. The user takes a **photo** of their face; access to the gallery is blocked to prevent fraud.

<Warning>
  This agent is a **stage** of the biometric process. For the complete flow, combine it with the Document check and Facematch agents.
</Warning>

## 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 when applicable. **This is mandatory** in the complete flow.
* The user must be able to **take photos** from the chat (camera permissions must be enabled on the device).
* <u>Recommended:</u> define the handling flow if you enable **Human in the loop** (who reviews, response times, and what happens if there is no response).

## What steps does the user complete?

<Steps>
  <Step title="Configure the agent">
    Adjust language, maximum attempts, and expiration rules.
  </Step>

  <Step title="Design error messages">
    Define clear texts for abandonment, time expired, and blocking.
  </Step>

  <Step title="Connect with the following stages">
    Send the output to Document check and then to Facematch to complete verification.
  </Step>
</Steps>

<Info>
  If you need video selfie and OTP, use the conversational version of the liveness check.
</Info>
