Form page · /f/<id>
Verify your identity
3-column grid · own header and theme · Its own page: share the link or open it on a tablet
Media & Evidence package
Customers upload an ID photo and a selfie: the document is read, checked by rules, the number blacked out for storage, and a person compares the photos and decides.
Connects to Google Gemini
About this package
Identity document capture starts from a form page where the customer enters their name and date of birth, picks the document type and uploads a photo of the ID and a selfie (the phone camera opens).
Analyze Image reads the printed fields (name, date of birth, document number, expiry, issuing region) and returns face boxes; the selfie is checked for exactly one face. There is no face recognition or face matching anywhere in this package: the automated checks only compare the text with the form (a Regex step for the number format, conditions for name and date of birth) and the ID document checks decision table turns them into a result and a flag for the reviewer.
Redact Image blacks out the ID number on a copy of the document for storage. The reviewer sees the extracted fields next to the form, opens the original photos (restricted to the review) and compares the selfie with the ID photo themselves, then verifies, asks for new documents or rejects. Only the masked fields and the redacted copy go into the Verified identities table, with a retention policy.
Starts from a form page: send customers the Verify your identity form (/f/<id>) during onboarding.
Someone fills in a form to start it: the workflow start form (Run dialog in the app, or your own portal posting to the API) or a standalone form page (/f/<id>) whose Form submitted trigger starts the workflow. People complete User Task forms along the way.
How forms workThe flow
ID photo and selfie
The customer fills in the themed form and uploads both photos.
Read the document
Analyze Image extracts the printed fields and face boxes; the selfie is checked for one face. No face recognition.
Rule checks
A Regex checks the number format, conditions compare name and date of birth with the form, and the ID document checks decision table sets the result and a flag.
Redact for storage
Redact Image blacks out the document number on a copy; the number is kept masked to its last four characters.
Human review
The reviewer compares the selfie with the ID photo themselves and verifies, requests new documents or rejects.
Keep only what is needed
Verified identities stores the masked fields and the redacted copy under a retention policy; the customer is emailed.
Forms
People start it from a form page (/f/<id>) with its own header, theme and buttons; submitting it starts the workflow. User Tasks show their fields and outcome buttons to the assignee.
Form page · /f/<id>
3-column grid · own header and theme · Its own page: share the link or open it on a tablet
User Task
KYC {{kyc_ref}}: {{result}} ({{form.full_name}}) · 2-column grid · own header and theme
From your code
Every workflow can be started over REST, MCP or the CLI, whatever its trigger, with the sample input below. Runs start straight away on the published version; replace <workflow id> with the id the install created.
REST
curl -X POST "$USERTASKS_URL/api/v1/workflows/start" \
-H "Authorization: Bearer $USERTASKS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"workflow_id":"<workflow id>","variables":{"full_name":"Alex Sample","date_of_birth":"1980-07-04","email":"alex.sample@example.com","document_type":"Driver license","consent":true}}'CLI
usertasks workflows inputs <workflow id> # the start form: keys, types, required
usertasks workflows run <workflow id> --input full_name="Alex Sample" --input date_of_birth=1980-07-04 --input email=alex.sample@example.com --input document_type="Driver license" … --waitWhat's included
| Type | Name | Details |
|---|---|---|
| Email template | Identity not verified | Sent when the reviewer rejects the verification. |
| Email template | Identity verified | Sent when the reviewer verifies the identity. |
| Email template | New documents needed | Sent when the reviewer needs new photos. |
| Data table | Verified identities | What is kept after verification: extracted fields with the document number masked, and a redacted copy of the document. The original photos are not copied here. |
| Integration | Google Gemini (media AI) | Media AI provider for transcription, image and video analysis and finding what to redact. Paste your Gemini API key on install (aistudio.google.com). To use OpenAI, Azure AI or AWS instead, point the media steps at that integration. |
| Decision table | ID document checks | 8 rules — What the reviewer is told before they decide: the automated checks only flag; a person compares the selfie with the ID photo and decides. |
| Retention policy | Verified identities: 5 years | Identity records are kept five years after the relationship ends, then reviewed. Set this to your AML / KYC record-keeping rule. |
| forms | Verify your identity | Customers upload a photo of their ID and a selfie; the document is read, checked and redacted for storage, and a person decides. |
| Workflow | Identity document check | 25 steps — An ID photo and a selfie from the form: the document is read (text and face boxes, no face recognition), checked against the form by rules, the ID number is blacked out for storage and a reviewer compares the photos and decides. |
Verified identities · 1 sample rows
ReferenceNameEmailDate of birthDocumentNumber (masked)ExpiresIssued byRedacted copyResultDecided byDecided
Requirements
Credentials never travel in a package. The install wizard asks for what your environment must provide, or installs it incomplete until you finish setup.
Integration “Google Gemini (media AI)”Required
Workflow “Identity document check” assigneesRequired
Install
Works on UserTasks cloud and on any self-hosted instance. Installing creates the assets above; nothing runs until you complete setup and start it.
curl -fLO https://usertasks.com/gallery/kyc-id-document-redaction-1.0.0.utpkg
usertasks packages inspect kyc-id-document-redaction-1.0.0.utpkg # offline: checksum, hashes, signature
usertasks packages install kyc-id-document-redaction-1.0.0.utpkg --dry-run
usertasks packages install kyc-id-document-redaction-1.0.0.utpkg # prompts for each requirement
usertasks packages install kyc-id-document-redaction-1.0.0.utpkg --keep-incomplete --yes # in CI; finish with:
usertasks packages complete kyc-id-document-redaction -f values.yamlVerify the download
shasum -a 256 kyc-id-document-redaction-1.0.0.utpkg should print the file SHA-256. How gallery packages are signed.
Versions
Installing a newer version upgrades in place: local credentials and requirement values are kept, and changes you made are flagged first. How packages work
More packages
Media & Evidence Official
Public records requests from a form to release: statutory SLA, evidence gathering, AI-assisted redaction of video, photos, audio and documents, legal approval and an exemptions log.
Needs:Media AI providerREST APIAssigneesEmail
Media & Evidence Official
Motor claims with damage photos: AI damage assessment, decision-table triage and SLA, adjuster review, letters, and photos with faces and plates blurred for repairers.
Needs:Media AI providerAssigneesEmail
Media & Evidence Official
Upload a meeting recording: transcript with speakers, AI-drafted minutes the organiser checks, a task for each action owner and the minutes emailed with an SRT.
Needs:Media AI providerAI modelEmail