All articles
Integrations
CRM and integrations7 min

Legacy CRM Without an API: How to Connect AI When There Is No Integration

Your company runs on a CRM that holds ten years of customer history: an in-house system, an on-premise version nobody has updated in years, or a product whose vendor quietly left the market. You would like an AI agent to answer customers about order status, log enquiries from WhatsApp or Telegram, or send a morning list of stalled deals. Then the developer reads the documentation and says: "There is no API, so there is nothing to integrate with." The conversation usually ends with a proposal to migrate to a new CRM. This article covers what you can do before that: five working ways to connect AI to a legacy system, where each one breaks, and the order in which to try them.

First, confirm there really is no API

"No API" often means "nobody looked properly". Spend a day checking before you build any workaround:

  • Admin settings and documentation. Look for sections called Integrations, Data Exchange, Web Services or External Apps. Sometimes an API exists but sits behind a toggle or a separate licence.
  • The browser itself. If the CRM runs in a browser, its pages almost certainly fetch data from an internal server. That is an unofficial API: usable, but with no promise it will stay the same.
  • Built-in export. Many older systems can drop files into a server folder on a schedule. That is already a channel.
  • Where the database lives. If the CRM is hosted on your own server, the data sits in a standard database such as MS SQL, PostgreSQL, MySQL or Firebird.
  • The original developer. If the system was built for you, there may be exchange modules that were simply never switched on.

Five workarounds at a glance

Every approach either reads data or writes to the CRM. Reading is almost always safer, so start there even if your end goal involves writing.

ApproachRead / writeData freshnessMain risk
Scheduled exports (CSV, Excel)Read; write via importDelayed: hourly or dailyFile format changes without notice
Direct database readsReadNear real timeLoad on the database, accidental edits
CRM email notificationsRead eventsMinutesEmails go missing or templates change
UI automation (RPA)Read and writeMinutesBreaks whenever the screen changes
A middle layerRead and write to its own storeAs fresh as its sourceTwo systems to reconcile

Read-only routes: exports, database and email

Scheduled exports are dull and dependable. The CRM writes out a file of customers, deals or orders every hour or every night; a script picks it up, validates it and loads it into a table the AI can query safely. This suits a daily management summary or finding customers nobody has contacted in a month. It does not suit "where is my order?" because the status may have changed ten minutes ago. We cover turning such files into regular reporting in reports in Excel and Google Sheets that build themselves.

Direct database reads give the freshest data but need discipline:

  • Create a separate database user that can only read the tables you need. Never write straight into another application's database: you do not know what checks and linked records the CRM creates when it saves.
  • If the database is busy, read from a replica or a nightly copy so a heavy query does not slow your sales team down.
  • Ask your administrator for a few readable views ("customers", "open deals", "orders with status") so the agent never has to guess what a table called "T_CL_02" means.
  • Expose only the fields the task needs. Personal data rules apply wherever your customers are — UK GDPR, UAE data protection law, or Uzbekistan's personal data law.

Email notifications. Many legacy CRMs send messages such as "new enquiry" or "deal moved to stage". Route them to a dedicated mailbox the AI reads: it extracts the deal number, customer and stage, then alerts the right person in Slack, Teams or Telegram. This gives you events, not the full picture, so it works best alongside exports or database reads. See how AI handles this in email triage for a shared inbox.

When you must write: UI automation

A robot — an RPA script or browser automation — uses the CRM like a person: logs in, opens a record, fills in fields, clicks Save. Some AI models can now navigate interfaces from screenshots, which makes this less fragile, but not robust. It is the only way to write to a system without an API while letting the CRM run its own validation. It is also the most brittle option:

  • a redesign, a moved button or a new pop-up stops the script;
  • it is slow — seconds per record rather than milliseconds;
  • the robot needs its own restricted account so the audit log shows who made each change;
  • a wrong write lands straight in live data.

That is why we only use UI writes with human approval: the agent prepares the change, a manager confirms, the robot enters it. The approval check has to live in code, not in a team agreement — we explain why using our own mistake in the approval gate incident review.

The middle layer option

Instead of forcing AI to work inside the old system, you place a small database of your own next to it. New enquiries from your website, messengers and calls land there first; the agent replies straight away, qualifies the lead and assigns an owner. Records move into the legacy CRM in batches — by import, robot or by hand once a day — and exports flow the other way. The agent stays fast and predictable while the old CRM remains the record of history. The cost is reconciliation: match records by phone number and customer ID, and decide which system owns each field, or duplicates will creep in. Over time this layer often becomes the foundation for a calm migration.

A step-by-step plan

  1. Pick one task, such as "answer order-status questions on WhatsApp", not "connect AI to the CRM".
  2. Decide whether you need to write. Reading covers about half of typical requests.
  3. Check for a hidden API using the list above.
  4. Choose the simplest route that works: export → database → email → middle layer → UI automation.
  5. Run in shadow mode for a week. The agent drafts answers and changes; a person only reviews them.
  6. Add monitoring. Alert when an export is missing, a robot fails or a file format changes. A silent failure is worse than a loud one.
  7. Decide on migration with facts. After a month you will know how much effort the workaround really costs to maintain.

FAQ

Wouldn't it be easier to move to a modern CRM straight away?

Sometimes. But migration means moving history, retraining staff and months of running two systems. A workaround gets you value from AI now and lets you decide on migration based on real usage. If you have already chosen, see how an agent works with amoCRM.

Is it legal to read the CRM database directly?

The data is yours, but the software licence may restrict direct database access or changes. Check the licence agreement first and, if the system is still under support, tell the vendor.

What happens if the CRM updates and the robot breaks?

The script stops. You need a failure alert and a manual fallback until it is fixed. For critical processes, avoid UI automation altogether if an export or middle layer will do.

How much does this cost?

It depends on the route, the state of the database and data volume. The first conversation is there to work out which approach fits your system and to estimate it. Get in touch. More examples are in our integrations section and on the AI agents page.

Subscribe to AI Insights

Case studies, tips and AI automation trends — weekly

Want similar results?

Get a free consultation and ROI calculation for your company

Free Consultation

Related Articles

Integrations

Instagram API Limits in 2026: What a DM Bot Can and Cannot Do, and How to Plan Around It

A map of what the official Instagram API allows a bot to do: when you may message a customer, why long replies fail, and what to check before going live.

Integrations

Telegram Mini Apps for Business: Catalog, Booking and Payments Inside the Messenger

What a Telegram Mini App does better than a chat bot, how to connect it to your stock, calendar and an AI agent, and what to test before launch.

Integrations

Telegram Business: How to Connect a Bot to Your Company's Personal Account So It Replies to Customers in Your Name

Customers message your manager directly, not your bot. Here is how Telegram Business lets a bot answer from a personal account, what it can and cannot do, and how to keep it from embarrassing you.

Integrations

Shared inbox triage: how AI reads incoming email and routes it to the right person

A shared info@ inbox is where leads and complaints get lost. Here is how AI reads each email, sets topic and urgency, and hands it to the right owner.

Integrations

Excel and Google Sheets Reports That Build Themselves: How the Pipeline Works and Where AI Fits

What a self-updating report is made of, why formulas rather than AI should calculate the numbers, and how to launch your first one without rework.

Integrations

Webhooks in Plain English: How Your Business Systems Pass Data to Each Other and Why Leads Sometimes Go Missing

How your website, CRM, bot and payment provider notify each other about events, why leads and payments sometimes get lost, and what to ask your vendor.

Legacy CRM Without an API: How to Connect AI Anyway | UNIKA