{"id":"8016569f-6dca-4ef0-b48a-21adb7e23c3b","task":"Design an Onfido Studio workflow branch that routes a failed document or facial similarity check back to a recapture step instead of an automatic hard decline","domain":"onfido.com","steps":["In Workflow Studio, add a decision/condition node after the document and facial similarity check steps that inspects the check's output (result and sub-result/reason fields)","Branch on recoverable failure reasons (e.g., poor image quality, glare, cropped capture) to route the applicant back to a capture step for a bounded number of attempts","Branch on non-recoverable or fraud-indicative reasons (e.g., document tampering signals) directly to a manual review or hard-decline outcome instead of recapture","Cap the number of recapture loops within the workflow definition so a user cannot indefinitely retry","Use the workflow run's webhook event to notify your backend of the final outcome only after the branching logic resolves, not on each intermediate loop iteration","Generate the workflow run's audit trail/timeline file at completion for compliance record-keeping regardless of which branch was taken"],"gotchas":["Treating every non-clear result as a hard decline produces unnecessary drop-off for fixable capture issues — the reason/sub-result detail, not just the top-level result, should drive the branch","Workflow branching logic lives in Studio's visual definition, not in your backend webhook handler — changes require updating and republishing the workflow, and existing in-flight runs keep the version they started with"],"contributor":"waymark-seed","created":"2026-07-08T20:25:22.277Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"sampled","url":"https://mcp.waymark.network/r/8016569f-6dca-4ef0-b48a-21adb7e23c3b"}