Third-Party and SaaS Integration Questions

Engineering a client against external provider and SaaS APIs you do not control: reading unfamiliar vendor docs and judging how far to trust them, handling provider auth and credential lifecycle (storing, rotating and revoking customer-granted credentials, refreshing a shared token safely, keeping secret keys out of client apps), living within vendor rate limits and quotas (prioritising urgent work, sharing one vendor key fairly across tenants), timeouts, retries with backoff and jitter and idempotency against flaky dependencies including writes of unknown outcome and partial batch failures, graceful degradation, circuit breaking and queue isolation when a provider is slow or down, mapping external data models to internal ones, connector and adapter design, anti-corruption layers, syncing records between SaaS systems, sandbox and contract testing against vendor APIs, and managing vendor-specific quirks, breaking changes, outages, failover and temporary integrations across many integrations. Examples span CRM, payments, shipping, messaging and AI service providers. Excludes diagnosing an individual failing call, webhook receipt mechanics, authentication protocol internals, rate limiter algorithms, API versioning policy for your own API, enterprise-wide integration architecture, bulk data ingestion into a warehouse, and choosing or contracting the vendor.

MediumTechnical
28 practiced

Here is a source record from a CRM and the schema a billing system expects. Write the code that maps one into the other, coping with the differences in shape and type, with missing or null values, and with records that cannot be mapped, so that failures are surfaced usefully. Show its output for the sample and for a broken record.
Source: {"userId":"u123","name":{"first":"Alice","last":"Z"},"joined":"2024-01-02T15:00:00Z","meta":null}
Target expects: {"customer_id":...,"full_name":...,"signup_ts":...}

MediumTechnical
25 practiced

You suspect a third-party API change is intermittently returning null join keys, but you cannot see the vendor's logs. How would you validate the hypothesis from your side, what would you capture, what temporary mitigations would you put in place, and how do you escalate to the vendor while still uncertain?

MediumSystem Design
22 practiced

You are integrating a CRM, an ad platform, a product analytics tool and a support system, and each names and structures customer fields differently. How would you design the mapping layer so these systems can exchange data without every downstream consumer needing custom logic?

MediumSystem Design
31 practiced

Design a sync of lead data from a CRM, about 100,000 new or updated leads a day, to another SaaS tool, with a target latency under 5 seconds for priority records. It must resolve duplicates, honour consent flags, tolerate vendor outages, and keep one clear source of truth for each record.

That is every published Third-Party and SaaS Integration question for Data Engineer so far. Browse the other topics in this category, or practice this one interactively.