How It Works

APIs and AI: How Your Business Systems Talk to AI

The honest, plain-English guide to how your accounting software, CRM, and job-booking tools connect to AI — and what actually happens when they do.

14 min read July 2026 Token by Token

Quick answer: how APIs connect AI to business software

An API lets one system send structured information to another system and receive a structured result back. In an AI workflow, your CRM, accounting tool, job-management app, or document store sends the right data to an AI model through an API; the AI analyses, extracts, drafts, or classifies the information; then the result returns to the business system for a person or workflow to approve.

  • Best use: repeated tasks with clear inputs, high volume, and a human review point.
  • Biggest risk: messy data, weak permissions, or automating decisions before the workflow is understood.
  • Practical next step: test the AI task manually first, then automate only the stable hand-off.

The question behind the connection

You have heard that AI can save your business time. You have probably used ChatGPT to draft an email or asked Claude to summarise a document. But when someone says, "We can integrate AI into your job management system," or "Your CRM can talk to the AI automatically," what they are really talking about is an API. And if you are like most Australian small business owners, that three-letter word makes you tune out.

You should not tune out. Because APIs are the bridge between your existing software and the AI tools that are being pitched to you every week. Understanding how that bridge works — and where it falls down — is the difference between a smooth automation and a system that costs you money while your staff swear at their screens.

This article is not for software engineers. It is for the tradie who wants job notes turned into quotes without copying and pasting. It is for the mortgage broker who wants client data analysed without retyping everything into a chat box. It is for the accountant who wants to automate compliance checks across hundreds of files. You do not need to write code to understand what is happening under the hood. You just need someone to explain it without the theatre.

"AI is not magic. It's a very fast, very patient, very literal assistant that has read most of the internet and can pattern-match against what you give it. The trick is knowing what to ask and how to keep it honest."

— The working definition I use with clients

What is an API, really?

API stands for Application Programming Interface. Which is a terrible name. It makes it sound like something only developers care about. But the idea is simple: an API is just a structured way for two pieces of software to talk to each other.

Think of it like the menu at your local café. You walk in, you look at the menu, and you order a flat white. You do not walk into the kitchen and tell the barista how to steam the milk. You do not inspect the coffee machine. You do not negotiate with the supplier. You just read the menu, make your choice, and the café gives you what you asked for.

The menu is the API. It lists the things you can ask for. It tells you what information you need to provide — "large or small?" "Skim or oat?" — and it tells you what you will get back. If you order something that is not on the menu, the café says no. If you ask for a flat white and give them the right money, you get a flat white. Every time.

Your business software works the same way. Your job management system — say, ServiceM8 or Fergus — has an API. Your accounting software — Xero or MYOB — has an API. The AI service you want to use — OpenAI, Anthropic, Google — has an API. When you "integrate" them, you are really just teaching one system how to read the other system's menu and place orders automatically.

The key thing to remember: an API is a contract. It says, "If you send me this specific information in this specific format, I will do this specific thing and send you back a result." No pleasantries. No guesses. Just a very literal exchange of structured messages.

The anatomy of an API call

Let us pull apart one of these "messages" so you can see what is actually travelling across the internet when your system "talks" to an AI.

Every API call has a few essential parts. I will explain each one, then give you the café analogy again so it sticks.

The endpoint (the address)

The endpoint is a web address — a URL — that tells your system where to send the message. It is like the street address of the café. If you do not know the address, you cannot place an order. Every API has a base address, and then different paths for different services. One path might be for sending text to be analysed. Another might be for uploading a document. Another might be for checking your account balance.

The request (the order)

The request is the actual message your software sends. It has to be written in a format both systems understand. The most common format is called JSON, which stands for JavaScript Object Notation. Do not worry about the name. It is just a way of organising information that looks like a labelled list:

{ "customer_name": "Sarah Chen", "job_type": "Electrical repair", "notes": "Switchboard upgrade required. Quote needed by Friday.", "urgency": "high" }

That is a JSON request. It is not code. It is just information with labels. Your software sends that to the AI's API, and the AI reads it and knows what to do.

The method (the type of order)

When software talks to an API, it does not just "send" things blindly. It uses specific methods — commands — that tell the other system what kind of action it wants. The most common ones are:

The response (what comes back)

