KYC Document Review Pipeline with Claude and ComplyAdvantage
Compliance & Risk
Quick Answer
Customer submits identity documents, Claude extracts and validates the identity data, ComplyAdvantage screens for sanctions and PEPs, risk level is assessed, and the compliance officer receives a pre-populated KYC review package. Human decision required at every material step.
The Problem This Solves
KYC teams spend significant time manually extracting data from identity documents and running screening checks before they can make a compliance decision. This workflow automates the data extraction and screening steps, delivering a pre-populated review package to the compliance officer.
About This Workflow
This workflow automates the most time-consuming part of customer onboarding: KYC document review. When a new customer submits identity documents, the workflow uses Claude to extract structured data from the documents, validates completeness and consistency, runs the extracted identity data through ComplyAdvantage for sanctions and PEP screening, assesses overall risk level, and routes the case to human review with a pre-populated review package. Compliance teams focus on judgment calls while the routine extraction and screening work is automated.
Tools Required
Step-by-Step Blueprint
Trigger on new KYC submission webhook
n8nCreate an n8n Webhook trigger that fires when a new customer submits identity documents through your onboarding form or portal. Receive the document files and applicant metadata.
Extract identity data with Claude
ClaudeAdd an n8n Claude node. Send the identity documents as base64-encoded images or PDFs and instruct Claude to extract: full name, date of birth, nationality, document type, document number, expiry date, and address. Return structured JSON.
Use this prompt βValidate document completeness
n8nAdd an n8n Code node to check that all required fields were extracted successfully and that the document has not expired. Flag any missing or inconsistent data for human review.
Screen against ComplyAdvantage
ComplyAdvantageAdd an n8n HTTP node to call the ComplyAdvantage API with the extracted identity data. Request screening against sanctions lists, PEP databases, and adverse media sources. Retrieve the risk score and any matches.
Assess overall risk level with Claude
ClaudeAdd an n8n Claude node. Send the screening results, extracted identity data, and any flags from the validation step. Instruct Claude to assess overall risk level and summarize the key findings for the compliance officer review package.
Email review package to compliance team
GmailAdd an n8n Email node to send the pre-populated KYC review package to the compliance team. Include extracted identity data, screening results, risk assessment, and a clear action prompt. High-risk cases should be flagged for senior review.
Cost Estimate
n8n Cloud Pro $50/month or self-hosted free. ComplyAdvantage pricing starts at approximately $500/month for production screening. Claude API costs scale with document volume. AI compliance workflows assist human compliance officers and do not replace qualified compliance professionals or legal counsel. All outputs require review before regulatory submission or action.