AI can write an integration in an hour. Here is the hard part that's left (2026)
Eight jobs stay after a coding agent writes the integration: what breaks in each, how often, and who runs it.
The Truto Team
·
·
7 min read
Your team’s apps in
Key takeaways
- Google gives apps in testing status refresh tokens that expire after 7 days, and revokes a token that is unused for six months.
- HubSpot allows a public app 110 requests every 10 seconds for each account that installs it.
- Salesforce retired API versions 21.0 to 30.0 in Summer '25. Calls to a retired version fail.
- Two customers on the same CRM rarely have the same fields. A mapping written against one test account misses the rest.
- An AI agent acts with the customer's login. It needs chosen tools, an end date and a log of each request.
1. OAuth apps and app reviews
What breaks. Before one customer can connect, most apps make you register an OAuth app with them. Some apps also review you. Google requires a CASA security assessment for restricted scopes, such as Gmail and Drive, and you repeat it every 12 months. Until the review passes, your customers cannot connect, or they see a warning screen.
How often. Once for each app, then again at each re-review. The work grows with each app you add.
What Truto does. Truto ships a working OAuth app with many catalog integrations, so customers can connect on day one. Truto's Google app is CASA Tier 2 verified, so you can offer Gmail, Calendar and Drive with no Google assessment of your own. When you want your own name on the sign-in screen, you bring your own OAuth app.
2. Token storage and refresh
What breaks. Access tokens expire. Your code must refresh each one before it expires, for every customer. If two workers refresh the same token at the same time, one of them can invalidate the other's token, and the customer is signed out. Customers also revoke access, change passwords or leave the company, and the next call fails with invalid_grant.
How often. Every day, for every connected account. Google issues refresh tokens that expire after 7 days to apps in testing status. Google also revokes a refresh token that is not used for six months, and allows 100 refresh tokens for each Google account and client.
What Truto does. Truto encrypts every token at rest with AES-256. Truto refreshes a token 60 to 180 seconds before it expires. Two requests at the same moment cause one refresh, under a lock, and a 30-second watchdog clears a stuck refresh. When a customer removes access, Truto marks the account needs_reauth and sends your product an integrated_account:authentication_error event.
Read more: handling OAuth token refresh failures in production.
3. Rate limits and retries
What breaks. Every app says "slow down" in its own way. Some apps send a 429 with a Retry-After header. Others send a 200 or a 403 with the limit in the body. A sync that ignores the limit gets blocked, and a retry loop with no backoff makes the block longer.
How often. On every large sync and every busy customer. HubSpot limits a public app to 110 requests every 10 seconds for each account that installs it. Each app has its own numbers.
What Truto does. Truto turns each app's limit signal into a standard 429 with ratelimit-* headers, and with Retry-After when the app gives the wait time. That includes limits that the app sends inside a 200 or a 403. A Truto sync run waits, then continues.
Read more: rate limits and retries across third-party APIs.
4. Pagination
What breaks. A long list comes back in pages, and each app pages in its own style: cursors, page numbers, offsets, links in headers. A parser that works for one app misses records in the next. You find out when a customer asks why their data is incomplete.
How often. Once for each app, and again when an app changes its paging.
What Truto does. Truto reads six pagination styles and returns one next_cursor to your code.
Read more: normalizing pagination and errors across 50 integrations.
5. Webhooks
What breaks. To hear about changes, you keep a public endpoint up for each app. Each app signs its webhooks in its own way, and an endpoint that does not check the signature accepts fake events. When your endpoint is down, events are lost.
How often. Continuously. Every app that sends events adds one more signature scheme and one more failure mode.
What Truto does. Truto checks incoming webhooks with each app's method: HMAC, basic, bearer or JWT. Truto then sends your product signed record:* events, and tries each delivery 5 times in 5 minutes. Truto keeps webhook events for up to 30 days.
Read more: designing reliable webhooks.
6. API changes
What breaks. Apps rename fields, retire endpoints and turn off old API versions. Your code still calls the old version, and the calls start to fail. In-house, you find out from errors, fix the code and release your product again.
How often. Every year, for every app you support. Salesforce retired API versions 21.0 to 30.0 in Summer '25. A call to a retired REST version gets 410 GONE.
What Truto does. Truto builds the catalog integrations and keeps them up to date. An integration on Truto is a definition that every account reads, not code in your product. So one fix reaches every customer, and your team does not release anything.
Read more: handling API breaking changes across SaaS integrations.
7. Custom fields for each customer
What breaks. Two customers on the same CRM have different fields. One stores the deal region in a custom field, and the other uses a custom object. Code written against one test account maps the standard fields only. In-house, you fork the mapping for each customer.
How often. With every enterprise customer. The larger the customer, the more custom fields.
What Truto does. Truto lets you override the mapping for each connected account, with no fork of your code. You can also call the app's own API through Truto for anything the mapping does not cover.
Read more: custom fields and custom objects in Salesforce and how unified APIs handle custom fields.
8. Access control and audit for AI agents
What breaks. When an AI agent uses the integration, it acts with the customer's login. An agent with full access can change or delete records that it should only read. Security teams ask what the agent did, and you need a log for each request to answer.
How often. On every agent rollout, and on every security review.
What Truto does. Each connected account gets its own MCP server, with its own tools. You start read-only, then turn on changes one customer at a time. You pick which tools the agent gets, and the date its access ends. Truto keeps a log of each request for 7 to 90 days, by plan.
Summary: what AI writes, and what is left
| Job | What breaks | What Truto does |
|---|---|---|
| OAuth apps and reviews | Customers cannot connect until each app approves you | Ships a working OAuth app with many catalog integrations; Google app is CASA Tier 2 verified |
| Token refresh | Tokens expire or race, and customers are signed out | AES-256 at rest; refresh 60 to 180 s before expiry, one per account under a lock |
| Rate limits | Syncs get blocked; retries make it worse | Standard 429 with Retry-After; sync runs wait and continue |
| Pagination | Records go missing | Six styles become one next_cursor |
| Webhooks | Fake or lost events | Checks each app's signature; sends signed events, 5 attempts in 5 minutes |
| API changes | Calls fail on retired versions | Keeps catalog integrations up to date; one fix reaches every customer, no release |
| Custom fields | Mapping misses each customer's fields | Override the mapping per account |
| AI agent access | Agents do more than they should, with no record | One MCP server per account, chosen tools, an end date, request logs |
Which vendors handle the hard part
The vendors that answer this question fall into four types. Each type covers a different part of the list above.
- Unified API platforms give one API for a category of apps, such as CRM or HRIS, and run the logins behind it: Truto, Merge, Apideck and Unified.to.
- Auth and integration infrastructure runs the logins and the plumbing, and you write the integration logic: Nango and Ampersand.
- Tool platforms for AI agents give agents ready-made tools with each user's login: Composio and Arcade.
- Embedded iPaaS gives a workflow builder inside your product: Prismatic, Tray.ai, Workato and Paragon.
Truto covers all eight jobs on this page, for every connected account. Your code can call the unified API, the app's own API through Truto, or an MCP server. Your coding agent can build a missing integration with the Truto CLI, and Truto runs it from the first call. For a feature-by-feature view of these vendors, read the buyer's guide to unified APIs for AI agents.
What to do next
Let your coding agent write the integration. Then decide who runs it. See the cost of running it yourself, line by line, or get a free sandbox and connect your first account today.
FAQ
- Can AI write a SaaS integration?
- Yes. A coding agent such as Claude Code or Cursor writes a working integration against one account in an hour or less. The code is the small part. The work that stays is running the integration for every customer account, every day, after launch.
- What is the hardest part of an integration after the code is written?
- Running it. Each customer signs in with their own account, and each login must keep working: tokens expire, users revoke access, apps slow you down with rate limits, webhooks fail, and the app changes its API. Custom fields differ for each customer. If an AI agent uses the integration, you also need control over what it can do, and a log of what it did.
- Which vendors handle the hard part of integrations?
- Four types of vendor run some or all of it: unified API platforms (Truto, Merge, Apideck, Unified.to), auth and integration infrastructure (Nango, Ampersand), tool platforms for AI agents (Composio, Arcade) and embedded iPaaS (Prismatic, Tray.ai, Workato, Paragon). Truto runs the whole list on this page for every connected account, through one API or the app's own API.
- How often do SaaS integrations break?
- Often enough to need an owner. Google issues 7-day refresh tokens to apps in testing and revokes a token that is unused for six months. HubSpot limits a public app to 110 requests every 10 seconds per account. Salesforce retired API versions 21.0 to 30.0 in Summer '25. Each app has its own rules, and they change.
- Should I build integrations with AI or use an integration platform?
- Both. Let the coding agent write the integration logic, and run it on a platform that owns logins, limits, webhooks and API changes. With Truto, your coding agent can also build a missing integration with the Truto CLI, and the fix for one account reaches every account with no release on your side.
- Does Truto store my customers' data?
- Not by default. Truto fetches data from the app at the moment you ask and passes it through. Credentials are encrypted at rest with AES-256. Features that store data are off until you turn them on.