Back to Enigma in Excel
SheetXAI logo
Enigma logo
Enigma · Excel Guide

Run Batch KYB Verification on a Excel of Merchant Applications

2026-05-14
5 min read

The Scenario

It's end of quarter. Your payments company onboarded 80 new merchants over the past six weeks, and the compliance team's monthly review just surfaced a gap: KYB verification hasn't been run on 60 of them. The Excel 'Compliance Queue' workbook has their names, addresses, and EINs — but columns D, E, and F are blank where the verification status, TIN match result, and watchlist flag should be.

The bad version:

  • Pull up Enigma's KYB v2 API documentation, write an ad-hoc script to loop through the workbook, debug authentication errors for an hour, and discover that the rate limit you're hitting silently drops rows without any error message.
  • Run the successful rows into the workbook manually, then figure out which 17 rows were dropped, re-run them one at a time, and reconcile the results against the original export.
  • Flag the watchlist hits to the compliance lead — who asks why the bankruptcy check column is missing — and realize you forgot to include that field in the API response parsing.

The compliance team's window closes Friday. You're the one who gets the call if the report is wrong.

The Easy Way: One Prompt in SheetXAI

SheetXAI is an AI agent inside your Excel workbook. It reads the 'Compliance Queue' worksheet, understands the data structure, and calls Enigma's KYB v2 API for each row — writing every verification field back into the right column.

For all rows in my Excel 'Compliance Queue' where column C says 'pending', run Enigma KYB v2 on the business name and address, write the result and bankruptcy flag into columns E and F, then set column C to 'screened'.

What You Get

  • Column E: overall KYB verification status (Verified, Unverified, Review)
  • Column F: bankruptcy flag — CLEAR or flagged with the relevant record
  • Column C: updated from 'pending' to 'screened' on every processed row
  • Rows that return a TIN match result or watchlist hit surface them when you add those fields to the prompt
  • Any row that returns an API error is marked so you can see exactly which ones to follow up on

What If the Data Is Not Quite Ready

Only rows in 'pending' status should be screened

Some rows are already marked 'screened' in column C from a previous run.

For all rows in my Excel 'Compliance Queue' where column C says 'pending', run Enigma KYB v2 on the business name and EIN, write the verification status, TIN match result, and watchlist flag into columns D, E, and F, then set column C to 'screened'.

EINs are formatted inconsistently (with and without dashes)

Column B has a mix of "12-3456789" and "123456789" formats.

Run Enigma KYB v2 on every row in my Excel 'Compliance Queue'. Before calling the API, normalize the EIN in column B to strip dashes. Write the verification status, TIN match result, and watchlist flag into columns D, E, and F.

The workbook has merchants from multiple risk tiers and you only need high-risk rows

Column G has a 'Risk Tier' label — you only need to run KYB on rows marked 'High'.

For all rows in my Excel 'Compliance Queue' where column G says 'High', run Enigma KYB v2 on the business name in column A and EIN in column B. Write the verification status, TIN match result, watchlist flag, and bankruptcy check result into columns D, E, F, and H.

Full compliance sweep: deduplicate, verify, flag, and summarize in one pass

In my Excel 'Compliance Queue': first remove any duplicate rows where columns A and B match an earlier row, then run Enigma KYB v2 on each remaining business, write verification status into column D, TIN match into column E, watchlist flag into column F, and bankruptcy result into column H, then add a row at the bottom summarizing total screened, total alerts, and total bankruptcies.

The discipline here is combining the data prep and the API calls into a single instruction rather than doing cleanup first, pausing, then re-running.

Try It

Get the 7-day free trial of SheetXAI and open any Excel workbook with merchant or applicant data, then ask it to run KYB v2 verification across the batch. For sanctions-only screening, see the watchlist screening article or return to the Enigma integration overview.

Stop memorizing formulas.
Tell your spreadsheet what to do.

Join 4,000+ professionals saving hours every week with SheetXAI.

Learn more