Skip to content
NexusBook a demo

Enterprise Integration

How to Automate Across Legacy Systems Without Replacing Them

Cross-system process gaps can be closed without turning the work into a replacement programme. Use prebuilt actions where they fit, direct interfaces where appropriate, and code for the remaining gap, all inside one governed run.

Enterprise IntegrationArchitecture13 min read

The join is the problem, not the endpoint

To automate across legacy systems without replacing them, treat the process as one workflow that crosses the interfaces those systems already expose. Use prebuilt connector actions for covered steps, APIs, databases or enterprise protocols for direct integration, and multi-language code nodes for custom formats or logic. Keep every step in one execution record.

This approach focuses investment on the operational seam. Processes usually fail where one system hands work to another: a confirmation is re-keyed, a status is copied by hand, a spreadsheet reconciles two different values, or a mismatch sits unnoticed until a reporting cycle. Each endpoint may be stable and useful. The join between them is what remains manual.

The audit gap follows the same seam. An operator may have to open an ERP record, a CRM history, a shared folder and a spreadsheet to reconstruct one case. Timestamps are close but not identical. A correction may be visible without the reason for it. The person who approved an exception may only be identifiable from an email thread.

Cross-system automation should therefore be judged by continuity, not by the number of connections alone. The initiating event, transformations, checks, approvals, writes and responses need to remain attached to the same case. The enterprise automation pattern applies that model to processes spanning applications, databases and files.

Why replacement is the wrong first move

A replacement programme and an operational automation solve different problems. Replacement changes the system that owns a capability. Automation changes how work moves between systems. If the urgent issue is a manual handoff, making it wait for a migration expands the scope before the original process has improved.

Legacy interfaces can be load-bearing precisely because they are old and stable. A database view, file exchange, RFC call or internal API may have years of operating knowledge behind it. Stability does not make the interface elegant, but it can make it dependable enough to automate against when access, validation and exception handling are designed carefully.

This is not an argument that every old application should remain indefinitely. Some systems do need consolidation or replacement. The architectural point is narrower: do not make endpoint replacement a prerequisite for fixing every cross-system process. A governed integration layer can reduce manual seams now and make dependencies visible for any later migration.

It also prevents a false choice between a fully prebuilt connector and no integration at all. Real estates contain customised applications, internal interfaces and vendor-specific variants. A practical platform must combine standard coverage with a controlled way to close what the library does not cover.

Coverage, stated honestly

Nexus provides 1,480+ prebuilt connector actions across common enterprise systems and infrastructure. That breadth is useful, but the number is not a promise that every object, custom field, protocol variation or internal application is already represented. Start by decomposing the process into covered and uncovered steps.

Prebuilt actions where they exist

A prebuilt action gives a workflow a defined operation against a known system. It can shorten design work for common integration steps while keeping credentials, inputs, outputs and responses inside the workflow's governance model. The connector library is the place to inspect available coverage, not a substitute for checking the specific interface in your environment.

Direct interfaces where they are appropriate

APIs, databases and enterprise protocols often provide the most direct path to a stable legacy system. The interface should be treated as a governed dependency: authenticate through a controlled secret, grant only the required access, validate its response and define what happens when it is unavailable or rejects a write. See enterprise integration for the broader connection model.

Multi-language code nodes for the remaining gap

Code handles the part that neither a prebuilt action nor a direct configuration expresses cleanly. Nexus supports eight code language families: Python, Bash, Go, Java, .NET, PHP, PowerShell, JavaScript/TypeScript via Deno. The choice should follow the task and the team's operating standards. Code is not a synonym for Python, and no one runtime is presented as the universal answer.

A code node remains inside the same workflow as connector actions. Its inputs, outputs and result stay attached to the run, while permissions and vault-backed secret references follow the same control model. This is how code and extensibility close the last-mile gap without creating an unrelated script estate.

Start the work the way the business actually starts it

Integration design often begins with the systems involved and only later asks what starts the process. Reverse that order. The initiating event determines latency, duplicate handling, correlation and the evidence available at the beginning of the run.

Nexus supports 46 trigger sources. A file landing in a controlled location, a webhook, a schedule or a database event can start a governed workflow. The right trigger is the event the business already recognises, not a polling workaround added because the design began from the wrong end.

A file arrival should carry a stable identifier and a rule for duplicates. A webhook should be authenticated and validated before its payload drives work. A schedule needs a clear window and a defined response when the previous run has not completed. A database event needs enough context to identify the affected case without over-reading the source.

Those details are part of the process contract. They decide whether a retry creates a duplicate write, whether a late file is accepted and whether an operator can connect the initiating event to the final system state.

Worked example: purchase order confirmation

