OBLYTECH Logo
OBLYTECH Logo

Integration Contract Review Between Teams

An integration contract review is the working session where two teams check the agreed field list, update rules and error codes for a shared interface before anyone starts building it. The goal is to find gaps while changing the document costs little, so each field, owner, timing rule and failure response is agreed by both sides first.

Integration problems that reach production often begin as an unstated assumption. One team assumed a customer identifier was case-sensitive and the other did not. One team expected a retry after a timeout, and the other treated a timeout as a final failure. A contract review surfaces those assumptions while they are still cheap to fix.

What the contract must contain before the review starts

A contract that lives in scattered conversations cannot be reviewed. Before the session, one person from the sending team and one from the receiving team should produce a single document stating the purpose of the interface, the direction of data flow, the trigger for each exchange and the environments where it runs.

Ask each side to list the business events that send a message. An order being approved, a case being closed and a nightly batch are three different triggers, with different volumes, retry needs and owners. Write each trigger as a sentence a non-engineer could follow.

Checking the field list line by line

The field list is the section many reviewers read first and check least. For each field, confirm the name both sides use, the data type, whether the field is required, the allowed values, and the system that owns the value. Copy all values of any enumerated list into the contract. A status field with three values on one side and five on the other is a frequent defect, and it often stays hidden until a record fails to load.

Watch for fields that look alike but are not. A phone field may hold a formatted display string in one system and a normalized value in another. Write the format next to each field name with one concrete example, because examples expose length limits, punctuation and leading zeros.

Matching keys deserve their own line. Name the field that identifies a record in each system, state which side creates it, and state what happens when the same real-world record arrives twice. If the data side already runs a duplicate review, the contract should name the rule it follows. For how that work is usually run, see the data steward duplicate review routine.

Writing update rules and ownership

Update rules answer two questions: who may change a value, and what happens when that change crosses the interface. Three patterns cover the usual cases. The sending system is the sole writer, the receiving system is the sole writer, or both may write and one wins under a stated condition. Each pattern can work. The failure happens when a field meant to have one writer gets two.

Write each rule as a short conditional. “The receiving value overwrites the sending value solely when the receiving record was modified after the last successful sync” can be tested. “Keep data in sync” cannot. Put the timestamp source, the sync direction and the tie-break condition in the same sentence where possible.

Then run the hardest case: a record changed on both sides between two syncs. Walk through one compatible change and one conflicting change, and record the outcome for each. If the teams cannot agree on the conflict, send that field to its business owner rather than letting whoever is in the room settle it.

Name a business owner for each field’s meaning. Engineers own the mechanism of the interface; someone from the business owns what the value means. Fields that feed pipeline or forecast reporting need a definition that matches the reporting definition agreed with the business sponsor. The executive sponsor pipeline and forecast review is one reference point for those definitions, so check that the two agree before signing.

Reviewing error codes and failure handling

An error code is worth little unless both teams agree what it means and who acts on it. For each error the interface can return, name the triggering condition, whether the sender retries, how many times, the interval between attempts, and the team notified when retries run out.

Sort errors into at least three groups. Payload errors come from data the receiver cannot accept, such as a missing required value. Retries do not fix them, so route them to a correction queue with the record identifier attached. Dependency errors, such as an unavailable receiver or a locked related record, may clear on their own, so a bounded retry is the usual answer. Transport errors such as timeouts are the group often handled inconsistently. A timeout can mean the message was never received, or that it was received and the response was lost. The contract must state whether the receiver handles a repeated message safely, so that a repeat with the same key does not create a second record.

Check code values and wording against what the systems actually return. Ask the receiving team to show one example response per code, captured in a non-production environment, and record the environment and date beside it. Check this in the environment the interface will actually use, because returned values can differ from what a design note records.

Give each code a named owner. A code that lands in a shared mailbox is read by everyone and acted on by no one. Bulk loads of historical records need their own recovery path, which is worth settling alongside the data migration and integration work for the same interface.

Running the review session

Keep the session focused on one document, with the contract on screen and a named scribe who edits it live. Decisions go into the document during the meeting, so each reviewer sees the outcome before the conversation moves on. The field list usually takes the longest, so schedule it first, not last.

Invite the people who can change the contract: one technical owner from each side, the business owner of each important field, and the person who will be notified when the interface fails. If the same people will change the interface again, a standing group is easier to keep than a set of ad hoc attendees. A model for that arrangement is covered in dedicated Salesforce delivery teams.

Read the decisions aloud before closing. Each open item needs an owner and a date, a visible label in the document, and a place in the build plan, so it does not reach the build phase unlabeled. A contract with open items can still be approved if none of them blocks the first build.

Signing off the contract before build starts

Sign-off means both teams accept the document as the basis for the build. Record the version number, the date, the approvers and the open items. Store the signed version where both teams can find it, and state that any later change needs a new version and the agreement of both owners.

Changes after sign-off are normal when a business rule or a required field changes. The rule that matters is that the contract changes first and the build follows it. A team that changes the interface and updates the contract afterward has produced a second, unofficial specification.

Once the contract is signed, the next document is the build plan, which turns each agreed rule into a task with an owner. For help planning this work, see Salesforce implementation.

Questions about integration contract reviews between teams

How long should a contract review take for one interface?

The length depends on the number of fields, how many update rules depend on one another, and how many open decisions the owners bring. A small interface can be settled in one session. Several conditional write rules usually need a second session after the business owners answer their open questions, so book that slot before the first session starts.

Does an interface between two internal teams still need a formal review?

Yes. Two teams inside one company still have separate priorities, owners and change schedules. Shared ownership inside one organization is where undocumented assumptions last longest, because each side assumes the other has written them down.

What if the receiving team cannot produce example responses yet?

Record the affected codes as unverified, and make verification a condition before the first production exchange. Naming the gap in the document is better than finding it during the first failed load.

Should volumes and timing be part of the contract?

They should. Expected volume ranges and the schedule of each exchange shape retry intervals, batch sizes and alert thresholds. Label those figures as estimates, and use estimates the owners can explain.

How is an integration contract different from a design document?

A design document explains how one team plans to build its own side. The contract records what both sides agree to exchange and how each behaves when something goes wrong. Keep it short enough that both owners can read it without the design notes.