Table of contents

Add hundreds of integrations to your product through Merge’s Unified API
Get a demo

How to build integrations for AI agents

Jon Gitlin
Senior Content Marketing Manager
@Merge

As you look to build AI agents in your product, you’ll inevitably need to support integrations that can access and interact with your customers’ data.

To help you navigate this successfully, we’ll break down examples of AI agents that use integrations and your options for building and maintaining any integration.

But first, let’s align on why AI agents require integrations.

How integrations support AI agents

It comes down to a few key reasons.

Powers RAG pipelines

Integrations form the foundation of retrieval-augmented generation (RAG) pipelines, enabling AI agents to retrieve the context needed to effectively take actions on behalf of each user.

For example, say you offer a headcount analysis solution and support an AI agent to help users get more value from your platform. 

Using RAG, your AI agent can take a question (e.g., “What are the top drivers behind the recent surge in headcount costs?”) and use the customer’s integrated employee and payroll data to provide an answer—along with recommended next steps.

RAG pipeline to help an AI agent provide insights on growing headcount costs
How RAG can support an AI agent that answers customers’ questions on employee headcount

https://www.merge.dev/blog/agentic-rag?blog-related=image

Offers raw and normalized customer data

Each type of data can be valuable.

Normalized data, or data that’s transformed to fit a predefined data model, can remove sensitive information, unnecessary details, and duplicate data. 

Example of normalized file data
Fields related to a file's creation date can be normalized across file storage solutions

This clean, consistent data enables embedding algorithms to generate accurate vector representations before storing them in a vector database. This, in turn, lets your AI agent retrieve the most relevant data across supported workflows consistently.

Raw data, or data that isn’t altered from the customer’s application, helps your AI agent support unique workflows for individual customers.

For example, imagine you offer a product intelligence platform with an AI agent that listens to customer conversations. Based on those conversations, the agent generates recurring reports highlighting key themes.

Now say that a specific customer has a custom CRM object they’d like included and populated in these reports—”Use case(s).” Based on the use case(s) that keeps coming up, this customer’s product team could better prioritize which features to build over time.

Supports time-sensitive processes

Your AI agents may need to support time-sensitive workflows, like routing leads, de-provisioning a departing employee’s applications, creating and assigning tickets for a product bug, and more.

Integrations can help facilitate these use cases, among countless others, by supporting real or near real-time syncs with your customers’ systems.

Examples of AI agent integrations

To better understand how AI agents can use integrations, let’s break down a few real-world examples.

Proposal Writer uses file storage and CRM integrations to generate personalized offers

Ema, which lets you build and manage AI agents across teams, offers a Proposal Writer agent that takes customers’ prompts (e.g., write a proposal for a customer in X industry that needs Y plan) and uses integrated data, among other context, to generate compelling proposals within seconds.

It does this by leveraging similar proposals in the customer’s file storage system and by evaluating the notes, along with other helpful information, within the prospect’s opportunity page in the CRM.

Ema's Proposal Writer AI agent

https://www.merge.dev/blog/rag-vs-ai-agent?blog-related=image

Juicebox Agent uses ATS integrations to help surface high-fit candidates

Juicebox, which lets recruiters find and bring in talent, offers an agent that can surface thousands of high-fit candidates in seconds.

Here’s how it works: A user would click on a role they want candidates for (existing open roles are surfaced in Juicebox via the integrated applicant tracking system). 

How ATS integrations support Juicebox
Where the open roles appear in Juicebox

The agent then uses the integrated job description associated with the selected role, along with additional context, to kickoff its search.

Nova uses ATS and HRIS integrations to help HR teams manage countless tasks

Peoplelogic, the AI for HR platform, offers Nova, a suite of AI agents that can help HR teams perform specific tasks in Slack.  

To help their agents execute tasks on behalf of users successfully, they use integrated candidate and employee data. 

For example, a people ops leader can ask a Nova agent (“Shruti”) to remind every interviewer about their upcoming interviews that day on Slack. The people ops leader can also clarify when the messages should be sent and what context can be included.

How someone can make a request to Nova in Slack

Shruti can then determine which agent should take on the task (it would be “Noah”). And the assigned agent can use the integrated candidate data to send the messages on time, along with the appropriate context from their applications.

How one of Nova's AI agents can interview notifications

https://www.merge.dev/blog/how-to-build-ai-chatbot?blog-related=image

Integration options for AI agents

Here are your options for building integrations for customer-facing AI agents.

Native builds

This simply involves your developers building and maintaining the integrations themselves.

Pros

  • You have full control over which integrations get prioritized and how they should be built
  • You’re entrusting your own development team (who you know and trust) to build integrations—not a separate team you’re less familiar with 
  • You don’t have to worry about the 3rd-party integration provider going out of business, moving away from certain integrations, or doing anything else that would directly impact your product and your AI agents

