Customer-Specific Integrations: Choosing Between Configuration and Code
Ali Saad · November 9, 2026 · 4 min read
Two customers request nearly the same export. One needs a different date format; the other applies a distinct overtime rule and excludes particular employment groups. Both requests sound like variations, but they should not automatically use the same extension mechanism. In customer-specific integration work, choosing between configuration and code is really a decision about how business differences will be understood, tested, and supported.
Distinguish values from behavior
An agreed delimiter, destination identifier, or optional column is often a configuration value. A new sequence of calculations or a customer-specific eligibility policy may be behavior. The distinction is not absolute, but it helps prevent a settings file from gradually becoming an undocumented programming language.
Ask who will change the value and how that change will be reviewed. If a setting changes the meaning of pay or the inclusion of employees, it deserves business approval and regression coverage even when no application code changes. Easy editing does not make a change low risk.
Validate configuration as an input
Typed settings help make expected values visible. In .NET, the options pattern provides a way to group related settings and validate them. Use it to catch missing destinations, unsupported formats, and contradictory choices before starting a long export, rather than discovering a bad setting after producing half a file.
Validation should include business combinations, not just required fields. A detailed export mode might require a particular employee identifier, while a summary mode uses another mapping. Report these failures in language an operator can act on, identifying the setting and customer context without exposing credentials or sensitive source data.
Isolate policies that vary independently
When the variation changes a rule rather than a value, a focused strategy or dedicated module may be clearer. Shared extraction can supply normalized records, while customer-specific transformation owns the approved mapping and calculations. That keeps one customer's exception from spreading through the common pipeline as repeated conditional checks.
The interface should stay small and reflect real needs. A universal plugin framework is not required for three straightforward variations. Start with the simplest explicit boundary that allows each policy to be tested independently, then expand only when recurring requirements justify additional machinery.
Version the effective behavior
If a report differs from last month's output, support needs to know more than the application version. Configuration and mapping changes can alter results without a new binary. Record the effective configuration revision with each run, alongside the relevant module version and business period.
Keep a history of reviewed changes and a way to restore a previous approved revision. A rollback should account for both code and settings. Also decide how in-progress jobs behave when configuration changes: using a captured revision for the whole run is usually easier to explain than mixing old and new settings.
Key takeaways
- ✓Separate configurable values from independently changing policies.
- ✓Validate business combinations before processing begins.
- ✓Record configuration revisions with integration runs.
- ✓Test customer variations whenever shared logic changes.
Conclusion
Good integration design makes differences explicit. Configuration works well for controlled choices, while isolated code can express genuinely different behavior more clearly. The right balance is the one that lets an engineer, analyst, and support colleague explain exactly why a customer's output looks the way it does.