KYB check on every new CRM company: GLEIF + SEC lookup and a sanctions screen in 4 nodes (template inside)

Disclosure: I’m with Johto Data, which makes the API and Actor used here.

When a new company lands in your CRM, you usually want three things before anyone emails it: does it exist as a legal entity, what is its LEI and status, and is the name on a sanctions list. This workflow does that from one webhook.

How it works:

  1. Webhook receives { "company_name": "Tesla, Inc." } from your CRM (HubSpot, Attio, or anything that can POST).
  2. HTTP Request calls the Apify Actor johto.data/company-kyb-verification with run-sync-get-dataset-items. It matches the name against GLEIF and SEC listed companies and returns legal name, LEI, status, jurisdiction and registered address. Price: $0.0004 per company plus a $0.00005 start fee, billed to your Apify account. Add an Apify token as Header Auth (Authorization: Bearer <token>).
  3. HTTP Request calls our sanctions-screen route with ?sample=1, which is free and returns a fixed sample (OFAC SDN + UK Sanctions List format, verdict MATCH / POSSIBLE_MATCH / CLEAR). Live screening is $0.0025 (live 402 decoded 16:17 UTC, amount 2500) per name over x402 (USDC on Base), which n8n’s HTTP node can’t pay natively, so for live results use an x402 client or our MCP server.
  4. Set node flattens it into company, kyb_name, kyb_status, lei, sanctions_verdict, sanctions_is_sample.

For comparison, the cheapest GLEIF lookup Actor we found with recent users, wintersworks/gleif-lei-lookup, is $0.0008 per record and returns GLEIF only, without the SEC join: LEI Lookup | GLEIF Legal Entity Identifier Search · Apify

Actor: KYB + LEI Lookup API: GLEIF and SEC EDGAR, $4 per 1K · Apify
Free sample: https://johto-x402-api.johtodata.workers.dev/v1/sanctions-screen?sample=1

Status: the workflow JSON is validated (parses, all connections resolve, field names match the live sample) but not yet test-imported into a running n8n. Feedback welcome if anything breaks on import.

Workflow (paste into n8n):

Question for the group: where do you put a compliance check like this, at deal creation or before the first outbound email?