After the AI receives your request, it does its work and sends back a response. The response also has a structure. It usually includes a status code — a three-digit number that tells you whether everything worked. 200 means "all good." 404 means "I could not find what you asked for." 500 means "something went wrong on my end." And then the response includes the actual answer or result, also in JSON format.

The café analogy, revisited

Imagine you walk into a café that only takes orders by fax. (Stay with me.)

That is an API call. Structured, predictable, and utterly dependent on both sides following the rules.

How APIs connect your business to AI

Now that you know what an API is, here is how it actually plays out when your business systems connect to AI. There are three main patterns, and understanding which one you need will save you months of frustration.

Pattern 1: Send data to AI (one-way)

This is the simplest pattern. Your system collects some data — a client email, a job description, a spreadsheet row — and sends it to the AI via an API. The AI analyses it, generates a response, and sends that response back to your system. Your system then shows it to a human or saves it somewhere.

Example: Your job management system automatically sends the text of a client's vague email to an AI. The AI returns a structured list of tasks and materials. Your system turns that into a draft quote. A human reviews it before sending.

This pattern is popular because it is low-risk. The AI is not changing anything directly. It is just suggesting. The human is still in the loop. But it is also limited, because someone has to manually trigger it or build a workflow that handles the hand-off.

Pattern 2: Get AI output back (one-way, triggered)

This is similar to the first pattern, but the AI is the initiator. Something happens inside the AI system — a scheduled job, a trigger, a monitoring alert — and the AI sends information to your system via its API. Your system receives it and acts on it.

Example: An AI monitoring tool watches your website's enquiry form. When a new lead comes in, the AI scores the lead's urgency based on the message content, then POSTs that score to your CRM via the CRM's API. Your CRM automatically flags it for follow-up.

This pattern is powerful for automation, but it requires your system to have an API that can receive data as well as send it. Not all small business tools do. And it introduces risk: if the AI makes a bad call, your system acts on it before a human sees it.

Pattern 3: Bidirectional flows (the real integration)

This is where the magic happens — and where the complexity lives. In a bidirectional flow, your system and the AI talk back and forth. Your system sends data, the AI asks for clarification, your system sends more data, the AI updates a record, your system confirms the update, and so on.

Example: A mortgage broker's CRM sends a client's loan application documents to an AI for analysis. The AI reads the documents and sends back a list of missing items. The CRM automatically creates tasks for the broker's assistant. When the assistant uploads the missing documents, the CRM sends them to the AI again. The AI confirms completeness and updates the client's status in the CRM directly.

This is the pattern that makes business owners say, "That is exactly what I want." It is also the pattern that makes developers say, "That will take six weeks and require error handling for forty edge cases." Both statements are true.

Real examples from real businesses

Theory is fine, but let us look at what this looks like on the ground for three Australian small businesses. These are composites of actual setups I have seen in the field — names changed, but the mechanics are real.

Example 1: The electrician (tradesperson)

Mark runs a five-person electrical business in Brisbane. He uses Fergus for job management. Every morning, his apprentices dump site notes into Fergus — messy, half-sentenced observations about what needs doing. Mark used to spend an hour every evening turning those notes into formal quotes.

Now, Fergus sends those notes to the OpenAI API via a Zapier connection. The AI returns a structured quote with line items, labour estimates, and material suggestions. The draft quote lands in Mark's inbox by 6 pm. He reviews it, adjusts the prices, and clicks send. The whole thing costs him about $0.40 per day in API fees.

  • What works: The AI handles the boring formatting. Mark still controls the pricing and the final decision.
  • What broke: Early on, the AI occasionally invented part numbers that did not exist. Mark now includes a prompt instruction: "Use only part numbers from our approved supplier catalogue."
  • Time saved: Roughly five hours per week.
  • Cost: ~$10 per month in API calls, plus $25 per month for Zapier.

Example 2: The mortgage broker (finance professional)

Sophie is a mortgage broker in Melbourne with a team of three. She uses a CRM called Mercury Nexus (common in Australian broking) and receives loan application PDFs from multiple lenders. Each application is 30 to 80 pages. Her team used to manually check each one against a compliance checklist — a process that took 45 minutes per file.

