Example workflows
These are the definitions the three apps running on rightful.id use today, read from the repository when the site is built. Use them as starting points. The fields are explained in the workflow DSL.
Pendah: onboarding-id
Section titled “Pendah: onboarding-id”Onboarding with a photo ID: gestures, the light check, the ID photo, its expiry date, a face match against the ID portrait, and the barcode on the back of a licence. Keeps the live face and the ID for 7 days, only when the result needs review.
{ "schema": "rightful.workflow/v1", "key": "onboarding-id", "name": "Pendah: onboarding with photo ID", "ui": { "locales": [ "en", "fr", "pt", "sw", "ha", "yo", "ig", "am", "ar" ], "default_locale": "en" }, "consent": { "mode": "hosted", "text_version": "2026-11b" }, "limits": { "session_ttl_seconds": 1200, "max_attempts": 2 }, "steps": [ { "id": "liveness", "type": "gestures", "config": { "pool": [ "SMILE", "OPEN_MOUTH", "BLINK", "TURN_LEFT", "TURN_RIGHT" ], "count": { "min": 2, "max": 3 } }, "on": { "capture_error": { "action": "retry", "max": 1, "then": { "action": "decline", "reason": "capture_failed" } }, "inconclusive": { "action": "retry", "max": 1, "then": { "action": "decline", "reason": "liveness_not_observed" } }, "failed": { "action": "decline", "reason": "liveness_failed" } } }, { "id": "light", "type": "light", "on": { "inconclusive": { "action": "retry", "max": 1, "then": { "action": "decline", "reason": "light_unclear" } }, "failed": { "action": "decline", "reason": "light_mismatch" } } }, { "id": "id", "type": "id_portrait", "on": { "capture_error": { "action": "retry", "max": 1, "then": { "action": "decline", "reason": "id_portrait_unreadable" } }, "inconclusive": { "action": "decline", "reason": "id_portrait_unreadable" }, "failed": { "action": "decline", "reason": "document_not_accepted" } }, "config": { "accept": [ "passport", "driver_licence", "photo_id_card", "pr_card", "unknown" ] } }, { "id": "expiry", "type": "id_expiry", "config": { "from": "id" }, "on": { "inconclusive": { "action": "review", "reason": "id_expiry_unreadable" }, "failed": { "action": "decline", "reason": "id_expired" } } }, { "id": "match", "type": "face_match", "config": { "against": [ { "step": "id" } ], "min_band": "strong" }, "on": { "inconclusive": { "action": "decline", "reason": "face_id_weak_match" }, "failed": { "action": "decline", "reason": "face_id_mismatch" } } }, { "id": "barcode", "type": "id_barcode", "config": { "from": "id" }, "on": { "inconclusive": { "action": "review", "reason": "id_barcode_not_scanned" }, "failed": { "action": "review", "reason": "id_barcode_mismatch" } } } ], "decision": { "mode": "all_passed", "otherwise": "decline" }, "output": { "detail": "scores", "evidence": { "return": [ "live_face", "id_card" ], "retention_days": 7, "when": "review" } }}examina: exam-entry
Section titled “examina: exam-entry”Before an exam: gestures and the light check, then a match against the candidate photo the organisation supplies. Keeps the live face for 2 days.
{ "schema": "rightful.workflow/v1", "key": "exam-entry", "name": "examina: exam entry (3 random gestures + light + organization photo)", "ui": {"locales": ["en", "fr", "ar", "es-419", "pt-BR"], "default_locale": "en"}, "consent": {"mode": "hosted"}, "inputs": {"reference_images": {"required": ["candidate_photo"]}}, "limits": {"session_ttl_seconds": 900, "max_attempts": 3}, "steps": [ {"id": "liveness", "type": "gestures", "config": {"pool": ["SMILE", "OPEN_MOUTH", "BLINK", "TURN_LEFT", "TURN_RIGHT"], "count": 3}, "on": {"capture_error": {"action": "retry", "max": 2, "then": {"action": "review", "reason": "capture_unreliable"}}, "inconclusive": {"action": "retry", "max": 1, "then": {"action": "review", "reason": "gestures_not_observed"}}, "failed": {"action": "review", "reason": "liveness_guard_tripped"}}}, {"id": "light", "type": "light", "on": {"inconclusive": {"action": "retry", "max": 1, "then": {"action": "review", "reason": "light_unclear"}}, "capture_error": {"action": "retry", "max": 1, "then": {"action": "review", "reason": "light_unclear"}}, "failed": {"action": "review", "reason": "light_mismatch"}}}, {"id": "match", "type": "face_match", "config": {"against": [{"reference": "candidate_photo"}], "min_band": "strong"}, "on": {"inconclusive": {"action": "review", "reason": "weak_match"}, "failed": {"action": "review", "reason": "no_match"}}} ], "decision": {"mode": "all_passed", "approve": "approve", "otherwise": "review"}, "output": {"detail": "checks", "evidence": {"return": ["live_face"], "retention_days": 2}}}examina: exam-entry-id
Section titled “examina: exam-entry-id”Exam entry with a photo ID, matched against the ID portrait and, when the organisation sends one, its own photo. Keeps images for 7 days, only when the result needs review.
{ "schema": "rightful.workflow/v1", "key": "exam-entry-id", "name": "examina: entry with photo ID (3 gestures + light + ID; matched to the ID and the org photo if sent)", "ui": { "locales": ["en", "fr", "ar", "es-419", "pt-BR"], "default_locale": "en", "delivery": ["redirect"], "return_origins": ["https://examina.io", "https://www.examina.io", "https://sandbox.examina.io", "http://localhost:8080", "http://127.0.0.1:8080"] }, "consent": {"mode": "hosted"}, "inputs": {"reference_images": {"optional": ["candidate_photo"]}}, "limits": {"session_ttl_seconds": 1200, "max_attempts": 3}, "steps": [ {"id": "liveness", "type": "gestures", "config": {"pool": ["SMILE", "OPEN_MOUTH", "BLINK", "TURN_LEFT", "TURN_RIGHT"], "count": 3}, "on": {"capture_error": {"action": "retry", "max": 2, "then": {"action": "review", "reason": "capture_unreliable"}}, "inconclusive": {"action": "retry", "max": 1, "then": {"action": "review", "reason": "liveness_not_observed"}}, "failed": {"action": "review", "reason": "liveness_guard_tripped"}}}, {"id": "light", "type": "light", "on": {"inconclusive": {"action": "retry", "max": 1, "then": {"action": "review", "reason": "light_unclear"}}, "capture_error": {"action": "retry", "max": 1, "then": {"action": "review", "reason": "light_unclear"}}, "failed": {"action": "review", "reason": "light_mismatch"}}}, {"id": "id", "type": "id_portrait", "config": {"accept": ["passport", "driver_licence", "photo_id_card", "pr_card", "unknown"]}, "on": {"capture_error": {"action": "retry", "max": 1, "then": {"action": "review", "reason": "id_unreadable"}}, "inconclusive": {"action": "retry", "max": 1, "then": {"action": "review", "reason": "id_unreadable"}}, "failed": {"action": "review", "reason": "document_not_accepted"}}}, {"id": "match", "type": "face_match", "config": {"against": [{"step": "id"}, {"reference": "candidate_photo"}], "min_band": "strong"}, "on": {"inconclusive": {"action": "review", "reason": "weak_match"}, "failed": {"action": "review", "reason": "no_match"}}} ], "decision": {"mode": "all_passed", "approve": "approve", "otherwise": "review"}, "output": {"detail": "checks", "evidence": {"return": ["live_face", "id_portrait", "id_card"], "retention_days": 7, "when": "review"}}, "review": {"link_days": 7, "decide_in": "app", "allowed_origins": ["https://examina.io", "https://www.examina.io", "https://sandbox.examina.io", "http://localhost:8080", "http://127.0.0.1:8080"]}}examina: recheck
Section titled “examina: recheck”One gesture during an exam, matched against the organisation’s photo, with a rules decision block.
{ "schema": "rightful.workflow/v1", "key": "recheck", "name": "examina: quick re-check during an exam (1 gesture + photo match)", "consent": {"mode": "app_attested"}, "inputs": {"reference_images": {"required": ["candidate_photo"]}}, "limits": {"session_ttl_seconds": 300, "max_attempts": 2}, "steps": [ {"id": "liveness", "type": "gestures", "config": {"pool": ["SMILE", "BLINK", "TURN_LEFT", "TURN_RIGHT"], "count": 1}}, {"id": "match", "type": "face_match", "config": {"against": [{"reference": "candidate_photo"}], "min_band": "possible"}} ], "decision": {"mode": "rules", "rules": [ {"if": {"all": [{"step": "liveness", "is": "passed"}, {"step": "match", "band_at_least": "strong"}]}, "then": "approve"}, {"if": {"step": "match", "is": "failed"}, "then": "review", "reason": "no_match"} ], "otherwise": "review"}, "output": {"detail": "verdict"}}Introcall: interview-identity
Section titled “Introcall: interview-identity”Before an interview: gestures, light, a photo ID of an accepted type, its expiry, a face match against the ID, the name on the ID, and the barcode on the back of a licence. Every policy ends in review, never decline.
{ "schema": "rightful.workflow/v1", "key": "interview-identity", "name": "Introcall: confirm the applicant before the interview (live face + photo ID + name on the ID)", "ui": { "locales": [ "en", "fr" ], "default_locale": "en", "delivery": [ "redirect" ] }, "consent": { "mode": "hosted", "text_version": "2026-11b" }, "limits": { "session_ttl_seconds": 1200, "max_attempts": 3 }, "steps": [ { "id": "liveness", "type": "gestures", "config": { "pool": [ "SMILE", "OPEN_MOUTH", "BLINK", "TURN_LEFT", "TURN_RIGHT" ], "count": 3 }, "on": { "capture_error": { "action": "retry", "max": 2, "then": { "action": "review", "reason": "capture_unreliable" } }, "inconclusive": { "action": "retry", "max": 1, "then": { "action": "review", "reason": "liveness_not_observed" } }, "failed": { "action": "review", "reason": "liveness_guard_tripped" } } }, { "id": "light", "type": "light", "on": { "inconclusive": { "action": "retry", "max": 1, "then": { "action": "review", "reason": "light_unclear" } }, "capture_error": { "action": "retry", "max": 1, "then": { "action": "review", "reason": "light_unclear" } }, "failed": { "action": "review", "reason": "light_mismatch" } } }, { "id": "id", "type": "id_portrait", "on": { "capture_error": { "action": "retry", "max": 1, "then": { "action": "review", "reason": "id_unreadable" } }, "inconclusive": { "action": "retry", "max": 1, "then": { "action": "review", "reason": "id_unreadable" } }, "failed": { "action": "review", "reason": "document_not_accepted" } }, "config": { "accept": [ "passport", "driver_licence", "photo_id_card", "pr_card", "unknown" ] } }, { "id": "expiry", "type": "id_expiry", "config": { "from": "id" }, "on": { "inconclusive": { "action": "review", "reason": "id_expiry_unreadable" }, "failed": { "action": "review", "reason": "id_expired" } } }, { "id": "match", "type": "face_match", "config": { "against": [ { "step": "id" } ], "min_band": "strong" }, "on": { "inconclusive": { "action": "review", "reason": "face_id_weak_match" }, "failed": { "action": "review", "reason": "face_id_mismatch" } } }, { "id": "name", "type": "name_match", "config": { "from": "id" }, "on": { "inconclusive": { "action": "review", "reason": "id_name_unreadable" }, "failed": { "action": "review", "reason": "id_name_mismatch" } } }, { "id": "barcode", "type": "id_barcode", "config": { "from": "id" }, "on": { "inconclusive": { "action": "continue" }, "failed": { "action": "review", "reason": "id_barcode_mismatch" } } } ], "decision": { "mode": "all_passed", "approve": "approve", "otherwise": "review" }, "output": { "detail": "checks", "evidence": { "return": [ "live_face", "id_card" ], "retention_days": 7 } }, "review": { "link_days": 7, "allowed_origins": [ "https://introcall.si", "https://www.introcall.si" ] }}Introcall: interview-recheck
Section titled “Introcall: interview-recheck”One gesture inside Introcall’s page, matched against the face kept by the interview-identity session. Embedded, with app-attested consent.
{ "schema": "rightful.workflow/v1", "key": "interview-recheck", "name": "Introcall: quick same-person check during the interview (embedded)", "ui": {"locales": ["en", "fr"], "default_locale": "en", "delivery": ["embedded", "redirect"], "allowed_origins": ["https://introcall.si", "https://www.introcall.si", "http://localhost:5173"]}, "consent": {"mode": "app_attested"}, "inputs": {"reference_images": {"required": ["verified_face"]}}, "limits": {"session_ttl_seconds": 300, "max_attempts": 2}, "steps": [ {"id": "liveness", "type": "gestures", "config": {"pool": ["SMILE", "BLINK", "TURN_LEFT", "TURN_RIGHT"], "count": 1}, "on": {"capture_error": {"action": "retry", "max": 1, "then": {"action": "review", "reason": "recheck_capture_failed"}}, "inconclusive": {"action": "retry", "max": 1, "then": {"action": "review", "reason": "recheck_not_observed"}}, "failed": {"action": "review", "reason": "recheck_guard_tripped"}}}, {"id": "same_person", "type": "face_match", "config": {"against": [{"reference": "verified_face"}], "min_band": "strong"}, "on": {"inconclusive": {"action": "review", "reason": "recheck_weak_match"}, "failed": {"action": "review", "reason": "different_person"}}} ], "decision": {"mode": "all_passed", "approve": "approve", "otherwise": "review"}, "output": {"detail": "checks"}, "review": {"link_days": 7, "allowed_origins": ["https://introcall.si", "https://www.introcall.si"]}}Themes
Section titled “Themes”{"display_name": "examina.io", "mode": "light", "font": "inter", "radius": 10, "button_style": "solid", "light": {"primary": "#007F82", "primary_text": "#FFFFFF", "background": "#F3F7F9", "surface": "#FFFFFF", "text": "#162838", "muted": "#596B7A", "border": "#DBE4EB", "header": "#FFFFFF"}, "copy": {"en": {"eyebrow": "examina.io identity check"}, "fr": {"eyebrow": "Vérification d’identité examina.io"}}}{"display_name": "Pendah", "mode": "auto", "font": "system", "radius": 12, "button_style": "solid", "light": {"primary": "#0F7B4F", "primary_text": "#FFFFFF"}, "dark": {"primary": "#3DDC97", "primary_text": "#04140D"}}{"display_name": "Introcall", "mode": "dark", "font": "rounded", "radius": 18, "button_style": "pill", "dark": {"primary": "#8B7CFF", "primary_text": "#0D0B1F", "background": "#0D0B1F", "surface": "#17142E", "text": "#F1EEFF", "muted": "#A9A3C9", "border": "#2B2650", "header": "#120F27"}, "copy": {"en": {"title": "Quick check before your interview", "done_title": "You're all set", "done_help": "Head back to Introcall to start your interview."}, "fr": {"title": "Petite vérification avant votre entretien", "done_title": "Tout est prêt", "done_help": "Retournez sur Introcall pour commencer votre entretien."}}}