Newsletter

Issue #13 · Sep 26, 2026 · 6 min read

Turn "just integrate the two systems" into a field-level mapping spec.

How I use AI to turn a vague "just connect the CRM to billing" into a source-to-target field mapping — types, transforms, and what happens when a value is missing — so the integration doesn't blow up in reconciliation three weeks after go-live.

Welcome to Issue #13.
Every Saturday I ship one field-tested lesson from live BA × AI delivery — the stuff that actually holds up in the work this week, not repackaged theory.

A few years and a few hundred API integrations ago, a project lead handed me a one-line requirement: "sync the customer from the CRM into billing." Easy. Both had a customer record, the field names even lined up. We built it, it passed the demo, and then reconciliation started throwing customers billing in the wrong currency. The CRM stored amounts as plain numbers assuming INR; billing expected a currency code and read the blank as USD. The names matched — amount to amount — so nobody looked closer. An integration doesn't fail because two systems can't talk. It fails because two fields with the same name mean different things, and nobody wrote down the difference. The spec isn't a list of which field goes where — it's what each field means, what shape it's in, and what happens when the value isn't what you assumed. Here's how I now turn a vague "connect them" into a spec a developer can build from without guessing.

From "just connect them" to a mapping a developer can build

Three passes that turn two payloads — or two schemas, or a page of "the CRM has these fields" — into a source-to-target mapping that names the traps before a developer hits them in production.

1. Build the source-to-target table, one row per target field

I paste a real sample record from each side and run: "Build a source-to-target field mapping table. One row per target field the destination system needs. For each, give me the source field it comes from, the data type on both sides, whether it's required, and a real sample value from the payloads I pasted. If a required target field has no obvious source, leave the source blank and flag it." Driving the table from the target is the trick: it's the destination that decides what has to be filled, so any required field with a blank source is a gap you found on paper instead of in a failed load. Same-named fields still each get their own row — matching names is a hint, not a mapping.

2. Make the AI hunt the mismatches, not just the matches

The rows that line up cleanly aren't the risk. So the second pass goes looking for trouble: "For every mapped field, flag where source and target don't actually agree — a type that needs coercing, a date format or timezone difference, a currency or unit assumption, a status or category enum whose values don't line up one-to-one, a field long enough to be truncated, or a one-to-many that won't fit a single column. For each, write the transformation rule needed to bridge it." This is exactly the currency blank that sank my sync — an assumption baked into one system that the other never shared. A field that maps cleanly needs a column. A field that doesn't needs a decision — and the spec is where that decision gets made, not the dev's head at 5pm.

3. Nail the "what if it's missing or wrong" rules

Real data has holes and surprises, and an integration lives or dies on how it handles them. So the last pass makes the spec defensive: "For each field, state what to do when the source is null or empty — reject the record, use a default, or leave it blank — and what to do with a value that isn't in the target's allowed set. Then name the match key used to decide insert vs. update, and what happens on a duplicate." The match key is the one people forget: without an explicit "match on this, and here's what a duplicate means," you don't have an integration, you have a machine that quietly creates a second copy of every customer. Now the developer builds from rules, not from a hopeful reading of the happy case.

What NOT to do

  • Don't map by name similarity and assume the meaning matches. status = "A" in one system and status = "Active" in the other are not the same field with the same values — they're two enums that happen to share a word. Map the values, not just the columns, or you'll ship records that are technically populated and factually wrong.
  • Don't leave the transformation logic buried in prose. "We'll handle the currency conversion" written in a paragraph above the table is logic a developer will skim past. Put the rule in the row, against the field it applies to. If it's not next to the field, it doesn't exist.
  • Don't spec off the idealized schema instead of a real payload. The tidy data dictionary won't show you the record with a null phone, the legacy status nobody documented, or the name field someone stuffed a note into. Map from an actual export — the surprises that break the load are only in the real data.

Try this week

Take one integration you're speccing and paste a real sample record from each side. Run the "source-to-target table, one row per target field" pass, then force the mismatch hunt — types, dates, currencies, enums, truncation — and write the transform rule into each row. Finish with the null/default rules and an explicit match key. You'll hand your developers a spec they can build from, and you'll have found the currency-blank landmine on a page this week instead of in reconciliation next month.

See you next Saturday.
— Dibya Mishra, Senior Business Analyst

Share this issue

If this landed, forward it to one BA on your team. The link: https://growwithdibya.in/newsletter/issue-13-field-level-data-mapping

X LinkedIn WhatsApp

Never miss a Saturday issue

A new issue goes live on the site every Saturday. Subscribe and I'll send you the link. No spam — unsubscribe anytime.

Enjoying the content?

Follow Dibya on LinkedIn, Instagram, and X for daily BA × AI insights and behind-the-scenes builds.