Now, when a PDF arrives, her CRM triggers a webhook (a type of API call) that sends the document to an AI parsing service. The AI extracts the key data points — income, liabilities, property value, LVR — and sends them back to the CRM, which auto-populates the client record. Then a second API call sends the extracted data to an AI reasoning engine that flags any compliance risks. The whole pipeline runs in under three minutes.

  • What works: The AI does the mechanical reading. Sophie's team focuses on client relationships and complex exceptions.
  • What broke: One lender changed their PDF format without warning. The parsing API failed for two days until Sophie's developer adjusted the extraction rules. They now monitor for format changes.
  • Time saved: Roughly 20 hours per week across the team.
  • Cost: ~$180 per month in API and parsing fees, plus $2,400 for the initial integration build.

Example 3: The accountant (professional services)

Raj runs a boutique accounting firm in Perth with twelve staff. They process BAS, tax returns, and compliance work for about 400 small business clients. Every quarter, Raj's team receives thousands of bank statements, invoices, and receipts. They used to manually categorise every transaction.

Now, Raj's document management system sends each uploaded document to an AI classification API. The AI reads the document, determines what it is (bank statement, invoice, receipt), extracts the key figures, and sends structured data back to the practice management system. For bank statements, the AI also flags unusual transactions — large cash withdrawals, duplicate payments, transactions on public holidays — and sends alerts to the relevant accountant.

  • What works: The AI handles high-volume, low-complexity categorisation. The accountants review the flagged items and handle the nuanced judgement calls.
  • What broke: During the first quarter, the AI misclassified a client's personal bank statement as a business statement because the file name was ambiguous. The error was caught in review, but it reminded Raj's team that AI classification is probabilistic, not certain.
  • Time saved: Roughly 35 hours per week during peak periods.
  • Cost: ~$450 per month in API fees, plus $5,500 for the custom integration and training.

API keys, tokens, and keeping things safe

If there is one thing that makes business owners nervous about APIs, it is security. And they are right to be nervous. APIs are doors, and doors need locks.

When you sign up for an AI service like OpenAI, Anthropic, or Google, you receive an API key. This is a long string of random characters — something like sk-live-abc123xyz789 — that acts as both your identity and your password. Every time your software sends a request to the AI, it includes this key. The AI company looks at the key, knows who you are, checks whether you have credit in your account, and decides whether to process the request.

What you must protect

What you do not need to worry about

The practical security checklist

If you are working with a developer to build an API integration, ask them these questions:

  1. Where is the API key stored? (It should be in a secure vault or environment variable, never in the code.)
  2. Is there rate limiting? (This prevents an attacker who steals your key from running up a massive bill in minutes.)
  3. Are webhook signatures being verified? (This prevents fake data being injected into your system.)
  4. Is there an audit log? (Can you see what was sent, when, and by which system?)

If your developer cannot answer these questions confidently, you need a different developer.

What goes wrong when APIs break

Here is the section the sales brochures skip. APIs are reliable most of the time, but "most of the time" is not good enough when your business depends on them.

Rate limits

Every API has a rate limit — a cap on how many requests you can send in a given period. OpenAI might allow 3,500 requests per minute on one tier, or 60 on another. If you exceed the limit, the API rejects your request and returns a 429 status code. Your software has to wait and retry.

For a small business, rate limits are usually not a problem. But they become a problem during bulk operations. If Raj's accounting firm tries to process 4,000 documents in one hour at the end of a quarter, they will hit the rate limit. The system either needs to queue the jobs and process them slowly, or they need to upgrade their API tier.

Breaking changes

API providers occasionally update their systems. They might change the format of requests, remove old features, or rename data fields. When they do this, they usually release a new "version" of the API. If your software is still talking to the old version, it might suddenly stop working.

In 2023, OpenAI released a major update that deprecated several older model endpoints. Businesses that had built integrations on those endpoints had to update their code within a few months or lose functionality. The fix is usually a few hours of developer time, but if you do not have a developer on call, that "few hours" becomes "a few days" and your workflow breaks in the meantime.

Downtime and latency

AI APIs can go down. The provider's servers might be overloaded. There might be a network outage between Australia and the data centre in the United States. The API might not be "down" in the binary sense, but it might be so slow that your software gives up waiting.

Good integrations build in "graceful degradation." If the AI API is slow or down, the system falls back to a human queue or a cached response. Bad integrations just throw an error and leave the user staring at a loading spinner.

