Skip to content
QD DIGITAL / JOURNALAll articles
Perspective

What to prepare before connecting systems with APIs

Before connecting two applications, agree on what data moves, when it moves, what happens on failure and who can access it.

NOTES FROM QĐ DIGITALREAD · REFLECT · APPLY
Illustration of two systems exchanging data through an API
Article contents

A business might collect enquiries through its website, manage contacts in a CRM and send notifications through a separate service. Without a connection, staff copy details between applications. APIs can automate that transfer, but a reliable integration starts by defining where information belongs and what should happen when something fails.

Trace one piece of information

Imagine a visitor submits a website form. Which details should reach the CRM? Which fields exist only to help the team respond? Who needs an alert? Should the integration create a new contact or update a matching one?

Sketch the steps: the visitor submits, the website validates the entry, the CRM receives it and the right person gets notified. This simple exercise aligns expectations. Without it, two systems might communicate successfully while creating duplicate contacts or storing details in the wrong place.

Agree on a data contract

One application may call a field “phone number” while another calls it “mobile”. One may require a full name while the other stores only a display name. Decide how fields map to each other and what happens when a required value is missing.

Pay particular attention to record identity. If the network times out and a request is sent again, the receiving system needs a way to recognise a retry rather than creating a duplicate. Duplicate prevention belongs in the integration design, not in a later cleanup exercise.

Plan for connection failures

An API may become temporarily unavailable, enforce rate limits or reject invalid data. Decide what can be retried, how often and who gets alerted if repeated attempts fail. Retries should not create duplicate records or repeat consequential actions.

Keep useful logs that show which transfer failed, when and why, while avoiding unnecessary exposure of sensitive information. If immediate delivery is not essential, a queue can help the process tolerate temporary outages.

Limit access and shared data

Give integration credentials only the permissions they need. Store secrets securely, allow rotation and keep them out of public source code. Also question every field being transferred: if an order ID and status are enough, do not send the customer's entire profile.

For personal information, establish the purpose, retention period, access rules and applicable legal requirements for your environment.

Test ordinary and difficult cases

Try incomplete submissions, repeated requests, edits to an already synchronised record and temporary downtime on the receiving system. Check whether the people operating the process can discover a problem and recover from it.

Worked example: sending website enquiries into a CRM

Imagine a contact form collecting a name, email, phone number and request details. The CRM has fields for a contact ID, lead source and assignee. Agree on which fields move, which are required and who sees an incomplete record rather than sending everything and hoping the systems interpret it the same way.

A possible flow looks like this:

  1. The website validates the submission and assigns a unique request identifier.
  2. The integration sends only the necessary fields using authorised credentials.
  3. The CRM checks the identifier so a retry does not create a duplicate record.
  4. Success or failure is recorded for the people monitoring the process.
  5. A failed delivery follows an agreed retry or manual recovery path.

This is a design example, not a configuration that works with every CRM. Platforms differ in authentication, rate limits and duplicate handling. Confirm these capabilities before promising that a connection can operate automatically.

An acceptance checklist for the integration

  • Does retrying the same submission create a duplicate?
  • What happens when a required field is missing or malformed?
  • Are unnecessary or sensitive fields excluded from the transfer?
  • Can staff see failed requests and recover them after an outage?
  • Is there a clear rule for the direction of updates after a record changes?
  • Who may inspect logs or retry failed operations?
  • Can credentials be revoked and permissions reviewed when responsibilities change?

Run these checks with sample data and both normal and failed deliveries, then show the operator how to spot a problem. A connection that works once is not necessarily ready for everyday use.

A useful integration moves information to the right place at the right time, with a path to recovery when things go wrong. Automate the transfers that solve an actual problem, rather than connecting every available API for its own sake.