The following is an illustrative architecture, not a customer case or a prescribed field mapping. A purchase-order confirmation file arrives from a supplier. The workflow identifies the case, retrieves related records from SAP and, where the process requires it, Salesforce. Exact reads and writes depend on the interfaces and permissions configured in that environment.

Most confirmations follow a standard path. A legacy supplier variant arrives as fixed-width text with a vendor-specific layout. A Rules + Code node parses that variant and normalises it into the structure used by the rest of the workflow. Deterministic checks then verify required values and compare relevant quantities or amounts against configured business tolerances.

Illustrative purchase-order confirmation

Prebuilt Code or rule
  1. 01Event source

    Trigger

    Confirmation file arrives

  2. 02Prebuilt action

    Integration

    Related records are retrieved

  3. 03Code gap closure

    Rules + Code

    Fixed-width variant is normalised

  4. 04Deterministic rule

    Validation

    Required fields and tolerances are checked

  5. 05Prebuilt action

    System Action

    Approved status is written back

  6. 06Execution record

    Audit

    The complete run is retained

Prebuilt actions and code-gap closure remain part of one workflow and one execution record.

Illustrative workflow. Solid nodes use an event source, prebuilt action or execution record. Dashed nodes show where code and deterministic rules close the process-specific gap.

A matched confirmation can proceed to the configured system action. An exception can pause for named human review with the source file, related records and validation result attached. The reviewer approves, rejects or sends the case to a correction path, and the same run resumes or closes with that decision retained.

The pattern is simple: Trigger → Integration → Rules + Code → Validation → System Action → Audit. Prebuilt where it exists, programmable where it does not. The Salesforce and SAP integration pattern provides a related architecture view while keeping environment-specific mappings subject to design with the relevant system owners.

Design exceptions before the happy path

The happy path is usually the easiest part of a cross-system process. Reliability depends on what happens when the input or a downstream system does not behave as expected. Define exception branches while the normal sequence is being designed, not after the first operational failure.

Malformed input

Reject a file or event that cannot be parsed safely. Preserve the original input, state which validation failed and route it to correction or review. Do not guess at missing structure and continue toward a system write.

Rejected write

Capture the response from the target system and classify whether the failure is safe to retry. Authentication failure, validation rejection and temporary unavailability should not all produce the same branch. A retry needs limits and idempotency so recovery does not create duplicate work.

Missing field or tolerance breach

A required field should stop the write and identify the source of the omission. A tolerance breach should preserve the values compared and the rule version applied. If policy calls for review, governance and audit controls keep the attributed decision with the execution it affects.

Each exception needs one of three explicit outcomes: retry under defined conditions, correction through a known path, or human review by an accountable role. Silent failure and indefinite queueing are not exception strategies.

One record instead of four log searches

A cross-system run should produce a record that answers what happened without requiring an operator to align four clocks and infer the sequence. The record connects the trigger to every integration, code, validation, approval and action step.

For the illustrative confirmation, that can include the relevant payload sent, the response received, the validation and match result, any approval decision, and the final outcome. Sensitive values can remain subject to the organisation's access and retention policy. The purpose is continuity, not indiscriminate logging.

Operationally, one record shortens the distance between an exception and its cause. A rejected write can be traced back to the normalised input and the source event. A corrected run can be distinguished from the failed attempt. A reviewer can see the context available when an exception was approved.

For audit, the same continuity shows which workflow version ran, what systems participated, what checks were applied and who authorised an exception. It does not establish a regulatory conclusion. It provides structured evidence that the organisation can review against its own controls.

Frequently asked questions

What happens when no connector exists for our system?

Use the interface the system already exposes, such as an API, database connection, enterprise protocol or file exchange. A multi-language code node can handle custom logic or formats inside the same governed workflow, with its inputs and outputs retained in the execution record.

Can one workflow write to SAP and Salesforce in the same run?

Yes. A Nexus workflow can coordinate actions across both systems in one run. The exact reads, writes and field mappings are designed against the interfaces and permissions available in the customer environment, rather than assumed from a generic template.

How are legacy file formats handled?

Standard file handling can cover common formats. A code node can parse and normalise a fixed-width or vendor-specific variant when the standard path does not fit. Validation should reject malformed or incomplete input before any downstream write.

Do we need a separate integration platform licence?

Nexus provides integration and orchestration capabilities in the same platform as workflow logic, code, approval and audit. Commercial terms depend on the deployment and scope, so this is an architecture statement rather than a licensing guarantee for a particular environment.

What does the audit trail look like across four systems?

The execution record connects the initiating event, relevant payloads, validation and match results, approvals, system responses and final outcome to one run. Retention and access remain subject to the organisation's configured policy.

Map the operational seam

Bring us the process that still needs re-keying.

We will map where prebuilt actions cover it, where direct APIs or protocols fit, and where code is needed to keep the complete process inside one governed execution record.