Version mismatches

Your job management system might update its API without telling you. Your AI provider might release a new model that behaves differently. When two systems are talking to each other, a change on either side can break the conversation. This is why integrations need ongoing maintenance — not just a one-time build.

"The demo is the easy part. The hard part is making it survive contact with real people, real data, and real deadlines for six months without breaking someone's trust."

— Something I remind every client before they green-light an integration project

What this actually costs and takes

Let us talk numbers. Because "AI integration" can mean anything from a $20-a-month Zapier link to a $40,000 custom build. Knowing the difference is how you avoid getting quoted for a Lamborghini when you need a ute.

The no-code tier (Zapier, Make, n8n)

If your tools have pre-built connectors, you can often link them without writing code. Zapier costs roughly $25 to $100 per month depending on volume. Make and n8n are cheaper but require more setup knowledge.

The custom integration tier (developer-built)

If you need bidirectional flows, custom data transformation, or integration with niche Australian business tools, you need a developer. In Australia, a competent freelance developer charges $120 to $200 per hour. A small agency charges $150 to $250 per hour.

The AI API usage costs

On top of the integration cost, you pay for every API call. These costs are usually trivial for small businesses but scale with volume. For a typical small business using a mid-tier model:

If you are processing thousands of documents per month, these costs become a real line item. If you are processing dozens, they are background noise.

The hidden cost: time and attention

The biggest cost is not money. It is the time you and your team spend managing the integration, checking its outputs, fixing errors, and retraining staff when workflows change. An integration that saves 10 hours a week but requires 3 hours a week of babysitting is still worth it — but you need to account for those 3 hours honestly.

Reality check: when you need an API and when you do not

Not every business needs a custom API integration. In fact, most small businesses do not. Here is how to tell whether you are in the "build it" camp or the "buy it" camp.

You probably do NOT need an API integration if:

You probably DO need an API integration if:

The middle ground: assisted workflows

There is a large territory between "fully manual" and "fully automated." An assisted workflow uses an API for the mechanical parts but keeps a human at the decision points. For example, the AI extracts data from a document and pre-fills a form, but a human clicks "approve" before the data is saved. This gives you 80 percent of the time savings with 20 percent of the risk.

Not sure if you need an integration?

If you want a plain-English assessment of whether your workflow is worth automating — and what it would actually cost to build — get in touch. We will help you figure out if you are ready for APIs, or if a simpler approach will get you the same result for less money and less headache.

What to do next

If you have read this far, you already know more about APIs and AI than most people selling "AI integration" services expect their clients to know. That is a good thing. It means you can ask better questions and avoid bad advice.

Here is a practical checklist for what to do next, depending on where you are in your journey:

  1. Audit your current software. Make a list of every tool you use daily — your CRM, accounting software, job management system, email platform, document storage. Check whether each one has an API. (Google "[tool name] API documentation" and see if a developer portal exists.)
  2. Identify your highest-friction task. What is the thing that makes you or your staff say, "I hate doing this"? Is it copying data between systems? Is it retyping notes? Is it checking compliance? Pick one task.
  3. Test the AI manually first. Before you pay for an integration, test the AI step manually. Copy the data into ChatGPT or Claude and see if the output is actually useful. If the AI cannot do the task well when a human is guiding it, it will not do it better when automated.
  4. Calculate the real return. Estimate how many hours per week the task currently takes. Multiply by your hourly rate or your staff's hourly cost. Compare that to the estimated build and running cost of an integration. If the payback period is under six months, it is worth considering.
  5. Talk to a developer who speaks plainly. If you decide to build something, find a developer or consultant who explains things in your language, not theirs. If they cannot explain the integration to you without jargon, they do not understand it well enough to build it reliably.
  6. Start small. Build the simplest version that works for one use case. Get it running smoothly for a month before expanding. The temptation is to automate everything at once. Resist it. The businesses that succeed with AI integrations are the ones that add complexity slowly.

APIs are not magic. They are plumbing. Good plumbing makes your business run smoothly. Bad plumbing floods your basement. The difference is not the technology — it is the planning, the honesty about what can go wrong, and the willingness to maintain what you build.

The businesses that get this right are not the ones with the biggest budgets. They are the ones that asked the right questions before they started.