Skip to main content
Feedback

Creating a Sales Insight agent with MCP

The Boomi Platform lets you expose API endpoints in the API Control Plane as MCP (Model Context Protocol) tools, streamlining the development of AI agents. Since MCP tools are pre-configured, you can attach them and continue building your agent. Refer to MCP Overview to learn more.

You'll use the following services in the Boomi Platform to build an AI agent with MCP tools from API Control Plane:

  • icon Agentstudio
  • icon Integration
  • icon API Management and API Gateway
  • icon API Control Plane

Prerequisites

  • Processes created in Integration. Since we're creating a Sales agent, these processes can query your CRM for opportunities and leads. For example, with Salesforce you can create an integration that queries Salesforce opportunities. Refer to Creating a Sales Visualization agent for an example of a CRM integration process.

web services server operation example

  • Your processes deployed as API endpoints in API Management on the API Gateway. Refer to Creating an API service component for steps to deploy your process as an API endpoint in API Management.

  • A CRM, such as Salesforce, that contains sales data.

Agent overview

In this example, we'll build an agent that:

  • Connects to a remote MCP server that contains MCP tools created in API Control Plane. The MCP tools contain API endpoints that get information from your CRM.
  • Uses the MCP tools to provide opportunity and lead analysis to your sales team.

diagram of steps to building an agent with MCP tools

Step 1: Expose API endpoints as MCP tools

Before you begin, ensure your processes are deployed as API endpoints on the Gateway in API Management.

  1. Navigate to API Control Plane > Environments.
  2. Select the Environment where your API is attached.
  3. Navigate to Actions > Discover and select Discover APIs and Discover Components.
  4. Select Discover.
  5. Select API Products.
  6. Select Create New API Product.
    1. Add a technical name and display name for your API product. The name cannot contain spaces.
    2. Optional: Enter an Owner name.
  7. Select Create New API Product.
  8. Select Plans > Create New Plan or select an existing plan.
    1. Enter a display name.
    2. Configure your quota and rate limits.
  9. Navigate to API Products > Assigned APIs.
  10. Select Assign on all API endpoints you want to add as tools for your agent.
  11. In Plans, select Assign to assign the plan you created.
  12. Navigate to Applications > Create New Application.
    1. Enter a display name.
    2. Ensure the toggle is set to Active.
    3. Select Create New Application.
  13. Navigate to API Products > Subscriptions > Subscribe.
  14. Select Subscribe next to your API product.
  15. Select the application you created in step 12.
  16. Select Subscribe.
  17. In API Product > Overview click the arrow next to MCP status.
  18. In Visibility, select Expose APIs as Tools.
  19. Select Save.
  20. Navigate to Applications.
  21. Select your application.
  22. In Subscriptions, select the Subscription for your API product. Notice the green MCP enabled tag. Select Secrets. screenshot of Secrets button
  23. In MCP Credentials, you'll notice an AI Agent Key and an MCP address. Copy the MCP address and the AI Agent key to set up your source in Agent Designer.

Step 2: Import MCP tools in Agent Designer

  1. In Agentstudio > Agent Garden, navigate to the Sources tab.
  2. Select Create New Source > MCP > Add Source.
  3. Enter a name for the source. For example, Sales Data.
  4. Enter a description for the source to note what types of tools are included.
  5. Select SSE as the Transport type.
  6. Copy the MCP address from the API Control Plane and paste it into the URL field.
  7. Select None in Authentication.
  8. In Headers, add a header.
    1. In Header Name enter x-agent-key.
    2. Paste the Agent key from the API Control Plane.
  9. Select Test Connection.
  10. Select Discover Tools.
  11. Select the tools (API endpoints) you want to import.
  12. Select Continue.
  13. Select Save.

Step 3: Build your agent

  1. Navigate to Agentstudio > Agent Garden > Agent Designer.
  2. Select Blank Template > Build with AI and create your version of the agent that you customize to your needs. Refer to Building an agent for assistance. You can also use the following steps as guidance to configure your agent.
  3. In Profile, set the following:
    • Goal: Provide comprehensive sales intelligence and lead analysis to help sales team members make data-driven decisions about opportunities and client targeting.
    • Agent Name: SalesInsightAI
    • Personality:
      • Creativity: 75
      • Decisiveness: 90
      • Clarity: 95
      • Configdence: 85
      • Engagement: 88
    • Voice: Professional
    • Conversation Starter: Can you show me insights about my open opportunities.
  4. In Tasks, add a task for your agent called "Get Opportunity Data".
    • Name: Get Opportunity data
    • Description: Retrieve comprehensive opportunity data from CRM (enter name of CRM).
  5. In Instructions, enter "Call the get opportunities tool to retrieve opportunity dataset." and "Prepare data for analysis."
  6. In Tools, click Add New Tool. Select the MCP tool or tools your agent needs to complete the task. screenshot of adding a tool
  7. Select Updated Selected Tool.
  8. Repeat steps 3-5 for any additional tasks you've added to your agent. Refer to Writing tasks and instructions for assistance.
  9. In Guardrails, add safety mechanisms. Refer to Creating guardrails for assistance. The following guadrails are examples.
    • Blocked message: "I can only provide sales data and analysis."
    • Denied topics:
      • Bribery
      • Sales advice
    • Word filters:
      • advice
      • tactic
      • illegal
      • bribe
  10. Select Save.
  11. Test your agent in the Test Agent window. Refer to Testing and Troubleshooting an agent for assistance.
  12. Click Save & Continue.
  13. Select Deploy Agent. Start using the agent in the conversation user interface.

here's an example of a possible output:

screenshot of the agent output in chat

On this Page