Cons

  • Building each integration is incredibly complex and resource intensive. Since your AI agent likely needs to access dozens of systems, native integrations can be the wrong approach
  • Building and maintaining product integrations is often high pressure and unpleasant. For instance, when integrations break, your CS and leadership teams will know and will ask your devs to drop what they're working on to resolve it as soon as possible. This stressful and constant distraction can lead to burnout and turnover
  • Implementing integration observability tooling, such as issue detection notifications in an app like Datadog, can also take your engineers several weeks, if not months

For example, Will Decker, the Head of Engineering at BrightHire, an interview intelligence platform, shared the insight below in our case study:

“Building our own integration observability tooling to manage integrations would take our team at least 3 months.”

Embedded iPaaS solution

An embedded integration platform as a service (iPaaS) lets you build customer-facing integrations and automations through a workflow builder interface.

Embedded iPaaS visualization

Pros

  • Helps accelerate integration and automate development by providing pre-built connectors and automation templates
  • Lets you choose between implementing all the integrations and automations yourself and allowing customers to build and maintain the integrations (or a combination of both)

Cons

  • Forces you to become familiar with their UX and implement each individual integration, which can prove time and resource intensive for your team
  • Fails to provide robust integration management capabilities, like diagnosing specific integration issues
  • Don’t normalize data—you’ll have to do this work yourself

The CEO and co-founder of Peoplelogic, elaborates on that last point in our case study:

“Embedded iPaaS solutions can’t normalize our customers’ data, preventing our agents from providing accurate outputs, consistently.”

Model context protocol

Anthropic’s Model Context Protocol (MCP) lets AI agents interact with customers’ data via tools, or specific functionality and data exposed in an MCP server.

MCP overview visual

Pros

  • Lets AI agents act autonomously, as they can decide which tools to use based on users’ prompts
  • Most SaaS solutions have (or will) spun up MCP servers, making this approach usable for nearly any use case
  • Relatively easy to implement, as it offers a single, standard protocol for LLMs and SaaS providers to follow

Cons

  • Many fraudulent MCP servers (“Shadow servers”) are cropping up, and it can be hard to differentiate them from legitimate ones
  • The protocol is still in its infancy. It can change in negative ways or receive less support from data providers over time, making it unsuitable for your AI agents

Unified API platform

A unified API solution lets you add hundreds of cross-category integrations through a single integration build.

Unified API visual

Pros

  • Lets you support all the integrations your AI agent needs, quickly and easily
  • Some providers (like Merge) normalize all of the integrated data before syncing it with your product
  • Offer a seamless process for authenticating with an application (typically via a UI component that’s embedded in your product)

Cons

  • Most providers support limited types of data and/or integrations, making them a bad long-term fit
  • Some providers are relatively new (founded within the last two years), and their long-term viability is questionable
  • A few providers offer insecure integration methods when providers don’t support the relevant endpoints (e.g., “Assisted Integrations”)

Given all the integration methods to choose from, it can be hard to pinpoint the best option for your AI agent’s use cases.

You can follow the principle below as a general rule of thumb:

If your AI agent’s use case involves dynamic decision-making, opt for MCP; if the use case is static (i.e., follows a predefined workflow), use a unified API solution.

So, going back to our examples, Juicebox can use the unified API approach since their agent follows the same process every time when using integrated ATS data. On the other hand, Peoplelogic may want to leverage MCP because their agents’ workflows for executing tasks are less defined.

Access customer data via MCP and a unified API through Merge

Merge, the leading unified API solution, offers 220+ cross-category integrations, a full suite of integration observability features, advanced syncing features to access and interact with any data, and enterprise-grade security features to keep customer data secure.

Merge also provides Merge MCP—a server that lets your AI agent access all of Merge’s supported integrations and endpoints.

Visual of Merge MCP

Learn more about using Merge to support your AI agents’ integrations by scheduling a demo with one of our integration experts.

“It was the same process, go talk to their team, figure out their API. It was taking a lot of time. And then before we knew it, there was a laundry list of HR integrations being requested for our prospects and customers.”

Name
Position
Position
Jon Gitlin
Senior Content Marketing Manager
@Merge

Jon Gitlin is the Managing Editor of Merge's blog. He has several years of experience in the integration and automation space; before Merge, he worked at Workato, an integration platform as a service (iPaaS) solution, where he also managed the company's blog. In his free time he loves to watch soccer matches, go on long runs in parks, and explore local restaurants.

Read more

How to integrate with the SharePoint API via Python

Engineering

How to build integrations for AI agents

AI

Product development lifecycle: key stages and best practices

Insights

Subscribe to the Merge Blog

Get stories from Merge straight to your inbox

Subscribe

But Merge isn’t just a Unified 
API product. Merge is an integration platform to also manage customer integrations.  gradient text
But Merge isn’t just a Unified 
API product. Merge is an integration platform to also manage customer integrations.  gradient text
But Merge isn’t just a Unified 
API product. Merge is an integration platform to also manage customer integrations.  gradient text
But Merge isn’t just a Unified 
API product. Merge is an integration platform to also manage customer integrations.  gradient text