Skip to main content

Part 1: Creating the API Tool for Email Notification

In this step, an existing API for sending email notifications will be added as an API Tool in Agentstudio, after which you will then attach the tool to the agent you will create in Part 3.

  1. Navigate to Agentstudio by clicking the AI button in the top right.
  2. In Agent Garden, navigate to Tools in the left navigation menu.

Create a New Tool

  1. Create a new tool:

    1. Add Tool type: API Tool

    2. Tool name: [builderInitials] Send Email Notification

    3. Description: Send email notification with error details and suggested resolutions.

    4. Add Input Parameter:

      • Name: Suggested Resolution
      • Description: Error details and suggested resolution. Be sure to escape all JSON characters that are included in this parameter as it will be sent into an API call.
      • Type: String
      • Required: True

      Input Parameters configuration

    5. Select Save & Continue to move to the Configuration section:

      • Select Add Manually.

      • Endpoint Base URL: https://c04-usa-east.integrate.boomi.com

      • Method: POST

      • Endpoint Path: /ws/rest/tools/sendEmail

      • Authentication: Basic Authentication

        • Username:
        boomi_joel_davenport-XBUHTV.MOKSAY
        • Password:
        7880eeac-4e46-4a03-b7a3-fd421fd5e20b
      • Request Type: JSON

      • Request Body:

        • Replace yourEmailAddress with your email.
        {
        "message": " {{Suggested Resolution}} ",
        "to": "yourEmailAddress",
        "subject": "Error Resolution"
        }
      • Select Save & Continue.

      API Tool configuration screen

    6. Select Deploy Tool.