Build an integration you can operate.
Most integration failures come from unclear ownership, shared credentials and unsafe retries. Settle those three before writing code.
Write the contract first.
For each flow, record the source, the target, the records and fields, the trigger, the expected volume and the owner. Map identifiers explicitly: the ID of an app installed in your organization is not the slug of its public catalogue page.
Agree what happens when the target rejects a record: skip it and report, retry later, or stop the batch.
Give it its own credential.
Create an API key or service account for this integration alone, with the narrowest role that covers its operations. Keep it in a secret store, never in code, a workflow definition or a shared document, and decide when it will be rotated.
Make it safe to run twice.
Stable external IDs
Store the other system’s identifier on each record so a retried write finds and updates the record it created.
Bounded retries
Retry transient failures with backoff and a limit. Never retry a validation error unchanged.
Work on the server
Filter, count, aggregate and bulk-update in the platform instead of pulling whole tables to loop over them.
Traceable runs
Log each run’s outcome with a correlation ID so a failure can be traced without exposing secrets.
Hand it over with a runbook.
Name the owner, where the credential lives and when it rotates, the logs to check and the steps to pause the integration safely.