Table of contents
The short answer
An AI agent integration is a bridge. On one side is a model that can understand and plan. On the other is a real business system that can take an action or return current data.
Without that bridge, an agent only knows what's in the chat or its general training. It can suggest things. But it can't update a CRM record, send a real email or open a support ticket. The integration is what turns a suggestion into an action you can check. To see how integrations link to AI agent tools and MCP, see those dedicated guides.
Why an agent needs integrations at all
A language model on its own takes in text and writes text. It doesn't know a specific customer's balance, a shipment's status or the last open support ticket. That information lives inside your business systems, not inside the model.
Even if you fed it that information by hand every time, it still couldn't change anything. It can't add a row to a table or update an order's status unless an integration gives it real access to that system.
So what separates an assistant that gives general advice from an agent that acts for you? Mostly, it's the integrations it has — not how smart the model is.
Read vs write integrations
Always tell apart the two kinds of access an integration gives an agent:
- Read: pulling data in to add to the agent's context, such as reading a customer record or an order's status. Nothing changes in the source system.
- Write: taking an action that changes the system, such as creating a ticket, updating a field or sending a message. This is where the real risk lives.
Most useful integrations start with read access, because the risk is fairly low. Write permissions are usually added step by step and kept narrow. Often, a human oversees actions that are sensitive or hard to undo.
A practical rollout order for each new system:
- Read-only: the agent uses the data to answer and draft, but changes nothing. Check that it reads the right records.
- Write with approval: the agent prepares the change (a ticket update, a reply, an order status) and a person approves it.
- Narrow direct writes: once the logs show the approved changes were consistently correct, let the agent run low-risk, reversible writes on its own. Keep approval for anything financial or hard to undo.
Common integration categories
The integrations that link agents to business systems tend to fall into the same groups across industries. These are sample examples, not a full list:
- CRM systems: reading a customer's record and past contact, and maybe writing a note or updating a deal's stage.
- Email: reading related incoming messages, and maybe drafting or sending a reply.
- Calendars: reading free time slots, and maybe booking or moving an appointment.
- Support and ticketing systems: reading an open ticket and its context, and maybe creating a ticket or updating its status.
- Ecommerce: reading order status or stock, and maybe updating a shipment or paying a refund within set limits.
- Finance tools: reading an invoice or balance. Write access is very limited and usually monitored, because this data is so sensitive.
- Databases: reading the result of a limited query. Writes are usually kept to very narrow permissions.
- Team tools: reading a shared message or document, and maybe posting an update to a team channel.
For businesses in Saudi Arabia, the same categories include regional systems: store platforms such as Salla and Zid, WhatsApp as a customer channel, and e-invoicing checks through ZATCA. What an agent can do in each depends on the connector's supported actions and the scopes you grant.
These groups are examples only. For the actual list of connectors in Wkil, see the integrations page. For details on linking a specific vendor to your agent, see that vendor's page.
What makes an integration agent-ready
Not every API suits an agent that makes decisions and calls tools without someone watching every step. An integration that's ready for agents usually has:
- Clear schemas: an exact description of expected inputs and outputs, so the model calls the tool correctly instead of guessing.
- Scoped auth: access limited to what the agent actually needs, not open access to the whole system.
- Idempotent writes: so retrying a call after an error doesn't repeat the same action by accident.
- Useful error messages: clear enough about why something failed that the agent — or a person watching — can choose the right next step instead of guessing.
Worked example: a read-then-write CRM integration
A sales agent qualifies inbound leads from a website form. The integration works in two stages:
- Read: search the CRM by email address. If a contact exists, read the company, owner and last contact date. If two contacts share the email, the agent stops and flags the duplicate, instead of guessing which one to update.
- Write: create a deal and a note. The create call includes the lead's form submission ID as an idempotency key, so a retry after a timeout returns the existing deal rather than creating a second one.
The read scope is contacts and deals. The write scope excludes deleting records and changing the owner, which stay with the sales manager. Both scopes are checked before the first live lead arrives.
Common failure modes
Even well-built integrations fail in familiar ways. Plan for these:
- Stale data: reading a cached or delayed copy of a system means the agent decides based on information that's no longer accurate.
- Rate limits: going over the allowed number of calls stops the integration for a while, at a time you can't predict.
- Partial writes: an action with several steps fails halfway and leaves the system in an unfinished state that's hard to trace.
- Permission drift: permissions given for a short-term need stay active after the need is gone. This quietly widens the risk.
How MCP relates to integrations
MCP (Model Context Protocol) isn't a new kind of integration. It's a standard way to offer the same read and write integrations through one interface that any agent supporting the protocol understands.
Instead of building a custom link for every system and every agent, one MCP server can offer a system's read and write tools to any compatible client. This doesn't remove the need to build an integration with the qualities listed above. It just gives you a standard way to deliver it.
Integration category → read → write → risk to control
| Integration category | What the agent typically reads | What it may write | Typical risk to control |
|---|---|---|---|
| CRM | Customer record, interaction history, deal stage | A note, a field update, a deal stage change | Writing to the wrong record due to inexact identity matching |
| Relevant incoming messages | Drafting or sending a reply | Sending to the wrong recipient or leaking sensitive content | |
| Calendars | Available slots and existing appointments | Booking or rescheduling an appointment | Double-booking or an unintended cancellation |
| Support/ticketing | Open ticket details and its history | Creating a ticket or updating its status | Closing a ticket before the issue is actually resolved |
| Ecommerce | Order status and inventory | Updating a shipment or issuing a refund within limits | Unauthorised refund amount or scope |
| Finance tools | An invoice or account balance | Very limited, typically monitored writes | Overly broad access to sensitive financial data |
| Databases | A scoped query result | Narrowly scoped writes, if allowed at all | A broad query exposing data beyond what the agent needs |
| Collaboration tools | A shared message or document | Posting an update to a channel or document | Posting sensitive information to the wrong channel |
FAQ
Ready to build your first digital employee?
Start building an agent on the platform, or browse the ready-made Agent Marketplace.