The Integration Mirage: API vs. SFTP in Global Payroll
Sales teams love to show "Logo Walls" of integrations. But is it a real-time API or just a glorified CSV drop? We expose the technical reality.
In the glossy world of SaaS sales decks, "Integration" is a binary checkbox. Does it integrate with Workday? Yes. Does it integrate with BambooHR? Yes.
But in the gritty reality of IT architecture, "Integration" is a spectrum. And on one end of that spectrum lies a lie.
For Global Payroll buyers, the most dangerous assumption you can make is that "Integration" means "Real-Time API." In this industry, 80% of the time, it means **SFTP (Secure File Transfer Protocol)**—a fancy acronym for "we automatically upload a CSV file to a folder once a day."
This distinction is not just technical semantics. It is the difference between a system that works and a system that breaks every time you hire someone.
## The Marketing Myth vs. The Technical Reality
When a vendor shows you a slide with the Workday logo connected to their logo by a sleek, glowing blue line, your brain imagines a continuous stream of data. You imagine that when you change an employee's salary in Workday at 9:00 AM, it updates in the payroll system at 9:01 AM.

**The Reality (SFTP):** 1. **9:00 AM:** You change the salary in Workday. 2. **11:59 PM:** A scheduled script wakes up, scrapes all changes from the last 24 hours into a `.csv` or `.xml` file. 3. **12:05 AM:** The script uploads this file to a secure FTP server. 4. **02:00 AM:** The payroll vendor's server wakes up, checks the folder, and downloads the file. 5. **02:15 AM:** The vendor's parser tries to read the file. If there is a single formatting error (e.g., a special character in a name), the entire batch might fail. 6. **09:00 AM (Next Day):** You log in and see the data hasn't changed. You don't know why.
This is not a "Real-Time Sync." This is **Batch Processing with a delay**.
## Why "Batch" Breaks Payroll
The problem with SFTP isn't just speed; it's **Validation**.
In a true **API Integration**, validation happens at the source. If you try to enter an invalid IBAN in your HRIS, the Payroll API rejects it immediately with an error message: *"Invalid IBAN format for France."* You fix it right there.
In an **SFTP Integration**, there is no real-time feedback loop. You enter the invalid IBAN in the HRIS. The HRIS saves it (because it doesn't know French banking rules). The file is generated. The file is sent. The payroll system tries to process it and fails.

By the time you get the error report (often via email, 24-48 hours later), the payroll cutoff might have passed. Now you are scrambling to make a manual wire transfer because the "Integration" failed silently.
## The "Middleware" Trap
Many modern "Global Payroll Aggregators" claim to have APIs. And they do—between *your* HRIS and *their* platform.
But remember the [Middleware Trap](/insights/global-payroll-aggregator-middleware-trap)? The Aggregator still has to get that data to the local In-Country Partner (ICP).
Even if the Aggregator pulls data from Workday via API instantly, they often turn around and send that data to the local provider in Brazil via... you guessed it, a CSV file over SFTP.
So you have a "Frontend API" connected to a "Backend Flat File." The illusion of speed is maintained on your dashboard, but the operational risk remains buried in the plumbing.
## How to Audit Integrations Like a CTO
Stop asking "Do you integrate with X?" Start asking these three technical questions:
1. **"Is the integration event-based (Webhooks) or scheduled (Polling)?"** * *Good Answer:* "We use webhooks. When you click save in HRIS, it pushes to us instantly." * *Bad Answer:* "We sync every night at midnight." (This is batch processing).
2. **"Where does the data validation happen?"** * *Good Answer:* "If you enter bad data in the HRIS, our API will return an error to the HRIS UI immediately." * *Bad Answer:* "We provide a validation report after the sync runs." (This is the "fail and fix" loop).
3. **"Does the API extend to the local engine?"** * *Good Answer:* "Yes, our API writes directly to the local database." * *Bad Answer:* "Our platform is the system of record, and we manage the local partners." (This implies a manual or file-based handoff downstream).
## Conclusion: Demand the Docs
Never trust the logo wall. Always ask for the **API Documentation**. If they hand you a PDF guide on "How to configure the file mapper," you know you are dealing with SFTP. If they send you a link to a developer portal (like `developers.vendor.com`) with interactive endpoints, you are on the right track.
In 2025, "File Transfer" is not an integration strategy. It is a liability.