Skip to main content

Activity 1: API Tools for an AI Agent

Your fictional company, Precision Source Manufacturing, wants to improve its part quoting process by empowering teams to proactively address quote creation by leveraging real-time data. Your task is to create an intelligent agent that allows employees to input a Bill of Materials (BOM), detect which parts are available within the internal system, get real-time availability data, and output a potential quote. This activity provides instructions for two tools you can connect to your agent to surface parts data and understand the live state of these parts.

To get the Precision Source Manufacturing Quote Parts Agent ready to be helpful, you will create multiple AI Agent Tools that support a proactive customer experience strategy. First, you will create the Parts DataHub Tool, which aggregates and exposes unified parts data across systems to provide a complete, trusted view. Next, you will build the PIM API Tool, designed to surface and expose key pricing and availability information that helps the AI agent identify part availability.

In this activity, you will complete the following:

  • Building the Parts Query API Tool
  • Building the PIM API Tool

Building the Parts Query API Tool

  1. Select the AI button in the top right.

    AI Button

    note

    This will open in a new window.

  2. If this is your first time accessing Agentstudio, it will look like this:

    Agentstudio Welcome Screen

  3. Select Get Started.

  4. Accept the Terms and Conditions.

    note

    Make sure to use the same account throughout your work for Integration and Agentstudio.

  5. Select Agent Designer from the left navigation.

    Agent Designer Navigation

  6. Select the Tools tab.

  7. Select Create New Tool.

  8. Select the API Tool.

  9. Select Add Tool.

  10. Enter the following:

    • Tool Name: [builderInitials] Parts API
    • Description: Retrieve cleansed and validated parts information from the ERP.

    Parts API Tool Details

  11. Select + Add Input Parameter.

  12. Enter the following:

    • Name: category
    • Description: Category of component
    • Type: String
    • Required: True
  13. Select Add Input Parameter.

    Category Parameter

  14. Select + Add Input Parameter.

  15. Enter the following:

    • Name: class
    • Description: Classification of component
    • Type: String
    • Required: True

    Class Parameter

  16. Select Add Input Parameter.

  17. Select Save & Continue.

  18. Configure the API Call:

    • Select Add Manually
    • Endpoint Base URL: https://c04-usa-east.integrate.boomi.com
    • Method: GET
    • Endpoint Path: /ws/rest/tools/parts
    • Query Parameters:
      • category: {{category}}
      • class: {{class}}
    • Authentication: Basic Authentication
      • Username: boomi_joel_davenport-XBUHTV.MOKSAY
      • Password: 7880eeac-4e46-4a03-b7a3-fd421fd5e20b
  19. Select Save & Continue.

  20. Select Deploy Tool.

  21. Select Deploy.

    Deploy Confirmation

success

Congratulations, you have successfully deployed your first AI Agentstudio Tool!

Building the PIM Classification API Tool

  1. Select Create New Tool.

  2. Select the API Tool.

  3. Select Add Tool.

    Add API Tool

  4. Enter the following:

    • Tool Name: [builderInitials] PIM Classification Data
    • Description: Retrieve parts metadata from the PIM system

    PIM Tool Details

  5. Select Save & Continue.

  6. Choose Add Manually under the Configuration:

    • Base URL: https://c04-usa-east.integrate.boomi.com
    • Method: GET
    • Endpoint Path: /ws/rest/tools/pimClassifications
    • Basic Authentication:
      • Username: boomi_joel_davenport-XBUHTV.MOKSAY
      • Password: 7880eeac-4e46-4a03-b7a3-fd421fd5e20b

    PIM Configuration

  7. Select Save & Continue.

  8. Select Deploy Tool.

    PIM Deploy Tool

  9. Select Deploy.

    Deploy Confirmation

success

Congratulations, you have successfully deployed your second AI Agentstudio Tool and are ready to create your first AI Agent!